post
https://testapi-v2.peachpayments.com/payments
Initiate a debit transaction.
Certain parameters are required for specific payment methods and certain parameters act differently depending on the payment method.
- For PayShap,
virtualAccount.bank(the customer's bank:FIRSTNATIONALBANK,DISCOVERYBANK,NEDBANK,TYMEBANK, orABSABANK),virtualAccount.type(the customer's identifier type:CELLPHONE),virtualAccount.accountId(the customer's phone number in the+27-123456789format), andshopperResultUrlare required. - For Capitec Pay,
virtualAccount.type(the customer's identifier type:IDNUMBER,CELLPHONE, orACCOUNTNUMBER),virtualAccount.accountId(the customer's 13-digit ID number, 10-digit phone number starting with0, or up to 64-digit, alphanumeric bank account number), andshopperResultUrlare required. High-risk merchants must provide the verifiedIDNUMBERand cannot use theCELLPHONEorACCOUNTNUMBERaccount types. - For Peach EFT, the
shopperResultUrlis required. Absa categorises merchants as either low risk or high risk. Low-risk merchants support paying with ID; high-risk merchants must supply a merchant-verified ID that the customer cannot edit. For high-risk merchants using the Payments API, supply the verified ID invirtualAccountas an array. - For 1Voucher,
customer.mobile(the customer's phone number for receiving change vouchers and refunds) andvirtualAccount.password(the voucher PIN) are required. - For Mobicred,
virtualAccount.accountId(the customer's Mobicred email address),virtualAccount.password(the customer's Mobicred password), andshopperResultUrlare required. - For RCS cards,
card.number(the customer's RCS card number) andshopperResultUrlare required. - For M-PESA,
virtualAccount.accountId(the customer's 12-digit phone number) andshopperResultUrlare required. M-PESA only accepts integer amounts, not decimals, so round up your amount. - For blink by Emtel and MCB Juice,
virtualAccount.accountId(the customer's 8-digit phone number) andshopperResultUrlare required. - For Nedbank Direct EFT, Payflex, ZeroPay, Float, Happy Pay, Scan to Pay, MoneyBadger, and MauCAS, the
shopperResultUrlis required.
For more information, see the documentation, and for sample calls, see our public Postman collection.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…