Proof
This transaction is used to send the confirmation of the payment made by the customer in a 3rd party applciation. The transaction request contains a file with the transaction confirmation.
Request
POST https://api.ecomcharge.com/beyag/transactions/{uid}/proof
|
Request example
{
"request": {
"skip_duplicate_check": false,
"amount": 322400,
"currency": "USD",
"document": {
"content_type": "application/pdf",
"file_name": "3224.pdf",
"file_size": 198149,
"content": "cmVmCjE5Yzd2NwolJUVPRgo=",
"checksum": "45EA3C910A727823079CF1E7DAB4B8BA"
}
}
}
Response
Response example
{
"transaction": {
"proof": {
"message": "Proof was successfully processed.",
"ref_id": null,
"gateway_id": 3440,
"status": "failed"
},
"uid": "f4b1b969-566d-4967-9c29-b2214763fb6c",
"status": "successful",
"message": "Proof was successfully processed.",
"amount": 71267,
"parent_uid": "b498e245-b2d6-42e9-99d8-81cd8beb2b70",
"currency": "USD",
"type": "proof"
}
}