Skip to main content
Version: v3

Get Order by ID

GET 

/payments/orders/:orderId

The "Get Order by ID" API allows to retrieve information for a specific order using its unique identifier. Use this endpoint to fetch details for a single order based on the provided order ID.

Request

Version stringrequired

API Version

Available optionsv3
orderId stringrequired

ID of the order that needs to be returned

locationId string

LocationId is the id of the sub-account.

altId stringrequired

AltId is the unique identifier e.g: location id.

application/json

Successful response

Schema
    _idstringrequired

    The unique identifier for the order.

    altIdstringrequired

    AltId is the unique identifier eg: location id.

    altTypestringrequired

    AltType is the type of identifier.

    contactIdstring

    Contact id corresponding to the order.

    currencystring

    Currency in which order was created.

    amountnumber

    Order value.

    statusstringrequired

    The status of the order (e.g., completed).

    liveModeboolean

    Order is in live / test mode.

    createdAtstring<date-time>required

    The creation timestamp of the order.

    updatedAtstring<date-time>required

    The last update timestamp of the order.

    fulfillmentStatusstring

    Fulfillment status of the order.

    contactSnapshotobject

    Contact details of the order.

    amountSummaryobject

    Amount details of the order.

    sourceobject

    Source details of the order.

    itemsstring[]

    Item details of the order.

    couponobject

    Coupon details of the order.

    trackingIdstring

    Tracking id of the order.

    fingerprintstring

    Fingerprint id of the order.

    metaobject

    Meta details of the order.

    markAsTestboolean

    Is test order.

    traceIdstring

    Trace id of the order.

    automaticTaxesCalculatedboolean

    Automatic taxes applied for the Order

    taxCalculationProviderobject

    Provider name for automatic tax calculation

    createdBystring

    User ID who created the order.