Download OpenAPI specification:Download
API for managing the connection and transaction synchronization between Airwallex and ERP systems.
A user is redirected to this endpoint, upon clicking the connect button in the Airwallex app.
This endpoint accepts a base62-encoded connectParams payload passed as a query parameter as well as an HMAC-generated signature that verifies the authenticity and integrity of the request.
The signature is calculated using the HMAC algorithm with a shared secret key and the connectParams. Signature is base62 encoded.
The connectParams object that should be encrypted has the following structure:
The connectParams JSON should be base62 encoded before sending.
Upon successful connection, the client will be redirected:
https://airwallex_base_url/app/integrations/home/logeecom/connect?connectResult={connectResult}&signature={signature}
| platform required | string (accountingPlatform) Enum: "EXACT_ONLINE" "PRIORITY" "MYOB" "SAP_B1" The platform to which the user will integrate |
| signature required | string The signature used to validate the request |
required | object (connectParams)
|
Authentication is done using the signature in the X-AWX-Signature header. Signature is calculated using the HMAC algorithm based on the string {platform}:{id}:{timestamp}. Signature is base62 encoded.
| platform required | string (accountingPlatform) Enum: "EXACT_ONLINE" "PRIORITY" "MYOB" "SAP_B1" The platform to retrieve the connection information for. |
| id required | string <uuid> Example: 123e4567-e89b-12d3-a456-426614174000 Connection ID |
| timestamp required | string <unix-time> |
| X-AWX-Signature required | string |
{- "authType": "OAuth2",
- "oauth2Credentials": {
- "accessToken": "string",
- "refreshToken": "string",
- "accessTokenExpiresAt": "2019-08-24T14:15:22Z",
- "refreshTokenExpiresAt": "2019-08-24T14:15:22Z"
}, - "basicAuthCredentials": {
- "username": "string",
- "password": "string"
}
}Authentication is done using the signature in the X-AWX-Signature header. Signature is calculated using the HMAC algorithm based on the string {platform}:{id}:{timestamp}. Signature is base62 encoded.
| platform required | string (accountingPlatform) Enum: "EXACT_ONLINE" "PRIORITY" "MYOB" "SAP_B1" The platform to disconnect from. |
| id required | string <uuid> Example: 123e4567-e89b-12d3-a456-426614174000 Connection ID |
| timestamp required | string <unix-time> |
| X-AWX-Signature required | string |
This endpoint is used to push transactions for the connected currencies and wallets to a specific platform. Platform is one of the values from the AccountingPlatform schema.
Authentication is done using the signature in the X-AWX-Signature header. Signature is calculated using the HMAC algorithm based on the string {platform}:{id}:{walletId}:{currency}:{timestamp}. Signature is base62 encoded.
| platform required | string (accountingPlatform) Enum: "EXACT_ONLINE" "PRIORITY" "MYOB" "SAP_B1" The platform to push the transactions to. |
| id required | string <uuid> The connection ID. |
| timestamp required | string <unix-time> |
| X-AWX-Signature required | string |
| walletId | string <uuid> |
| currency | string |
Array of objects (transactionDto) The transactions to create. MAX 10 transactions per request. |
{- "walletId": "0ecad4a2-3549-43fb-807e-9ff033247480",
- "currency": "string",
- "transactions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "currency": "string",
- "time": "2019-08-24T14:15:22Z",
- "amount": "string",
- "balance": "string",
- "description": "string",
- "reference": "string",
- "payeeName": "string"
}
]
}{- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "isSuccessful": "string",
- "reason": "string"
}
]
}