Skip to content

BD Voucher Developer Portal

Production-grade REST APIs for voucher commerce — Client & Admin surfaces with OpenAPI 3, Bearer JWT, multi-language SDK samples and a full Try-It playground.

What’s inside

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 →

Quick example

Terminal window
# 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 endpoint
curl https://api.bdvoucher.com/api/v1/user/profile \
-H "Authorization: Bearer $TOKEN"

Base URLs

EnvironmentClient APIAdmin API
Productionhttps://api.bdvoucher.com/api/v1https://api.admin.bdvoucher.com/api/v1
Staginghttps://staging-api.bdvoucher.com/api/v1https://staging-api.admin.bdvoucher.com/api/v1
Local devhttp://localhost:3000/api/v1http://localhost:3001/api/v1