- 21 Apr 2022
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
Refund Web-Service Push Notification
- Updated on 21 Apr 2022
- 1 Minute to read
- Contributors
- Print
- DarkLight
- PDF
This callback notification will update the merchant once a refund transaction is processed for each pending refund request. The notification will be initiated from SmartLink to the merchant, as there will be no need for the merchant to issue any request to receive this notification, only setting up the interface which will receive this notification. This message is sent as a SOAP Message web-service, based on the provided WSDL file, containing the below parameters.
WSDL
Output Parameters
Parameter | Description |
messageId required | Numeric value representing the refund message ID, this value will always be (4). This value will be used only on refund notification to distinguish it from payment notification.
|
merchantId required | Alphanumeric value representing the merchant Id.
|
invoiceId required | Alphanumeric value representing the Invoice ID.
|
invoiceStatus required | Alphanumeric value representing the invoice status. Possible values are:
|
amount required | A numeric value represents the invoice amount that is sent from the merchant upon invoice creation. It will be ISO formatted with no decimal point.
|
currencyIsoCode required | The numeric ISO Code of the currency for the invoice. This value represents the currency ISO code sent by the merchant upon invoice creation
|
rrn required | The Reference Retrieval Number of the refund.
|
approvalCode required | The Approval code for the refund.
|
refundAmount required | A numeric value represents the refunded amount. It will be ISO formatted with no decimal point.
|
WS Authentication Parameters
The below parameters will be included within the HTTP authorization request header as a basic authentication and in the header of the SOAP message.
Parameter | Description |
username optional | An Alphanumeric value representing the username Provided by the merchant.
|
password optional | An Alphanumeric value password provided by the merchant.
|