Skip to content

BS Payone Reversal

Mohamed Osman edited this page Sep 30, 2019 · 10 revisions

The parameter request sent to BS Payone as a standard parameter for this request has the value capture. To cancel the previously reserved amount, the amount 0 will be sent in this request together with the standard parameters:

Parameter Name Description
txId BS Payone transaction id
amount 0
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.

Clone this wiki locally