Create transaction
Request Header | Authorization | |
Authentication | Yes |
Create transaction
Request Header | Authorization | |
Authentication | Yes |
Request Parameter
Field | DataType | Required | Description |
affiliateRefId | bigint | Yes | affiliate ref id |
senderId | bigint | Yes | sender id |
receiverId | bigint | Yes | receiver id |
receiverAccountId | bigint | Yes | receiver account id |
bankCode | string | Yes | -bank code |
sendingCurrencyCode | string | Yes | -sending currency code -Alpha-3 codes from ISO 4217
-AUD only |
receivingCurrencyCode | string | Yes | -receiving currency code -Alpha-3 codes from ISO 4217
-THB only |
sendingAmount | decimal | Yes | sending amount |
exchangeRate | decimal | Yes | exchange rate |
serviceCharges | decimal | Yes | service charges |
receivingAmount | decimal | Yes | receiving amount |
transferPurposeId | integer | Yes | -transfer purpose id |
sourceOfFunds | string | Yes | source of funds |
transactionDate | datetime | Yes | -transaction date |
Response Parameter
Field | DataType | Description |
status | string | response status |
message | string | response message |
payload | ||
id | bigint | transaction id |
refNo | string | transaction reference no |
transactionStatusId | integer | transaction status id |
transactionStatusName | string | transaction status |
{
"affiliateRefId": "da167128-eaa0-46b0-8661-7e48c9f638ea",
"senderId": 1,
"receiverId": 1,
"receiverAccountId": 1,
"bankCode": "002",
"sendingCurrencyCode": "AUD",
"receivingCurrencyCode": "THB",
"sendingAmount": 10.0000,
"exchangeRate": 25.0000,
"serviceCharges": 0.0000,
"receivingAmount":250,
"transferPurposeId": 1,
"sourceOfFunds": "Salary",
"transactionDate": "2023-02-02T16:27:09.960216Z"
}
Status Code | Error Description |
000 | Success |
Status Code | Error Description |
101 | General/Process error (see message) |
301 | Permission denined |
401 | Unauthorized |
500 | Internal server error (see message) |
{
"status": "000",
"message": "Success",
"payload": {
"id": 160,
"affiliateRefId": "da167128-eaa0-46b0-8661-7e48c9f638ea",
"refNo": "T2402140000019",
"createdOn": "2024-02-14T17:58:38.0707899Z",
"transactionStatusId": 1,
"transactionStatusName": "Initiated"
}
}