curl --request GET \
--url https://brain.orcuspay.com/api/v1/checkout/sessions/pay_prod_abc123/checkout
{
"data": {
"id": "pay_prod_abc123",
"status": "PENDING",
"amount": 1200.0,
"amount_paisa": 120000,
"subtotal": 1200.0,
"subtotal_paisa": 120000,
"currency": "BDT",
"customer": {
"name": "Rahim Ahmed",
"email": "rahim@gmail.com",
"phone": "01827297490",
"address": "House 81, Uttara",
"city": "Dhaka"
},
"business": {
"name": "Acme Corp",
"is_verified": true,
"support_email": "support@acme.com",
"support_phone": null,
"branding": {
"icon_url": "https://example.com/icon.png",
"logo_url": "https://example.com/logo.png",
"brand_color": "#6366F1",
"accent_color": "#818CF8"
}
},
"payment_methods": [
{
"id": "bpm_abc123",
"name": "bKash",
"checkout_name": "Pay with bKash",
"unique_name": "bkash",
"description": "Mobile wallet",
"image_url": "https://example.com/bkash.png",
"payment_method_id": "pm_abc123"
}
],
"line_items": [
{
"id": "li_abc123",
"name": "Hosting renewal",
"description": null,
"image_url": null,
"quantity": 1,
"price": 120000,
"pricing_mode": "one_time"
}
],
"is_test_mode": false
}
}
Native Checkout
Get Checkout Data
Returns full checkout session data for native mobile SDKs. No API key required — access is scoped by session ID.
GET
/
api
/
v1
/
checkout
/
sessions
/
{id}
/
checkout
curl --request GET \
--url https://brain.orcuspay.com/api/v1/checkout/sessions/pay_prod_abc123/checkout
{
"data": {
"id": "pay_prod_abc123",
"status": "PENDING",
"amount": 1200.0,
"amount_paisa": 120000,
"subtotal": 1200.0,
"subtotal_paisa": 120000,
"currency": "BDT",
"customer": {
"name": "Rahim Ahmed",
"email": "rahim@gmail.com",
"phone": "01827297490",
"address": "House 81, Uttara",
"city": "Dhaka"
},
"business": {
"name": "Acme Corp",
"is_verified": true,
"support_email": "support@acme.com",
"support_phone": null,
"branding": {
"icon_url": "https://example.com/icon.png",
"logo_url": "https://example.com/logo.png",
"brand_color": "#6366F1",
"accent_color": "#818CF8"
}
},
"payment_methods": [
{
"id": "bpm_abc123",
"name": "bKash",
"checkout_name": "Pay with bKash",
"unique_name": "bkash",
"description": "Mobile wallet",
"image_url": "https://example.com/bkash.png",
"payment_method_id": "pm_abc123"
}
],
"line_items": [
{
"id": "li_abc123",
"name": "Hosting renewal",
"description": null,
"image_url": null,
"quantity": 1,
"price": 120000,
"pricing_mode": "one_time"
}
],
"is_test_mode": false
}
}
This endpoint powers native mobile checkout (Android SDK, etc.). It returns
payment methods, business branding, line items, and amounts so the app can
render the checkout UI without a browser.
Path Parameters
string
required
The checkout session / payment ID.
Response
object
Show Toggle object
Show Toggle object
string
The payment ID.
string
Payment status:
PENDING, SUCCEEDED, or FAILED.number
Total amount in major currency units (e.g.
1200.00).number
Total amount in smallest currency unit (e.g.
120000).string
ISO 4217 currency code (e.g.
BDT, USD).object
Customer details:
name, email, phone, address, city.object
Business details including
name, is_verified, support_email, support_phone, and branding (icon_url, logo_url, brand_color, accent_color).array
Available payment methods, each with
id, name, checkout_name, unique_name, description, image_url, and payment_method_id.array
Line items, each with
id, name, description, image_url, quantity, price, and pricing_mode.boolean
Whether this is a test-mode payment.
curl --request GET \
--url https://brain.orcuspay.com/api/v1/checkout/sessions/pay_prod_abc123/checkout
{
"data": {
"id": "pay_prod_abc123",
"status": "PENDING",
"amount": 1200.0,
"amount_paisa": 120000,
"subtotal": 1200.0,
"subtotal_paisa": 120000,
"currency": "BDT",
"customer": {
"name": "Rahim Ahmed",
"email": "rahim@gmail.com",
"phone": "01827297490",
"address": "House 81, Uttara",
"city": "Dhaka"
},
"business": {
"name": "Acme Corp",
"is_verified": true,
"support_email": "support@acme.com",
"support_phone": null,
"branding": {
"icon_url": "https://example.com/icon.png",
"logo_url": "https://example.com/logo.png",
"brand_color": "#6366F1",
"accent_color": "#818CF8"
}
},
"payment_methods": [
{
"id": "bpm_abc123",
"name": "bKash",
"checkout_name": "Pay with bKash",
"unique_name": "bkash",
"description": "Mobile wallet",
"image_url": "https://example.com/bkash.png",
"payment_method_id": "pm_abc123"
}
],
"line_items": [
{
"id": "li_abc123",
"name": "Hosting renewal",
"description": null,
"image_url": null,
"quantity": 1,
"price": 120000,
"pricing_mode": "one_time"
}
],
"is_test_mode": false
}
}