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) andshopperResultUrl
are 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) andshopperResultUrl
are required. - For Mobicred,
virtualAccount.accountId
(the customer's Mobicred email address),virtualAccount.password
(the customer's Mobicred password), andshopperResultUrl
are 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), andshopperResultUrl
are required. High-risk merchants must provide the verifiedIDNUMBER
and cannot use theCELLPHONE
orACCOUNTNUMBER
account types. - For RCS cards,
card.number
(the customer's RCS card number) andshopperResultUrl
are required. - For Payflex, ZeroPay, Scan to Pay, Peach EFT, Float, and Happy Pay the
shopperResultUrl
is required.
For more information, see the documentation and for sample calls, see our public Postman collection.