curl --request POST \
--url https://brain.orcuspay.com/api/v1/checkout/sessions/pay_prod_abc123/sslcommerz \
--header 'content-type: application/json' \
--data '{
"business_payment_method_id": "bpm_sslc_123"
}'
{
"data": {
"url": "https://sandbox.sslcommerz.com/EasyCheckOut/testcde123",
"session_key": "ABC123DEF456"
}
}
Native Checkout
Initiate SSLCommerz
Creates an SSLCommerz payment session for native mobile or web checkout.
POST
/
api
/
v1
/
checkout
/
sessions
/
{id}
/
sslcommerz
curl --request POST \
--url https://brain.orcuspay.com/api/v1/checkout/sessions/pay_prod_abc123/sslcommerz \
--header 'content-type: application/json' \
--data '{
"business_payment_method_id": "bpm_sslc_123"
}'
{
"data": {
"url": "https://sandbox.sslcommerz.com/EasyCheckOut/testcde123",
"session_key": "ABC123DEF456"
}
}
Creates an SSLCommerz payment session and returns the gateway URL. Redirect the
user (browser or WebView) to the returned URL to complete payment.
No API key required — access is scoped by session ID.
Path Parameters
string
required
The checkout session / payment ID.
Body
string
required
The ID of the business payment method to use (from the
payment_methods array
returned by Get Checkout Data).Response
object
curl --request POST \
--url https://brain.orcuspay.com/api/v1/checkout/sessions/pay_prod_abc123/sslcommerz \
--header 'content-type: application/json' \
--data '{
"business_payment_method_id": "bpm_sslc_123"
}'
{
"data": {
"url": "https://sandbox.sslcommerz.com/EasyCheckOut/testcde123",
"session_key": "ABC123DEF456"
}
}