Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

ZAR: Capitec Pay and EFT

Accept ZAR with Capitec Pay or EFT using hosted checkout or your own interface.

Your customers can pay ZAR through Capitec Pay or EFT and receive crypto in their wallet. Choose Ivorypay hosted checkout or keep your own checkout interface. Bank authorization is required in both flows. PayShap is not currently available.

Experience
Initiation endpoint
Link to open

Ivorypay hosted checkout

POST /v1/onramp/checkout/initiate

data.checkoutUrl

Your own interface, existing customer

POST /v1/onramp/initiate

data.transferDetails.nextAction.url

Your own interface, create or retrieve customer

POST /v1/onramp

data.transferDetails.nextAction.url

Use your merchant API key on your backend. The usual customer eligibility, KYC, currency, token, and network requirements still apply.

Initiate from your backend

curl -X POST https://ramp-api.ivorypay.io/api/v1/onramp \
  -H "Authorization: $IVORYPAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "Amina",
    "lastName": "Mokoena",
    "email": "customer@example.com",
    "phoneNumber": "+27821234567",
    "walletAddress": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD68",
    "blockchain": "POLYGON",
    "token": "USDT",
    "fiatCurrency": "ZAR",
    "fiatAmount": 1000,
    "businessFeeInFiat": 0,
    "paymentBrand": "CAPITECPAY",
    "reference": "550e8400-e29b-41d4-a716-446655440000",
    "redirectUrl": "https://merchant.example/payment-return"
  }'
Field
Capitec Pay
EFT

paymentBrand

CAPITECPAY

EFT (also the default when omitted for ZAR)

phoneNumber

Required for CELLPHONE (the default): the customer's South African bank-linked number; send E.164, e.g. +27821234567

Optional

verifiedIdNumber

Optional merchant-verified 13-digit South African ID; requires explicit IDNUMBER selection, kept non-editable

Omit

capitecIdentifierType

CELLPHONE, IDNUMBER or ACCOUNTNUMBER; required with private ID/account fields

Omit

capitecIdNumber

Customer-entered 13-digit South African ID with IDNUMBER; not a verified assertion or TIN

Omit

capitecAccountNumber

10-digit Capitec consumer account with ACCOUNTNUMBER, string preserving leading zeroes

Omit

paymentBank

Omit

Omit; the customer selects their bank during authorization

redirectUrl

Optional HTTPS return URL without embedded credentials

Same

paymentBrand is only for ZAR. A request using another currency with bank-method fields is rejected. Available methods remain subject to your account's collection configuration.

Capitec Pay identifier selection

The ID and account selectors are part of this API/checkout update. Confirm rollout in your environment with Ivorypay before using them. Provider capability alone does not establish that an Ivorypay deployment is enabled; existing phone-only requests remain supported.

Choose exactly one Capitec Pay payment identifier. capitecIdentifierType selects it explicitly; the value is never inferred from its length. Existing requests containing only phoneNumber may omit the selector and keep the phone flow.

Selection
Required value
Meaning

CELLPHONE

phoneNumber

Customer's South African bank-linked phone number.

IDNUMBER

capitecIdNumber or merchant-only verifiedIdNumber

Exactly 13 digits: South African national ID, not a bank account, passport or TIN. capitecIdNumber is customer-entered and does not assert verification.

ACCOUNTNUMBER

capitecAccountNumber

Exactly 10 digits for this Capitec consumer-account flow. This is separate from the national ID.

The ID/account checkout form asks only for the selected identifier. Do not send both ID fields or combine an ID field with an account field. A verified ID is not an extra KYC field sent alongside a different phone/account proxy.

Capitec still requires the customer to approve payment in its app. The identifier locates the customer; it does not itself debit the account or prove payment.

Optional verified-ID flow

For the two merchant initiation endpoints, you may explicitly select IDNUMBER and supply verifiedIdNumber instead of selecting the phone identifier. Omit it to retain the phone flow in the request above. Verify the payer's identity first using a mechanism accepted by Capitec, then pass that exact 13-digit South African ID from your backend. The customer must not edit it during payment. The field asserts prior merchant verification; format checking alone does not verify identity. It is not a TIN, and no tax identifier is collected by this flow. Passport numbers are not supported.

Replace the ID placeholder with the actual verified value. Keep it out of URLs, browser inputs, analytics and logs. The accepted identity is retained privately and cannot be changed during recovery. It is not returned in customer status or webhook fields. The customer checkout-confirm endpoint cannot supply or replace a verified-ID assertion.

Existing merchants are not newly classified by using this feature. Capitec's processing-account rules still apply: if a verified ID is required for your account, phone, account and self-entered unverified-ID initiation are unavailable. Otherwise, supplying the ID remains optional. Bank authorization and the usual status/webhook completion checks are the same for both flows.

Open bank authorization from your interface

A direct initiation response includes the following fields (excerpt):

The token above is a placeholder. Display the returned transferDetails.amountPayable, currency, and fee fields, then provide a Continue to bank button that opens nextAction.url. Keep the full URL, including its #token fragment. The Ivorypay link opens the bank authorization step; your customer does not need to complete our full checkout first.

transferDetails.checkoutUrl remains available for the full Ivorypay hosted experience. Prefer nextAction when your interface is handling checkout. ZAR does not return a virtual account number.

Keep authorization links private to the customer and out of logs and analytics. Each link expires at nextAction.expiresAt, no later than the payment session. If a link expires, read Get On-Ramp Status on your server: a fresh nextAction is returned only while the payment remains eligible for authorization. Do not reuse a stale link after payment has been received or the transaction is terminal.

Confirm the result

Returning to redirectUrl, opening an authorization link, or receiving a successful initiation response does not confirm payment.

Use signed webhooks or GET /v1/onramp/status/:reference:

  • onramp.fiatPaymentReceived: fiat has arrived; crypto delivery may still be pending.

  • onramp.success: the on-ramp is complete and crypto has been delivered.

  • onramp.failed: handle the failure using the reported status and safe failure reason.

After a timeout or uncertain response, check the existing reference before creating another transaction. Do not treat a missing nextAction as success; inspect the transaction status.

Use hosted checkout instead

For the full hosted experience, use Initiate On-Ramp Checkout and redirect to data.checkoutUrl. The customer chooses the ZAR method in checkout; omit paymentBrand and paymentBank at checkout initiation. The hosted UI handles confirmation and bank authorization.

Keep your API key on your server. For your own interface, use the direct initiation endpoints above; do not implement the hosted customer's OTP and checkout-confirm flow as part of your merchant integration.

Customer checkout selection

The existing customer checkout-confirm route accepts capitecIdentifierType with phoneNumber, capitecIdNumber or capitecAccountNumber. It never accepts verifiedIdNumber or a request risk override. Select and enter one payment proxy before confirmation; the accepted terms and bank authorization remain unchanged on reload or recovery. Do not store private ID/account values in URLs, browser storage, analytics or logs. A trusted merchant-verified hosted payment continues with its retained bank action, without a customer-editable ID.

For the account option on either merchant initiation endpoint, send paymentBrand: "CAPITECPAY", capitecIdentifierType: "ACCOUNTNUMBER" and capitecAccountNumber: "<10_DIGIT_CAPITEC_ACCOUNT>", without either ID field.

Last updated