Cancel Payment
When invoking the cancel-payment operation, the service-provider is expected to cancel the payment with the given transaction identifier from BOG.
Body Parameters
transactionIdrequiredstring
An unique transaction identifier, created by BOG.
- CURL
curl --location --request GET 'http://serviceprovider:8088/api/mock/cancel-status?transactionId=00000000'
Response
The service-provider must answer in the following JSON format:
status.codenumber
Refers to the pre-defined status codes.
status.valuestring
Status value (optional)
timestampnumber
UNIX timestamp – the amount of milliseconds that have passed since January 1st, 1970 at UTC.
- RESPONSE
{
"status":{
"code":0,
"value":"OK"
},
"timestamp":1693236686855
}