Redirect response

When a customer completes checkout, if the result is successful, uncertain, or cancelled, Peach Payments POSTs the response variables while redirecting the user to the shopperResultUrl using a POST request.

The following examples show the successful response; but all the responses are the same as the webhooks:

amount=14.99&checkoutId=0fa125d002044484b0fbfb43c1c5c554&currency=ZAR&id=1d6c60ed0dfd4a6a9a26a13922b65766&merchantInvoiceId=56546546456546&merchantTransactionId=UAT12345&paymentBrand=MOBICRED&paymentType=DB&result.code=000.100.110&result.description=Request+successfully+processed+in+%27Merchant+in+Integrator+Test+Mode%27&resultDetails.AcquirerResponse=Approved&resultDetails.ConnectorTxID1=20001694247&resultDetails.ExtendedDescription=Purchase+Approved+OK&timestamp=2019-01-25T08%3A27%3A46.916519Z&signature=49d3166063b4d881b50af0b4648c1244bfa9890a53ed6bce6d24b610777
amount=10.00&card.bin=411111&card.expiryMonth=01&card.expiryYear=2023&card.holder=msdvnlds&card.last4Digits=1111&checkoutId=c01b2f50ab394661a564931d5ef0d066&currency=ZAR&id=8ac7a4a184123d86018413e098f32192&merchant.name=SB+Peach&merchantTransactionId=test123456&paymentBrand=VISA&paymentType=DB&registrationId=8ac7a4a184123d86018413e0987d217f&result.code=000.100.110&result.description=Request+successfully+processed+in+%27Merchant+in+Integrator+Test+Mode%27&resultDetails.AcquirerResponse=0&signature=5246b99b7a7cd8afa8d4e577297af3fd3daf519d9976927664d9811ad10fa7be&timestamp=2022-10-26T10%3A40%3A02Z

📘

The API signs all redirect requests with a signature using the secret token as the key.