GET
/
transactions
curl --request GET \
  --url https://base_url/api/v1/transactions \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "transactions": [
      {
        "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"
      }
    ],
    "cursor": "<string>",
    "total_transactions": 123
  },
  "message": "Successfully fetched transactions."
}

Authorizations

Authorization
string
header
required

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

Query Parameters

corporation_id
string
required

The unique identifier of the corporation for which to retrieve data.

cursor
string

Cursor for pagination

limit
integer
default:
10

Number of items to return per page

Required range: 1 <= x <= 100

Response

200
application/json
List of transactions
data
object
message
string
Example:

"Successfully fetched transactions."