API Requests

Reversal API Request

Please note the Reversal Rules mentioned must be adhered to for the Reversal API call

971

Reversal API Request

Sample Request

Notification Payload for a Reversed Transaction

This notification will be sent to the HTTP notification URL as specified for the merchant on the Scan to Pay Portal.

{"transactionId":4071,"reference":"d21ef033-c62a-4eb5-86a6- 2670cf90bd56","amount":7.0000,"currencyCode":"ZAR","status":"REVERSED","code":"0347428061","clientContact ":{"clientContactId":127,"clientId":37,"firstName":"James","lastName":"Smith","country":"ZA","emailAddress":"ja [email protected]","phoneNumber":"27832006283"},"clientBilling":{"clientBillingId":261,"clientId":37,"alias":"Hom e","city":"TestCity","country":"ZA","countrySubdivision":"","line1":"1  Cottage ","line2":"Test","line3":"Address","postalCode":"2019"},"clientShipping":{"clientShippingId":197,"clientId":37,"alias": "Work","city":"TestCity","country":"ZA","countrySubdivision":"","line1":"1  Cottage ","line2":"Smith","line3":"Line3","postalCode":"2188","recipientName":"Tesyinf","recipientPhoneNumber":"2783123 5555"}}

Refund API Request

Please note the Refund rules mentioned must be adhered to for the Refund API call.

967

Refund API Request

Sample Request

Parameters

{
"amount": 10.01
}

Notification Payload for a Refund Transaction

{"transactionId":4683,"reference":"3aa8f9da-d7f6-4338-b329- ee5c28a47545","amount":2.0000,"currencyCode":"ZAR","status":"REFUNDED",”originalTransactionId”:4682}