Skip to content

Transaction confirmation

This transaction is used to send the confirmation of the payment made by the customer in a 3rd party applciation.

Request

POST https://api.bepaid.by/beyag/transactions/{uid}/confirm

Parameter Type Description
request object
skip_duplicate_check boolean If false, declines a request if the request with the same uid was sent within 30 seconds prior to it. By default, set to false.
transaction_reference string Receipt or reference number of the transaction.
Response
Successful response example
{
  "response": {
      "parent_uid": "2-310b0da80b", 
      "type": "confirm",
      "status": "successful", 
      "message": "Confirm was successfully processed",
      "created_at": "2023-05-11T12:04:59+03:00",
      "amount": 332400,
      "currency":"USD"
    }
}
Response example with failed status
{
    "response": {
        "parent_uid": "2-310b0da80b",
        "type": "confirm",
        "status": "failed",
        "message": "Confirm was failed",
        "created_at": "2023-05-11T12:04:59+03:00",
        "amount": 50,
        "currency": "USD"
    }
}
Response example when the transaction is not found
{
        "response": {
            "message": "Record not found",                
        }
}