Attributes
The customer associated with this payment, if one has been set.
You can tag a payment with a customer before it is allocated to any invoice (for example, a standalone deposit).
Once the payment has invoice allocations, the customer must match the customer on every allocated invoice.
Payment method. Possible values are:
CASH, CHECK, CREDIT_CARD, ACH,
CREDIT_BALANCE, OTHERProcessor used to make the payment, if any.
Any processor name can be provided and will be tracked.
Allowed only when
method is CREDIT_CARD, ACH, CREDIT_BALANCE, or OTHER.List of Dedicated Refunds to create with this payment
Tags to apply to the payment. Tags are key-value pairs that can be used to categorize and filter payments.
Allocations specify how a payment is distributed. A payment can include two types of allocations:
InvoicePaymentAllocation: Allocates a portion of the payment to a specific invoice.InvoicePaymentAllocationToLedgerAccount: Allocates a portion of the payment directly to a ledger account, rather than to an invoice. This is useful for recording payments that are not associated with a specific invoice, such as overpayments or deposits.
List of Refund Allocations that target this invoice payment, including allocations of dedicated refunds. Each refund allocation includes
refund_id and refund_external_id, the ID and external ID of the refund it belongs to.Memo for any text you would like to associate with the invoice payment (for example, to display to end users).
Any (typically user-visible) identifier you would like to associate with the invoice payment. Can be used to filter when listing invoice payment.
Optional: Create refunds with the invoice payment
This field can be specified when creating an invoice and any of its invoice line items or invoice paymentsList of Dedicated Refunds to create with this payment