Skip to main content
Use POST /v1/checkouts/create when you do not want to manually create a party, counterparty, and invoice/order first. Dollr creates or matches the payer and returns source_id, party_id, and counterparty_id when applicable.
API Reference: Create checkout source

When to use

For formal B2B invoicing with explicit publish control, prefer the invoice flow.
1

Authenticate

2

Create hosted checkout source

POST /v1/checkouts/create
Set mode: "HOSTED", source_kind (INVOICE or ORDER), payer details, items[], and optional success_url / cancel_url.
3

Redirect customer

Send the customer to the url in the response. They pay with mobile money or card on Dollr’s hosted page.
4

Confirm payment

GET /v1/status/source?source_type=INVOICE&source_id={source_id} or Realtime status.
See Hosted checkout for full details.

API-embedded flow

If you build your own payment UI:
1

Create checkout source

POST /v1/checkouts/create (any mode)
2

Checkout session → payment account → execute

POST /v1/sessions/checkout, register a payment account, then POST /v1/executions/collection with a stored UUID reference_id.
3

Poll or subscribe

GET /v1/status/collection/{reference_id} or Realtime status.
Request body uses source_kind; session and execution calls use source_type for the same concept.
Last modified on June 23, 2026