Redirect response
After the user has completed the payment, Peach Payments POSTs the response variables while redirecting the user to the shopperResultUrl
.
{
"amount": "14.99",
"checkoutId": "0fa125d002044484b0fbfb43c1c5c554",
"currency": "ZAR",
"id": "1d6c60ed0dfd4a6a9a26a13922b65766",
"merchantInvoiceId": "5654-654645-65464",
"merchantTransactionId": "UAT",
"paymentBrand": "MOBICRED",
"paymentType": "DB",
"result.code": "000.100.110",
"result.description": "Request successfully processed in 'Merchant in Integrator Test Mode",
"resultDetails.AcquirerResponse": "Approved",
"resultDetails.ConnectorTxID1": "20001694247",
"resultDetails.ExtendedDescription": "Purchase Approved OK",
"timestamp": "2019-01-25T08:27:46.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": "test-123456",
"paymentBrand": "VISA",
"paymentType": "DB",
"registrationId": "8ac7a4a184123d86018413e0987d217f",
"result.code": "000.100.110",
"result.description": "Request successfully processed in 'Merchant in Integrator Test Mode'",
"resultDetails.AcquirerResponse": "0",
"signature": "5246b99b7a7cd8afa8d4e577297af3fd3daf519d9976927664d9811ad10fa7be",
"timestamp": "2022-10-26T10:40:02Z"
}
The API signs all redirect requests with a signature using the secret token as the key.
Updated 22 days ago