Skip to main content
POST
/
api
/
commerce
/
merchant
/
payments
/
bulk-status
Check payment status for multiple orders
curl --request POST \
  --url https://api-beta.pepay.io/api/commerce/merchant/payments/bulk-status \
  --header 'Content-Type: application/json' \
  --header 'x-commerce-api-key: <api-key>' \
  --data '
{
  "orderIds": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "success": true,
  "data": [
    {
      "orderId": "<string>",
      "status": "<string>",
      "error": "<string>"
    }
  ]
}

Authorizations

x-commerce-api-key
string
header
required

Legacy alias for commerce-scoped API keys. Prefer x-api-key with scope=commerce.

Body

application/json
orderIds
string<uuid>[]
required

Array of order IDs to check

Maximum array length: 50

Response

200 - application/json

Bulk payment status retrieved

success
boolean
data
object[]