Get a Single Transaction

he following APIs returns you the details of a single transaction/order.

GET /transactions/{txnId}

Headers

Params

Response

{
  "message": "string",
  "statusCode": 200,
  "data": {
    "txnId": "string",
    "orderId": "string",
    "orderItemId": "number",
    "txnType": 0,
    "product": {
      "id": "string",
      "title": "string"
    },
    "key": {
      "id": "string"
    },
    "county": "string",
    "amount": "number",
    "commission": "number",
    "campaignFee": "number",
    "vatAmount": "number",
    "txnDate": "string"
  }
}

Last updated