curl --request POST \
--url https://brain.orcuspay.com/api/v1/checkout/sessions/pay_prod_abc123/stripe \
--header 'content-type: application/json' \
--data '{
"business_payment_method_id": "bpm_stripe_123"
}'
{
"data": {
"client_secret": "cs_test_a1b2c3...",
"publishable_key": "pk_test_abc123..."
}
}
Native Checkout
Initiate Stripe
Creates a Stripe embedded checkout session for native mobile or web checkout.
POST
/
api
/
v1
/
checkout
/
sessions
/
{id}
/
stripe
curl --request POST \
--url https://brain.orcuspay.com/api/v1/checkout/sessions/pay_prod_abc123/stripe \
--header 'content-type: application/json' \
--data '{
"business_payment_method_id": "bpm_stripe_123"
}'
{
"data": {
"client_secret": "cs_test_a1b2c3...",
"publishable_key": "pk_test_abc123..."
}
}
Creates a Stripe embedded checkout session and returns the credentials needed to
mount the Stripe.js embedded form or render it in a WebView.
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/stripe \
--header 'content-type: application/json' \
--data '{
"business_payment_method_id": "bpm_stripe_123"
}'
{
"data": {
"client_secret": "cs_test_a1b2c3...",
"publishable_key": "pk_test_abc123..."
}
}