Create a payment
Payments
Create a Payment
Initiate a mobile money debit on the customer’s phone.
POST
Create a payment
Authorizations
API key starting with sk_live_ or sk_test_
Headers
Unique key to prevent duplicate payments
Body
application/json
Amount in centavos
Required range:
1 <= x <= 100000000Example:
10000
Mobile money operator
Available options:
CVMOVEL, UNITEL_TMAIS, MOCK Customer's phone number
Example:
"+2389001234"
ISO currency code
Available options:
CVE, AOA Your reference ID
Arbitrary key-value metadata (max 50 keys)
Response
Payment created
Example:
"pi_abc123"
Amount in centavos
Example:
"10000"
ISO currency code
Available options:
CVE, AOA Example:
"200"
Example:
"9800"
Mobile money operator
Available options:
CVMOVEL, UNITEL_TMAIS, MOCK Example:
"+2389001234"
Available options:
CREATED, OPERATOR_PENDING, USER_CONFIRMING, DEBITED, SETTLED, FAILED, EXPIRED, REFUNDED, PARTIALLY_REFUNDED, CANCELLED Arbitrary key-value metadata (max 50 keys)