Anchor | ||||
---|---|---|---|---|
|
Get Transactions
GET /pay/v1/transactions/{transaction_id}
Headers
Content-Typestring
Content type.
Authorizationstring
Access token generated from create token request.
Params
transaction_idstring
Transaction ID returned as base64_encoded res
value in return url after the Payment request.
Attributes
None
Request
Code Block |
---|
GET https://secure.blinkpayment.co.uk/api/pay/v1/transactions/{transaction_id} HTTP/1.1 Content-Type: application/json Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG... { } |
Response
Code Block |
---|
HTTP/1.1 200 OK
Content-Type: application/json
{
"data": {
"transaction_id": "BL-0023C7F155",
"status": "Pending Submission",
"message": "Pending Submission",
"amount": 1.1,
"currency": "GBP",
"payment_source": "Direct Debit",
"customer_name": "Test User",
"customer_email": "testuser77888@yopmail.com",
"merchant_data": {
"order_id": 1234567
}
}
} |