Bills
Create a Bill
Creates a new bill for a customer or account.
Bills represent payment requests that can be associated directly with customers or with specific accounts under customers.
POST
Authorizations
Authentication using Bearer tokens. Include your API key in the Authorization header.
Key Types:
- Test Keys:
sk_test_*for development and testing - Live Keys:
sk_*for production environments - Public Keys:
pk_test_*orpk_*for client-side operations
📩 Need access? Contact Support to request your API keys.
Usage:
Headers
A unique key to prevent duplicate operations. Use the same key for retries to ensure idempotent behavior.
Best Practices:
- Use UUIDs or other cryptographically unique identifiers
- Maintain keys for at least 24 hours for retry scenarios
- Use different keys for different operations
- Monitor
Idempotent-Replayedheader for cache hits
Required string length:
1 - 255Pattern:
^[a-zA-Z0-9-]+$Body
application/json
Request payload for creating a new bill
Response
Bill created successfully
A bill represents a payment request that can be associated with a customer or specific account.

