Skip to content

Sync Reference

An endpoint to get the updated status of the transction.

To get the updated payment status of the transaction, send the request header and body parameters via POST.

POST/sync/{jwtString}?passThrough=false

Sync Reference

Sync Reference Header and Query Parameters!

Request Samples

curl
    -L -X POST 'https://test-brn-api.billeroo.com/sync/{jwtString}?passThrough=false' \
    -H 'Authorization: {integratorToken}' \
    -H 'Content-Type: application/json' \
    -d '{
        "reference": "{reference}"
    }'
{
    "reference": "{reference}"
}


200 Successful Response

Sync Reference Response Parameters!

401 Erroneous Response

Sync Reference 401 Erroneous Response Parameters!

Response Samples

{
    "timestamp": "2024-11-11 03:15:13 +0000",
    "status": 200,
    "message": "OK",
    "path": "/sync/{jwtString}",
    "data": {
        "reference": "1111244GRWTH",
        "statusCode": "OK.00.00",
        "statusDescription": "Payment Successful"
    }
}
{
    "timestamp": "2024-11-11 04:55:24 +0000",
    "status": 401,
    "error": "Unauthorized",
    "path": "/sync/{jwtString}"
}