Skip to main content
GET
/
api
/
commerce
/
merchant
/
payments
/
{orderId}
/
status
Check payment status for an order
curl --request GET \
  --url https://api-beta.pepay.io/api/commerce/merchant/payments/{orderId}/status \
  --header 'x-commerce-api-key: <api-key>'
{
  "success": true,
  "data": {
    "orderId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "invoiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "pending",
    "orderStatus": "<string>",
    "customerId": "<string>",
    "amount": 123,
    "paidAt": "2023-11-07T05:31:56Z",
    "paymentDetails": {
      "network": "ethereum",
      "token": "USDC",
      "amount": 123,
      "txHash": "<string>",
      "walletAddress": "<string>"
    }
  }
}

Authorizations

x-commerce-api-key
string
header
required

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

Path Parameters

orderId
string<uuid>
required

Order ID to check payment status

Response

Payment status retrieved successfully

success
boolean
Example:

true

data
object