Orders

List all orders

Returns a list of your orders. The orders are returned sorted by creation date, with the most recent order appearing first.

get/api/v1/orders

Request

  • Base URL
    https://api.crossborder.jiopay.co.in
  • URL
    https://api.crossborder.jiopay.co.in/api/v1/orders
  • Auth
    HTTP bearer

Query parameters

customer_idstring
Example:cust_E602dMzgjpDC

Orders of customer to filter

status'active' | 'paid' | 'failed' | 'action_required' | 'under_review' | 'expired'

The status of the Order.

Status of order to filter

request_idstring
Example:unique_order_request_id_123

Filter orders by the merchant-provided idempotency key.

beforestring
Example:2025-02-18T12:03:44Z

ISO-8601 timestamp in UTC to filter resources created before this time. Use this to avoid the page drift issue. See Pagination parameters for more details.

afterstring
Example:2025-01-18T12:03:44Z

ISO-8601 timestamp in UTC to filter resources created after this time. Use this to avoid the page drift issue. See Pagination parameters for more details.

per_pageinteger
Example:20

Number of resources per page. Should be between 1 and 100.

pageinteger
Example:1

Page number for pagination. Starts from 1. Get the next page number from the next field in the response.

Response

OK

Example response

{
  "data": [
    {
      "id": "order_678a4c88hpAjf",
      "customer_id": "cust_E602dMzgjpDC",
      "document_id": "doc_nYUqLpuYQ0M8",
      "currency": "USD",
      "amount": 1000,
      "purpose_code": "P1401",
      "invoice_number": "RG12FF590",
      "invoice_description": "Payment requested for services provided",
      "invoice_amount": 1000,
      "reference_number": "R0001",
      "price_id": "price_E602dMzgjpDC",
      "notes": {
        "invoice_ref": "INV-2026-001",
        "project": "Alpha"
      },
      "bank_account_details": {
        "account_number": "1234567890",
        "bic_primary": "HDFCINBBDEL",
        "bic_secondary": "HDFC0001097",
        "bank_customer_id": "7189204715"
      },
      "created_at": "2021-06-01T12:00:00Z",
      "updated_at": "2021-06-01T12:00:00Z",
      "request_id": "unique_order_request_id_123",
      "rfi_documents": [
        {
          "rfi_doc_id": "rfidoc_123",
          "name": "Passport"
        }
      ]
    }
  ],
  "page_meta": {
    "current": 2,
    "previous": 1,
    "next": 3,
    "per_page": 20,
    "pages": 10,
    "count": 200
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.