cURL
curl --request POST \ --url https://staging-vouchers.ventogram.com/api/v1/mock/payment \ --header 'Content-Type: application/json' \ --data '{ "voucherId": "<string>", "amount": 123 }'
{ "success": true, "message": "<string>" }
Sends a mock payment request (only in staging environment)
ID of the voucher to be paid
Amount to pay. This can be used to simulate overpayment and underpayment in staging environment. If this field is not provided, the expected amount will be paid.
successful operation