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 1Voucher,
customer.mobile(the customer's phone number for receiving change vouchers and refunds) andvirtualAccount.password(the voucher PIN) are 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 Mobicred,
virtualAccount.accountId(the customer's Mobicred email address),virtualAccount.password(the customer's Mobicred password), 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 RCS cards,
card.number(the customer's RCS card number) andshopperResultUrlare required. - For PayShap,
virtualAccount.bank(the customer's bank;DISCOVERYBANK,NEDBANK, orTYMEBANK),virtualAccount.type(the customer's identifier type;CELLPHONE),virtualAccount.accountId(the customer's phone number in the+27-123456789format), andshopperResultUrlare required. - For Payflex, ZeroPay, Scan to Pay, Peach EFT, Float, Happy Pay, MoneyBadger, and MauCAS the
shopperResultUrlis required.
For more information, see the documentation and for sample calls, see our public Postman collection.