Skip to main content

Payment Status

When the payment-status operation is invoked by BOG, the service-provider is expected to respond with one of the following status codes: 12, 13, 14.

Body Parameters

transactionIdrequiredstring

An unique transaction identifier, created by BOG.

curl --location --request GET 'http://serviceprovider:8088/api/mock/payment-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.

{
"status":{
"code":12,
"value":"Transaction was successful"
},
"timestamp":1693236686855
}