Client API
Public and authenticated storefront endpoints — catalog, cart, orders,
payments, vouchers, content. 91 operations, Bearer JWT.
Open reference →
Client API
Public and authenticated storefront endpoints — catalog, cart, orders,
payments, vouchers, content. 91 operations, Bearer JWT.
Open reference →
Admin API
Operations console endpoints — catalog management, orders, vouchers, users,
roles, file manager, audit, fulfillment recovery, curation/reorder. 236 operations, Admin JWT.
Open reference →
Try-It Playground
Every endpoint has a built-in request console and auto-generated code samples in cURL, Node.js, Python, PHP, Go, Ruby.
First-class Auth
Two bearer schemes — bearer-client for end users, bearer-admin for ops.
Paste a token once and hit send.
Read auth guide →
# 1. Get a client token (uses msisdn — Bangladeshi mobile number)curl -X POST https://api.bdvoucher.com/api/v1/auth/sign-in \ -H 'Content-Type: application/json' \ -d '{"msisdn":"8801712345678","password":"••••"}'
# 2. Call an authenticated endpointcurl https://api.bdvoucher.com/api/v1/user/profile \ -H "Authorization: Bearer $TOKEN"| Environment | Client API | Admin API |
|---|---|---|
| Production | https://api.bdvoucher.com/api/v1 | https://api.admin.bdvoucher.com/api/v1 |
| Staging | https://staging-api.bdvoucher.com/api/v1 | https://staging-api.admin.bdvoucher.com/api/v1 |
| Local dev | http://localhost:3000/api/v1 | http://localhost:3001/api/v1 |