Skip to main content

Base URL

https://api.pcxpay.com/v1

Services

Each PCX service owns a distinct URL namespace. The table below maps services to their path prefixes.
ServicePrefixDescription
Organizations/organizationsOrg lifecycle, KYB, members, rates
Payments/paymentsInitiate, confirm, and query payments
Transactions/transactionsTransaction records and history
Beneficiaries/beneficiariesSaved payout recipients
Virtual Accounts/virtual-accountsMulti-currency account issuance
Exchange Rates/exchange-ratesRate queries and org-level rate configs
Payment Links/payment-linksShareable payment links
Notifications/notificationsIn-app notification management
Webhooks/webhooksWebhook endpoint management

Response envelope

All responses follow a consistent envelope:
{
  "status": "success" | "error",
  "message": "Human-readable message",
  "data": { }
}
Paginated responses include a last_evaluated_key for cursor-based pagination:
{
  "status": "success",
  "data": { "items": [...] },
  "last_evaluated_key": { "pk": "...", "sk": "..." }
}
Pass last_evaluated_key as a query parameter in the next request to fetch the next page.

Error codes

HTTP StatusMeaning
400Validation error — check request body
401Missing or invalid auth token
403Forbidden — insufficient permissions
404Resource not found
409Conflict — e.g. duplicate or already-revoked resource
500Internal error — contact support if persistent