Anchor | ||||
---|---|---|---|---|
|
Get Transaction
GET /v1/pay/transaction/{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/v1/pay/transaction/{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"
}
} |