Checkout
Redeem a voucher code toward the invoice (Rewarble)
Path Parameters
storeId*string
uniqueId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/public/stores/string/invoices/string/voucher" \ -H "Content-Type: application/json" \ -d '{ "code": "string" }'{ "status": "paid", "receivedMinor": -9007199254740991, "remainingMinor": -9007199254740991, "currency": "string"}