Skip to main content
POST
Create bill payment

Rate Limiting

This endpoint has a custom rate limit policy. Rate Limit Details: Response Headers: All responses include the following rate limit headers:
  • X-RateLimit-Limit: The rate limit bucket capacity
  • X-RateLimit-Remaining: The number of tokens remaining in the bucket
  • X-RateLimit-Reset: UTC timestamp (in seconds) when the bucket will be refilled
For more details on rate limiting, see Rate Limiting.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string<uuid>
required

The UUID of the business to create the payment for.

Body

application/json
paid_at
string<date-time>
required

When the payment was made.

method
enum<string>
required

Method used for payment.

Available options:
CASH,
CHECK,
CREDIT_CARD,
ACH,
CREDIT_BALANCE,
OTHER
amount
integer<int64>
required

Payment amount in cents.

bill_payment_allocations
object[]
required

How the payment is allocated across bills.

external_id
string | null

External ID for the payment.

vendor_id
string<uuid> | null

Layer ID of the vendor to associate with the payment. Lets you tag a payment with a vendor even before it is allocated to any bill (for example, a standalone deposit). When the payment has bill allocations, the vendor must match the vendor on every allocated bill, otherwise the request is rejected with a 400.

vendor_external_id
string | null

External ID of the vendor to associate with the payment. Can be specified in place of vendor_id.

processor
string | null

Payment processor used.

payment_clearing_account_identifier
Account ID · object

The the ledger account to use for the payment (overrides the default determined by the payment method).

tags
object[]
memo
string | null

Memo for any text you would like to associate with the bill payment (for example, to display to end users).

metadata
object | null

Arbitrary custom metadata in JSON format with a size limit of 1KB.

Example:
reference_number
string | null

Any (typically user-visible) identifier you would like to associate with the bill payment. Can be used to filter when listing bill payments.

Response

Payment created successfully.

data
object
required