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.ecomcharge.com/beyag/transactions/{uid}/confirm
|
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",
}
}