GET
/
transactions
/
{id}
curl --request GET \
  --url https://base_url/api/v1/transactions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "2535af08-a139-4d0c-9827-1651e46dfbcf",
    "corporation_id": "b6d009b0-d174-463f-b030-94643c28e209",
    "transacted_at": "2023-12-25",
    "customer_details": {
      "shipping_address": {
        "address_line_1": "1776 Main St",
        "address_line_2": "Apt. #123",
        "address_line_3": "<string>",
        "postal_code": "90401",
        "city": "Santa Monica",
        "state": "CA",
        "country": "US"
      },
      "customer_id": "<string>"
    },
    "invoice_currency": "USD",
    "subtotal": 10.99,
    "discount": 0.99,
    "shipping_and_handling": 0,
    "total": 10.99,
    "line_items": {
      "items": [
        {
          "amount": 123,
          "quantity": 123,
          "tax_code": "TPP",
          "product_id": "<string>",
          "external_id": "<string>"
        }
      ]
    },
    "tax_collected": 123,
    "transaction_status": "LOCKED",
    "invoice_type": "SALE",
    "source_platform": "RAZORPAY"
  },
  "message": "Successfully fetched transaction."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The unique identifier of the transaction to fetch.

Response

200
application/json
Transaction fetch response
data
object
message
string
Example:

"Successfully fetched transaction."