Create a payment
Payments
Create a payment
Initiates a new payment.
POST
Create a payment
Headers
Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.
Example:
"Bearer eyJraWQ..."
API key for server-to-server flows, or the literal string NONE when authenticating via JWT.
Example:
"pcx_abc123_xxxx"
Body
application/json
Available options:
USD, NGN, GBP, EUR, KES, GHS, ZAR, RWF Example:
"NGN"
Available options:
bank_transfer, card, mobile_money, crypto, wallet Available options:
inbound, outbound, external Destination currency for cross-currency payments. When currency and target_currency differ, a valid org_rate_id is required.
Response
Payment created
Available options:
initiated, reviewed, confirmed, processing, pending, completed, failed, refunded, rejected, canceled Available options:
inbound, outbound, external Available options:
bank_transfer, card, mobile_money, crypto, wallet