Cancel payment
Use the following method to cancel payment order you created:
GET https://api.transavex.com/api/v1/payin/cancel/:transactionId
Request example
curl --request POST \
--url 'https://api.transavex.com/api/v1/payin/cancel/6197167c-04f6-44a4-8144-9fda0c69f8ea' \
--header 'Content-Type: application/json' \
--header 'X-Client-Id: {{token}}' \
--header 'X-Signature: {{signature}}' \
-d '{}'
Response example
We return success: Boolean as a result: whether payment was cancelled or not.
{
"success": true
}