API Access

Build payment workflows into your own systems.

Create hosted checkout workflows, receive webhook events, and keep payment activity synchronized with your product.

JSON

REST workflows

Live

Event delivery

Secure

Sandbox keys

Developer workstation with dark API dashboard and webhook event stream.

Create workflow

Receive events

Operate securely

Simple API console

Create a checkout URL

Sandbox
curl https://api.mascotbill.com/v1/workflows \
  -H 'Authorization: Bearer mb_sk_test_....' \
  -H 'Content-Type: application/json' \
  -d {
    "type": "invoice_checkout",
    "amount": 84000,
    "currency": "usd"
  }

status

created

hosted_url

ready

event

workflow.created

API access

One request creates the customer page.

Your system creates the workflow. Mascot Bill returns a hosted URL your team can send, open, or attach to an internal record.

Workflow endpoints

The API stays focused on the actions your product needs.

Create

POST

Create hosted workflows

Create payment links, invoice checkout pages, pre-authorizations, or intake flows from your own product.

Synced

Events

Sync customer actions

Receive webhook events when customers view, pay, approve, or submit.

Secure

Keys

Control access

Separate sandbox and live keys with workspace-level visibility.

Events and access

Keep the integration simple after launch.

Use webhook events to sync status back to your system, and keep API access separated by sandbox and live keys.

Webhook events

workflow.created, checkout.viewed, payment.succeeded, and invoice.paid keep your product updated.

Ready

Key control

Sandbox and live keys make it easier to test first and move to production deliberately.

Ready

Ready to launch

Start this workflow inside Mascot Bill.

Create the customer page, send it, and keep every payment action visible for the team.