InitiateRefund
Usage
Initiates a refund request for processing by Debitsuccess.Â
An Order Number and Amount To Refund will be supplied as parameters. The Amount to refund can be any value up to the total amount collected by Debitsuccess to date. There will be a service fee charged for the refund.
Parameters
Name | Data Type | Length | Description | |
---|---|---|---|---|
User | ||||
| String | Required | Provided by Debitsuccess | |
| String | Required | Provided by Debitsuccess | |
RequestInitiator | String | 100 | Optional | Optional – allows requesting user to be logged |
AccountReferenceNo | String | 15 | Optional* | Debitsuccess account reference |
ExternalAccountReferenceNo | String | 50 | Optional* | External account reference |
Amount | Decimal (10, 2) | Required | Amount to refund | |
Description | String | 4000 | Required | Reason for refund |
ExternalRefundIdentifier | String | 50 | Optional | Unique identifier used in GetRefundStatus to track refund status, must be unique to Account Allowed characters:
|
* At least one of the following parameters must be supplied: AccountReferenceNo, ExternalAccountReferenceNo
ResponseÂ
Name | Data Type | Description |
---|---|---|
DateCreated | DateTime | Date/time message was processed |
Id | String | Unique ID for the message |
ResponseNotes () | Collection of validation messages | |
| String | |
| String | |
| Enum | Error, Warning, Info |
Status | Enum | Failed, Succeed, Unknown |
ExternalRefundIdentifier | String | Returns either
|
RefundRequestNumber | Integer | ID for refund |
Error Messages
Type | Error Code | Error Message | Â |
---|---|---|---|
Error | 13012 | Invalid Amount value | Â |
Error | 12017 | Missing Description | Â |
Warning | 14021 | Decimal field '{0}' contains more than 2 decimal points that were ignored by message. | Â |
Error | 12016 | Missing required reference number. Must provide either ExternalAccountReferenceNo or AccountReferenceNo or both. | Â |
Error | 08 | There is no record found with this criteria | Â |
Error | 07 | Multiple accounts found with this criteria | Â |
Error | 13040 | Refund amount exceeds amount that has been paid | Â |
Error | 02 | Invalid user credentials | Â |
Error | 14143 | ExternalRefundIdentifier already exists for a Refund for this Account | Â |
Error | 13203 | ExternalRefundIdentifier cannot be more than 50 characters. | Â |
Error | 13204 | ExternalRefundIdentifier field contains unallowed characters | Â |
Info | 00 | Success | Â |
Related Pages
Filter by label
There are no items with the selected labels at this time.
On this page:
© 2021 Debitsuccess. All rights reserved