-
Notifications
You must be signed in to change notification settings - Fork 0
BS Payone Refund
Mohamed Osman edited this page Sep 30, 2019
·
11 revisions
The parameter request sent to BS Payone as a standard parameter for this request has the value refund
. Once the request is sent, the amount previously charged via the authorization or capture request is credited back. Besides the standard parameters, the following parameters will be sent for the refund:
Parameter Name | Description |
---|---|
txId | BS Payone transaction id |
sequenceNumber | Number to mark the step within the payment process - 2 if it's after CAPTURE , otherwise 1
|
amount | Amount in the smallest currency unit(e.g. cent) |
currency | Currency |
BS Payone response:
Parameter Name | Description |
---|---|
status | SUCCESS or FAIL |
transactionId | BS Payone transaction id |
customerId | BS Payone customer id |
errorCode | BS Payone error code |
errorMessage | BS Payone error message |
customerMessage | BS Payone customer message |
The transaction is successful if the BS Payone status is APPROVED
, REDIRECT
or PENDING
. In case an error occurs when processing the payment, the status will be ERROR
and the errorCode, errorMessage and customerMessage will be returned with the status. The error will be mapped to the internal error and the BS Payone message will be shown in the error details of the error response.