Anchor | ||||
---|---|---|---|---|
|
Return Webhook
POST GET https://<return_url>?res=12345
Headers
Content-TypestringContent type is JSON.
Attributes
transaction_idstring
Transaction id.statusstring
The new status of the transaction.notestring
Notification note.merchant_datajson
JSON string of all the optional data sent by the merchant.
Request
Code Block |
---|
POSTGET https://my_domain/return?res=BL-5TYAU56 HTTP/1.1 Content-Type: application/json { "transaction_id": "BL-****", "status": "Captured", "note": "Status changes to Captured", "merchant_data": { "order_id": 1234567 } } |
Response
Code Block |
---|
HTTP/1.1 200 OK
Content-Type: application/json
{
} |
Anchor | ||||
---|---|---|---|---|
|
Notification Webhook
POST https://<notification_url>
Headers
Content-Typestring
Content type is JSON.
Attributes
transaction_idstring
Transaction id.
statusstring
The new status of the transaction.
notestring
Notification note.
merchant_datajson
JSON string of all the optional data sent by the merchant.
Request
Code Block |
---|
POST https://my_domain/notification HTTP/1.1 Content-Type: application/json { "transaction_id": "BL-****", "status": "Captured", "note": "Status changes to Captured", "merchant_data": { "order_id": 1234567 } } |
Response
Code Block |
---|
HTTP/1.1 200 OK
Content-Type: application/json
{
} |