cURL
curl --request POST \ --url https://api.zebedee.io/v0/revoke-voucher \ --header 'Content-Type: application/json' \ --header 'apikey: <apikey>' \ --data ' { "code": "<string>" } '
{ "success": true, "data": { "amount": "1000", "code": "E044A15A", "createdAt": "2023-08-24T15:04:19.927Z", "description": "Voucher for user.", "id": "8703d5da-6b38-499f-b543-c6e73543b371", "redeemedAt": null, "redeemedById": null, "redeemedTransactionId": null, "revokedAt": "2023-08-24T15:04:41.196Z", "revokedById": "4a4bd549-297e-4e67-a594-386200e1bc21", "revokedTransactionId": "34f5abab-3f36-4fb3-b25a-4d54b0ad0924", "unit": "msats" }, "message": "Successfully revoked Voucher." }
Documentation IndexFetch the complete documentation index at: https://docs.zbdpay.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.zbdpay.com/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?