Prefer less integration work? Use Hosted checkout — customers enter card details on Dollr’s page with no Stripe setup on your side.
API Reference: Card provider info · Collect
Prerequisites
- Published invoice or order (or checkout source)
- Dollr Stripe publishable key from Environments (
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY) @stripe/stripe-jsand@stripe/react-stripe-jsin your frontend- Server-side Dollr API credentials
Flow overview
POST /v1/sessions/checkout- Stripe Elements →
stripe.createPaymentMethod()→paymentMethod.id GET /v1/predictions/card-provider-info?payment_method_id=pm_xxxPOST /v1/payment-accounts/createwithCREDIT_CARD/STRIPE(no phone number)POST /v1/executions/collection- If
requires_action, complete 3DS withclient_secret - Poll
GET /v1/status/collection/{reference_id}
Step 1 — Checkout session
Step 2 — Stripe Elements (frontend)
Step 3 — Card provider prediction (server)
payment_method, gateway_provider, currencies, and brand.
Step 4 — Payment account
Create a new payment account per card attempt (do not reuse MoMo-style caching):insensitive_account_number. The Stripe payment_method_id is used at prediction time — Dollr links routing via provider + method.
Step 5 — Execute collection
currency as the payer currency — see Currency & FX.
Step 6 — Handle 3D Secure
Step 7 — Poll status
Preview fees
Related
- Hosted checkout — no Stripe integration required
- Currency & FX · Environments
- Payment status patterns
