POST
/
v1
/
businesses
/
{business_id}
/
invoices
/
payments

Path Parameters

business_id
string
required

ID of the Business the invoice is associated with.

Body

external_id
string

External ID for the payment within your platform. Idempotency key.

paid_at
ISO8601 timestamp
required

Date of the payment.

method
enum
required

Payment method. Possible values are: CASH, CHECK, CREDIT_CARD, ACH, REDEEMED_PREPAYMENT, OTHER

fee
integer
required

Fee paid by business for processing of payment in positive cents.

amount
integer
required

Payment amount, in cents.

processor
string

Processor used to make the payment, if any. Any processor name can be provided and will be tracked. Supported processors (STRIPE, SHOPIFY) will have additional asset balance tracking.

invoice_payments
array of InvoicePaymentAllocation objects
required

Response

Returns the created Invoice Payment Object