Built for developers
Connect once. Build the experience you need.
The BiliPay developer layer exposes documented APIs, API keys, webhooks and a developer environment. Live provider connectivity is enabled only after verification.
REST API
Predictable, resource-oriented endpoints for payment intents, links and invoices.
API keys
Separate test and production keys with scoped, revocable access.
Webhooks
Signed events with replay awareness and idempotent processing.
Test environment
A safe environment to build and test before any live activation.
Reference docs
Request/response examples for every supported operation.
Error model
Consistent error codes so integrations can fail predictably.
POST /api/v1/payment-intents
{
"amount": 4850,
"currency": "BDT",
"reference": "ORDER-1024",
"return_url": "https://example.com/return"
}
→ 201 Created
→ payment_intent_id
→ checkout_urlDeveloper portal preview
Endpoints, events and keys in one place.
Planned endpoints
Webhook event (example)
{
"type": "payment_intent.succeeded",
"id": "evt_evt_0001",
"created": 1750000000,
"data": { "reference": "ORDER-1024" }
}Signature verification and idempotency are part of the planned delivery model.
API keys & security
Test and production keys stay separate.
Secrets are server-side only, never in the browser.
Keys are scoped, rotatable and revocable.
bp_test_key_••••••••••••••••
No real credentials are issued on this page.
Ready to build with BiliPay?
Merchant onboarding and developer access roll out in controlled phases.
