Anchor | ||||
---|---|---|---|---|
|
Return Webhook
POST https://<return_url>?res=12345
Headers
Content-Typestring
Content type.
Authorizationstring
Access token generated from create token request.
Attributes
transaction_idstring
Transaction ID.
statusstring
Status.
notestring
Note.
Request
Code Block |
---|
POST https://my_domain/return?res=QkwtMDBGN0Q…..1Ng%3D%3D HTTP/1.1 { }Content-Type: application/json |
Response
Code Block |
---|
{HTTP/1.1 200 OK }Content-Type: application/json |
Anchor | ||||
---|---|---|---|---|
|
Notification Webhook
POST https://v1/pay/<notification_url>notification
Headers
Content-Typestring
Content type.
Authorizationstring
Access token generated from create token request.
Attributes
transactionnotification_idurlstring
Transaction IDNotification url.
statuspayment_intentstring
StatusPayment Intent.notestringNote.
Request
Code Block |
---|
POST https:///my_domain/notificationssecure.blinkpayment.co.uk/api/v1/pay/notification HTTP/1.1 Content-Type: application/json Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG... { "transactionnotification_idurl": 210542***, "status": "Capturedhttps://mydomain.com/notification", "notepayment_intent": "Status changed to Captured.pi_****" } |
Response
Code Block |
---|
HTTP/1.1 200 OK Content-Type: application/json { "message": "Success" } |