Vouchers
Get Vouchers
Getting Started
- Overview
- Authentication
- Concepts
- Error Codes
- Real-time Events
- Changelog
Core Profile
- Profile
- Members
- Owners
- Addresses
- Documents
- Access Tokens
- Webhooks
Core Wallet
- Wallets
- Balances
- Accounts
- Contacts
- Payment Links
- Statements
- Transfers
- Transactions
Billing & Payments
- Customers
- Plans
- Vouchers
- Invoices
- Subscriptions
- Payments
Integrations
- Payment Providers
Analytics & Logs
- Metrics
- Logs
Resources
- Banks
- Countries
- Currencies
- Events
- Industries
- Legal Form
- Providers
- Scopes
Get Vouchers
Fetch a list of vouchers. (Business Only)
GET
/
vouchers
curl --request GET \
--url https://api.live.paisr.tech/{version}/vouchers \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"vouchers": [
{
"id": "vch_123456",
"description": "End of the month sale",
"type": "percentage",
"code": "EOTM10",
"amount": 10,
"redeems": {
"count": 75,
"max": 100
},
"archived": false,
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
}
]
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
Successfully retrieved the list of vouchers.
Example:
true
Example:
"vch_123456"
Example:
"End of the month sale"
Available options:
percentage
, fixed
Example:
"percentage"
Example:
"EOTM10"
Example:
10
Example:
false
Was this page helpful?
curl --request GET \
--url https://api.live.paisr.tech/{version}/vouchers \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"vouchers": [
{
"id": "vch_123456",
"description": "End of the month sale",
"type": "percentage",
"code": "EOTM10",
"amount": 10,
"redeems": {
"count": 75,
"max": 100
},
"archived": false,
"created_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z"
}
]
}
}