With Peach payments, you can accept EFTSecure, Masterpass, Mobicred and Cards using our Hosted payments page.

See below article about the hosted payment page - It is called peach payments Checkout.


What if you don't like the redirect? Are there any other integration options where the customer stays within your website to complete their payment?


With the peach payments Switch, You can accept MASTERPASS, MOBICRED, EFTSECURE by doing a server to server integration.

See below EXAMPLE:

Step 1: Server to Server Request.

You do a server to server request to get redirect parameters

NB: Depending on the payment brand you have been configured for, you can set paymentBrand to EFTSecure, MASTERPASS, MOBICRED, MPESA or other available payment methods

curl --location --request POST 'https://testapi.peachpayments.com/v1/payments/' \

--header 'Content-Type: application/x-www-form-urlencoded' \

--data-urlencode 'authentication.userId=c3f785e5201b11eb93d502d14de18c0c' \

--data-urlencode 'authentication.password=3RJf5G71tLYFvoZN6MVlPgA8bISXBn' \

--data-urlencode 'authentication.entityId=8ac7a4c9759cccfb01759d20287a01f4' \

--data-urlencode 'merchantTransactionId=PeachTest1234' \

--data-urlencode 'amount=1.00' \

--data-urlencode 'currency=ZAR' \

--data-urlencode 'paymentBrand=EFTSECURE' \

--data-urlencode 'paymentType=DB' \

--data-urlencode 'shopperResultUrl=https://www.yourredirecturl.com'

Response: The response contains redirect parameters

"redirect": {
        "url": "https://eft.ppay.io/eft?payment_key=ee12963244cf8c0dd0f6e8657dbb3db8",
        "method": "POST",
        "parameters": [
                "name": "amount",
                "value": "1.00"
                "name": "connector",
                "value": "EFTSECURE"
                "name": "currency",
                "value": "ZAR"
                "name": "transaction",
                "value": "108c4542993a45ab859bfa464f25ea4a"

Step 2: Render HTML with Redirect Parameters:

Use the below sample html to display payments page to customer.

<!DOCTYPE HTML><form name="eftForm" action="https://eft.ppay.io/eft?payment_key=ee12963244cf8c0dd0f6e8657dbb3db8" method="POST" accept-charset="utf-8">

    <input type="hidden" name="amount" value="1.00" />

    <input type="hidden" name="connector" value="EFTSECURE" />

    <input type="hidden" name="currency" value="ZAR" />

    <input type="hidden" name="transaction" value="108c4542993a45ab859bfa464f25ea4a" />

    <input type="submit" value="SubmitButton"/>



Step 3: Get Transaction status and Redirect the user to the shopperResult URL.

curl --location --request GET 'https://testapi.peachpayments.com/v1/payments/108c4542993a45ab859bfa464f25ea4a?authentication.userId=c3f785e5201b11eb93d502d14de18c0c&authentication.password=3RJf5G71tLYFvoZN6MVlPgA8bISXBn&authentication.entityId=8ac7a4c9759cccfb01759d20287a01f4' \
--header 'Content-Type: application/x-www-form-urlencoded'

Documentation attached.

Please forward any questions to support@peachpayments.com