Logo
Developer portal API Documentation

Cancel transaction

DELETE https://demo-api.vivapayments.com/acquiring/v1/transactions/{transactionID}?amount={amount}

 

Body PARAM

Key Datatype Required Description 
amount
string
sourceCode
null Source to use for transaction cancellation. Defaults to source code of parent transaction
merchantTrns
null An ID or a short description that helps you uniquely identify the transaction
idempotencyKey
null Specify a key in order for the call have idempotent behaviour for all calls with the same key
reverseTransfers
null Use this property to get the funds back from the connected account to the platform in order to cover the refund
refundPlatformFee
null Use this property to automatically return the application fee funds to the connected account from the platform



HEADERS

Key Datatype Required Description 




RESPONSES

Curl
curl -X DELETE 'https://demo-api.vivapayments.com/acquiring/v1/transactions/{transactionID}?amount={amount}?amount={amount}&sourceCode=&merchantTrns=&idempotencyKey=&reverseTransfers=&refundPlatformFee='

ENDPOINTS