POST
/
v1
/
mock
/
payment
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>"
}

Body

application/json
voucherId
string
required

ID of the voucher to be paid

amount
integer

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.

Response

201
application/json
successful operation
success
boolean
message
string