Request
[POST] /api/v1/transfer/verify-otp
Content-Type: application/json
x-client-id: <client_id>
x-signature: <signature>
x-timestamp: <timestamp>
Body
Field | Required | Type | Description |
---|---|---|---|
id | required | string | ID |
pass_code | required | string | Pass code |
Response
Content-Type: application/json
Body
Name | Type | Description |
---|---|---|
id | string | reference id not only |
transaction_number | string | Transaction number <-- using for get detail |
provider_transaction_number | string | Provider transaction number |
provider_payment_number | string | Provider payment number |
status | string | waiting_confirm,processing,success |
otp_status | string | pending - trx is processing at bank sidesuccess - trx is completely proceesedfailed - trx is failed fro some reasonsettling - trx is awaiting reconciliation on date T+1 |
remaining_try | int |
Errors
Status | Messsage |
---|---|
201 | Success |
401 | Unauthorized |
Example
[POST] /api/v1/transfer/verify-otp
Request
{
"id": "7fc5e181-aae3-4021-8ce0-6a53aa71990d",
"pass_code": "1828288371923881984"
}
Response
{
"message": {
"content": "Bạn vừa thực hiện tạo thành công %s"
},
"code": 102001,
"request_id": "f3fe9810-c9a9-4f56-93b1-b54ef6dbcac8",
"data": {
"id": "f0a446c3-7d7f-46f3-9062-f005dc3718d3",
"transaction_number": "TXN123456789", // <--- THIS USING TO GET TRANSACTION DETAIL BECAUSE THE ID REFERENCE TO MAIN
"provider_transaction_number": "PTXN987654321",
"provider_payment_number": "PPN123456789",
"status": "processing",
"otp_status": "pending",
"remaining_try": 3
}
}