Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get transactions details.


Anchor
get-

transaction

transactions
get-

transaction

transactions

Get

Transaction

Transactions

GET /pay/v1/paytransactions/{transaction/{_id}

Headers

Content-Typestring
Content type.

Authorizationstring
Access token generated from create token request.

Params

transaction_idstring
Transaction ID returned as res value in return url after the Payment request.

Attributes

None

Request

Code Block
GET https://secure.blinkpayment.co.uk/api/pay/v1/pay/transactiontransactions/{transaction_id} HTTP/1.1
Content-Type: application/json
AuthenticationAuthorization: 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
        }
    } 
}