Logo
Developer portal API Documentation

Refund a Transaction

POST https://demo-api.vivapayments.com/ecr/v1/transactions:refund

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X POST 'https://demo-api.vivapayments.com/ecr/v1/transactions:refund' -d '{"sessionId":"4bdebe62-c211-4ca0-a994-b2fbea2061c5","terminalId":"16000010","cashRegisterId":"XDE384678UY","parentSessionId":"f7287549-e93a-4d33-b936-000027d326d0","amount":1170,"currencyCode":"978","merchantReference":null}'

ENDPOINTS