Invoice Payments
Record a Payment
This endpoint records a payment made towards an invoice in Layer.
POST
/
v1
/
businesses
/
{business_id}
/
invoices
/
payments
Path Parameters
Body
External ID for the payment within your platform. Idempotency key.
Date of the payment.
Payment method. Possible values are: CASH
, CHECK
, CREDIT_CARD
, ACH
, REDEEMED_PREPAYMENT
,
OTHER
Fee paid by business for processing of payment in positive cents.
Payment amount, in cents.
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.
Response
Returns the created Invoice Payment Object