Skip to main content

OrderListResponse

successboolean
Example: true
data object[]
  • Array [
  • orderIdstring

    Platform's internal order ID (starts with ORD_)

    Example: ORD_1701234567890_abc123
    transactionIdstring

    Internal transaction ID (starts with TXN_)

    Example: TXN_1701234567890_789xyz
    externalOrderIdstring

    Your order ID (if provided during creation)

    Example: ORD-12345
    accessTokenstring

    Secure token for accessing payment page

    amountnumber

    Order amount in main currency unit (e.g. 100.00 = $100 / ₹100 / €100). JPY has no decimals.

    Example: 100
    currencystring

    ISO 4217 currency code (one of USD, EUR, GBP, INR, AED, AUD, CAD, JPY, SAR, USDT).

    Possible values: [USD, EUR, GBP, INR, AED, AUD, CAD, JPY, SAR, USDT]

    Example: USD
    statusstring

    Order status:

    • created: Order created, awaiting payment
    • pending: Payment initiated, awaiting confirmation
    • processing: Payment being processed
    • success: Payment completed successfully
    • failed: Payment failed
    • cancelled: Order cancelled by merchant
    • expired: Order expired (default: 48 hours)
    • refunded: Payment was refunded

    Possible values: [created, pending, processing, success, failed, cancelled, expired, refunded]

    availablePaymentMethodsstring[]

    Payment methods available for this order

    Example: ["crypto","card"]
    selectedPaymentMethodstring

    Payment method selected by customer (after selection)

    Possible values: [crypto, card, wallet]

    customer object

    Customer details

    namestring

    Customer's full name

    Example: John Doe
    emailstring<email>

    Customer's email address

    Example: john@example.com
    phonestring

    Customer's phone number

    Example: +1234567890
    metadata object
    property name*any
    descriptionstring
    fees object

    Fee breakdown (populated after successful payment)

    platformFeenumber

    Platform fee amount

    netAmountnumber

    Amount merchant receives after fees

    feeSourcestring

    Which fee configuration was applied

    expiresAtstring<date-time>

    Order expiry timestamp

    completedAtstring<date-time>

    Payment completion timestamp

    failureReasonstring

    Reason for payment failure (if failed)

    cancellationReasonstring

    Reason for cancellation (if cancelled)

    createdAtstring<date-time>
    updatedAtstring<date-time>
  • ]
  • pagination object
    pageinteger
    Example: 1
    limitinteger
    Example: 50
    totalinteger

    Total number of items

    Example: 150
    totalPagesinteger
    Example: 3
    OrderListResponse
    {
    "success": true,
    "data": [
    {
    "orderId": "ORD_1701234567890_abc123",
    "transactionId": "TXN_1701234567890_789xyz",
    "externalOrderId": "ORD-12345",
    "accessToken": "string",
    "amount": 100,
    "currency": "USD",
    "status": "created",
    "availablePaymentMethods": [
    "crypto",
    "card"
    ],
    "selectedPaymentMethod": "crypto",
    "customer": {
    "name": "John Doe",
    "email": "john@example.com",
    "phone": "+1234567890"
    },
    "metadata": {},
    "description": "string",
    "fees": {
    "platformFee": 0,
    "netAmount": 0,
    "feeSource": "string"
    },
    "expiresAt": "2024-07-29T15:51:28.071Z",
    "completedAt": "2024-07-29T15:51:28.071Z",
    "failureReason": "string",
    "cancellationReason": "string",
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }
    ],
    "pagination": {
    "page": 1,
    "limit": 50,
    "total": 150,
    "totalPages": 3
    }
    }