Confirm a payment
Payments
Confirm a Payment
Simulate user confirmation (test/sandbox only).
POST
Confirm a payment
This endpoint is only available in sandbox mode with
sk_test_ API keys.Authorizations
API key starting with sk_live_ or sk_test_
Path Parameters
Response
200 - application/json
Payment confirmed
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)