post
http://{{url}}/v1/charges//transactions/
This endpoint allows you to modify a transaction and charge status and specify a potential error code and an identificator of a transaction on a gateway side. It is allowed to update charges and transactions in the "requested" status only.
Request body
| field | required | type | description |
|---|---|---|---|
| status | + | string | A transaction status: complete or failed |
| external_id | + | string | An identificator of a transaction on a gateway side |
| charge_status | + | string | A charge status: complete or failed |
| error_code | - | string | An error code on a gateway side for a failed transaction |
Response body
Charge resource with an updated status
