m2pfintech
API LibraryCard Order Management

Get Card Order Status

Retrieves the current status of a card order including details about each product in the order. Shows the overall order status as well as individual product-level statuses. Common statuses include PENDING, PROCESSED, SUCCESS, and FAILED.

POST
/card-order/fetchStatus

Authorization

tenantAuth
tenant<token>

The DCMS tenant name for multi-tenant isolation. Every API call must include this header to identify the client organization.

In: header

Header Parameters

tenant*string

The DCMS client or tenant name for multi-tenant isolation.

Request Body

application/json

cardOrderId?string

Card order identifier to check status for.

Response Body

application/json

curl -X POST "https://api.dcms.example.com/v1/card-order/fetchStatus" \  -H "tenant: ACME_BANK" \  -H "Content-Type: application/json" \  -d '{    "cardOrderId": "TEST_PGKKIT_ORDER"  }'
{
  "result": {
    "cardOrderName": "1763369938",
    "status": "PENDING",
    "tenantName": "RUSH_9",
    "productDetails": [
      {
        "binNumber": 87654322,
        "cardType": "PHYSICAL",
        "corporateName": "RUSH",
        "noOfCard": 5,
        "productId": "01",
        "status": "PENDING"
      },
      {
        "binNumber": 87654322,
        "cardType": "PHYSICAL",
        "corporateName": "RUSH",
        "noOfCard": 5,
        "productId": "02",
        "status": "PENDING"
      }
    ]
  },
  "exception": null,
  "pagination": null
}