Notification for Sync Bank Transfer Results
同步銀行轉帳結果的通知
URI: {{ftl-mock-url}}/ftl/receiveBankTransferResultNtfy
METHOD: POST
BODY:
{
"result": {
"transactionId": "TXN123456789",
"txnChannel": "bankTransfer",
"user": {
"firstName": "Andy",
"lastName": "Wang",
"idNumber": "A123456789",
"email": "ftl-mock@example.com",
"mobile": "+1234567890"
},
"account": {
"id": "9876543210",
"ccy": "USD",
"balance": 4000.00
},
"targetAccount": {
"id": "1122334455",
"ccy": "USD",
"bankCode": "XXXBank",
"bankName": "XXX Bank"
},
"orgTxnAmt": 100,
"txnAmt": 99,
"fee": 1,
"remark": "Bank transfer was successful and credited to the target account."
},
"code": "0",
"message": "Transfer successful"
}
Request
| Parameter | Required | Type | Description |
|---|---|---|---|
| result | BankTransferResultVo | result | |
| code | string | error code | |
| message | string | error msg |
Response
| Parameter | Type | Description |
|---|---|---|
| result | boolean | result |
| code | string | error code |
| message | string | error msg |
| detail | string | detail error msg |
BankTransferResultVo
| Parameter | Type | Description |
|---|---|---|
| transactionId | string | Bank transaction ID, for query purposes |
| txnChannel | string | Channel, e.g., ATM/web_ATM |
| user | UserVo | Bank user |
| account | AccountVo | Bank account(from) |
| toAccount | AccountVo | Bank account(to) |
| orgTxnAmt | number | Original deposit amount |
| txnAmt | number | Actual deposit amount |
| fee | number | Transaction fee |
| remark | string | Remarks |
UserVo
| Parameter | Type | Description |
|---|---|---|
| idNumber | string | ID card/passport (key) |
| firstName | string | First name |
| lastName | string | Last name |
| string | ||
| mobile | string | Mobile phone number |
AccountVo
| Parameter | Type | Description |
|---|---|---|
| id | string | Account number |
| ccy | string | Currency |
| balance | number | Balance |
| bankName | string | Bank name |