Field
Type
Description
external_id
The unique payment id from the source system/database. If we detect a record with the same external_id, it will be updated, otherwise it will be added.
_id
The id of the payment, assigned by the system.
display_name
The secure friendly display name of the payment method. Example: VISA **** 3421.
last_4
The last 4 digits of the payment method. Only returned for payments taken through a stored payment method; a payment recorded through this API has none, so it is omitted.
amount
The amount that was paid. Format = 0.00
paid_on
The date and time of when the payment was made. Format = YYYY-MM-DDTHH:mm:ssZ
gateway_transaction_id
The unique id that was assigned to the payment record from the gateway when the payment was processed.
tip
The tip amount that was added. Format = 0.00
tax
The tax amount that was added. Format = 0.00
fee
The fee amount that was added. Format = 0.00
invoice
A reference to the invoice record. On a write this is how the payment is applied to an invoice; it is echoed back on a read, alongside the fuller allocations list.
payment_type
The type of payment method used to make the payment.
One of payment_card, ach, cash, check
payment_sub_type
The sub type of the payment method used to make the payment.
One of checking, savings, visa, mastercard, discover, amex, cash, other
status
The current status of the payment.
Default = captured | One of declined, authorized, captured, voided, settled, returned, refundFailed, refunded, refundSettled
created_at
The date the payment was created.
updated_at
The date the payment was last updated.
reference_number
The unique reference number assigned to the payment by the system, displayed to the merchant.
early_pay_discounts_and_late_fees
The net of any early payment discount and late fee applied to the payment. Format = 0.00
is_refund
Whether the payment is a refund of another payment.
custom_fields
The custom fields recorded on the payment, as name/value pairs. {} when there are none.
allocations
How the payment was applied. A payment split across several invoices has one entry per invoice.