Skip to content
ChainPesaDocsTest mode
Dashboard

API reference · Payments

List payments

Your 50 most recent payments, newest first.

GET/api/v1/payments

Requires the payments:read scope. Returns 200 on success.

Common errors

StatusCodeWhen
401unauthorizedBad or revoked key, or a disallowed address
403forbiddenThe key lacks the scope
429rate_limitedSlow down; see Retry-After

All error codes

Request
curl https://dev.chainpesa.com/api/v1/payments \
  -H "Authorization: Bearer $CHAINPESA_KEY"
Response 200
{
  "object": "list",
  "data": [
    {
      "id": "pay_Qm3x9Tq1LbZa",
      "object": "payment",
      "status": "pending",
      "mode": "test",
      "amount": "250.000000",
      "paid_amount": "0.000000",
      "currency": "USDT",
      "network": "TRON",
      "address": "TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE",
      "settle_to": null,
      "reference": "order_1042",
      "price": null,
      "checkout_url": "https://dev.chainpesa.com/pay/pay_Qm3x9Tq1LbZa",
      "expires_at": "2027-01-12T10:45:00.000Z",
      "created_at": "2027-01-12T09:45:00.000Z"
    }
  ]
}
Send a test request

Runs against your test data. Your key is not saved and is cleared when you leave the page.