m2pfintech
API LibraryCard Order Management

Sync PENDING Card Order Statuses from CMS

Fetches all orders that are in PENDING status, calls the CMS status API for each, and updates the local status. This is a bulk synchronization endpoint used to keep local order statuses in sync with CMS processing. CMS returns PENDING, PROCESSED, or FAILED for each order.

POST
/card-order/sync-pending-status

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.

Response Body

application/json

curl -X POST "https://api.dcms.example.com/v1/card-order/sync-pending-status" \  -H "tenant: ACME_BANK"
{
  "result": true,
  "exception": null,
  "pagination": null
}