Bills
The Bills API provides endpoints to query bills, their activities, participants, and payments.
Get All Bills
GET /billsRetrieves a paginated list of bills with filtering options.
Query Parameters
page
number
Page number (min: 1, default: 1)
limit
number
Items per page (max: 100, default: 10)
creator
string
Filter by creator address
manager
string
Filter by manager address
status
string
Filter by status
coinType
string
Filter by coin type
search
string
Search bills (min: 3 chars)
sortBy
string
Sort field (CREATED_AT, TOTAL_AMOUNT, etc.)
sortOrder
string
Sort order (ASC/DESC)
Bill Status Types
INPROGRESS: Bill is active and accepting paymentsPAID: Bill has received full paymentCOMPLETED: Bill has been claimedCANCELED: Bill has been cancelledREJECTED: Bill has been rejectedREFUNDED: Bill has been refundedPENDING: Bill is pending activation
Response
Get Bill by ID
Retrieves details of a specific bill.
Response
Get Bill Activities
Retrieves activities for a specific bill.
Query Parameters
page
number
Page number (min: 1, default: 1)
limit
number
Items per page (max: 100, default: 10)
activityType
string
Filter by activity type
actor
string
Filter by actor address
startDate
string
Filter after date
endDate
string
Filter before date
Activity Types
CREATEDPAYMENT_MADEPAIDCOMPLETEDCANCELEDREJECTEDPAYMENT_REFUNDEDPAYMENT_CLAIMED
Response
Get Bill Participants
Retrieves participants of a specific bill.
Query Parameters
page
number
Page number (min: 1, default: 1)
limit
number
Items per page (max: 100, default: 10)
paymentStatus
string
Filter by payment status (paid/partial/unpaid)
search
string
Search by address (min: 3 chars)
sortBy
string
Sort field
sortOrder
string
Sort order (ASC/DESC)
Response
Get Bill Payments
Retrieves payments made for a specific bill.
Query Parameters
page
number
Page number (min: 1, default: 1)
limit
number
Items per page (max: 100, default: 10)
payer
string
Filter by payer address
status
string
Filter by status (COMPLETED/REFUNDED)
startDate
string
Filter after date
endDate
string
Filter before date
minAmount
number
Minimum amount
maxAmount
number
Maximum amount
Response
Get Account Bill Activities
Retrieves bill activities for a specific account.
Query Parameters
Same as Get Bill Activities
Get Account Bill Stats
Retrieves bill statistics for a specific account.
Response
Last updated