Bill object is used to represent a Bill.
A bill represents a payment request that can be associated with a customer or specific account.
Unique identifier for a bill
"bill_H4jp6KnU5cPw263v1jyz4"
External reference for reconciliation or tracking purposes. Must be unique within your merchant account.
255"INV-2024-001"
Unique identifier for a customer
"bcus_H4jp6KnU5cPw263v1jyz4"
Current status of the bill
unpaid, paid, voided "unpaid"
The ISO 4217 currency code for the payment.
"ZAR"
Payment amount due at the time of bill creation.
The value is in the smallest currency unit (e.g., cents for ZAR).
1 <= x <= 999999992000
The amount that has been paid against this bill.
The value is in the smallest currency unit (e.g., cents for ZAR).
Note: If amount_paid is specified, the currency field must also be provided.
0 <= x <= 999999991500
The amount remaining to be paid against this bill.
The value is in the smallest currency unit (e.g., cents for ZAR).
Note: If amount_remaining is specified, the currency field must also be provided.
0 <= x <= 99999999500
Unique identifier for an account
"bacc_H4jp6KnU5cPw263v1jyz4"
The date the bill was raised in ISO 8601 format (YYYY-MM-DD). Defaults to current date if not provided.
"2025-01-01"
The due date for bill payment in ISO 8601 format (YYYY-MM-DD)
"2025-01-31"
Payment rules associated with the entity. If not specified, the entity cannot be paid against.
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. NEW Limitations:
{
"customer_id": "cust_123456",
"order_id": "ord_789012"
}