Trustless, permissionless payment infrastructure for accepting cryptocurrency payments with automatic payment splitting.
No intermediaries, no gatekeeping. Direct blockchain transactions with full transparency.
Secure APIM subscription keys linked to your wallet. Manage keys through the developer dashboard.
Configure payment distribution via smart contracts. All splits happen on-chain.
Get up and running in 5 minutes. Make your first API call and accept your first payment.
Learn how APIM subscription authentication works and critical security practices.
Complete reference for all PortalPay API endpoints with examples.
Ready-to-use code examples in multiple languages for common workflows.
# 1. Create a product
curl -X POST https://pay.ledger1.ai/api/inventory \
-H "Content-Type: application/json" \
-H "Ocp-Apim-Subscription-Key: $APIM_SUBSCRIPTION_KEY" \
-d '{
"sku": "ITEM-001",
"name": "Sample Product",
"priceUsd": 25.00,
"stockQty": 100,
"taxable": true
}'
# 2. Generate an order
curl -X POST https://pay.ledger1.ai/api/orders \
-H "Content-Type: application/json" \
-H "Ocp-Apim-Subscription-Key: $APIM_SUBSCRIPTION_KEY" \
-d '{
"items": [{"sku": "ITEM-001", "qty": 1}],
"jurisdictionCode": "US-CA"
}'
# 3. Payment URL
# https://pay.ledger1.ai/pay/{receiptId}Configure payment distribution and view transactions
Manage your product catalog with full CRUD operations
Generate receipts with tax calculation and processing fees
View transaction history and payment status
Customize branding, tax jurisdictions, and settings
Follow our Quick Start Guide to make your first API call in 5 minutes.
Start Building →