Payment API

Create invoices from your own application using secure production keys.

This tool is available on Pro and Enterprise plans. Upgrade your plan to create or manage records here.

Production API keys

Keys are tied to your account and can be revoked at any time.

Loading keys…

Create an invoice

POST https://crypsense-pay.base44.app/functions/apiCreateInvoice

curl -X POST https://crypsense-pay.base44.app/functions/apiCreateInvoice \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"payer_name":"Acme Corp","amount":1000,"currency":"USDC (Base)","due_date":"2026-10-01"}'

Merchant API endpoints

Send your production key as a Bearer token with every request.

POSThttps://crypsense-pay.base44.app/functions/apiCreateInvoiceCreate a single invoice
POSThttps://crypsense-pay.base44.app/functions/apiBulkCreateInvoicesCreate a batch of invoices
GEThttps://crypsense-pay.base44.app/functions/apiListInvoicesList your invoices
GEThttps://crypsense-pay.base44.app/functions/apiGetInvoice?id=INVOICE_IDGet one invoice
PATCHhttps://crypsense-pay.base44.app/functions/apiUpdateInvoiceUpdate a sent invoice
POSThttps://crypsense-pay.base44.app/functions/apiCancelInvoiceCancel an unpaid invoice
POSThttps://crypsense-pay.base44.app/functions/apiRecordPaymentRecord a payment transaction
POSThttps://crypsense-pay.base44.app/functions/apiSettleInvoiceSettle a paid invoice
POSThttps://crypsense-pay.base44.app/functions/apiCreatePaymentPortalCreate a payment portal
GEThttps://crypsense-pay.base44.app/functions/apiListPaymentPortalsList payment portals
POSThttps://crypsense-pay.base44.app/functions/apiCreateContactCreate a contact
GEThttps://crypsense-pay.base44.app/functions/apiListContactsList contacts
POSThttps://crypsense-pay.base44.app/functions/apiCreatePayrollRunCreate a payroll run
GEThttps://crypsense-pay.base44.app/functions/apiListPayrollRunsList payroll runs
GEThttps://crypsense-pay.base44.app/functions/apiListPaymentsList settled payments