Get List Voucher
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Request Code Samples
curl --location --request GET 'http://petfen-voucher.local.com:8086/api/cms/v1/voucher/list' \
--header 'X-Auth-Service: Bearer ' \
--header 'Authorization: Bearer <token>'
Responses
application/json {
"data": {
"error": null,
"failedCount": 0,
"totalCreated": 2,
"totalRequested": 2
},
"message": "Vouchers created successfully",
"success": true
}
Modified at 2025-06-16 08:25:57