post https://testapi-v2.peachpayments.com/payments
Initiate a debit transaction.
Certain parameters are mandatory 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 mandatory. - For M-PESA,
virtualAccount.accountId
(the customer's 12-digit phone number) is mandatory. 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) is mandatory. - For Mobicred,
virtualAccount.accountId
(the customer's Mobicred email address) andvirtualAccount.password
(the customer's Mobicred password) are mandatory. - For Capitec Pay,
virtualAccount.type
(the customer's identifier type;IDNUMBER
,CELLPHONE
, orACCOUNTNUMBER
) andvirtualAccount.accountId
(the customer's 13-digit ID number, 10-digit phone number starting with0
, or up-to 64-digit, alphanumeric bank account number) are mandatory. High-risk merchants must provide the verifiedIDNUMBER
and cannot use theCELLPHONE
orACCOUNTNUMBER
account types. - For EFTsecure, Payflex, ZeroPay, Scan to Pay, M-PESA, blink by Emtel, Mobicred, Capitec Pay, Nebank Direct EFT, and MCB Juice, the
shopperResultUrl
is mandatory.
For more information, see the documentation and for sample calls, see our public Postman collection.