Skip to content

BS Payone Capture

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

The parameter request sent to BS Payone as a standard parameter for this request has the value capture. Once the request is sent, the transmitted amount that was previously reserved using the preauthorization request is charged. Besides the standard parameters, the following parameters will be sent for the capture:

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

Clone this wiki locally