Field
Type
Required
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.
gateway_transaction_id
The unique id that was assigned to the payment record from the gateway when the payment was processed.
display_name
The secure friendly display name of the payment method. Example: `VISA **** 3421`.
last_4
The last 4 digits of the payment method.
total
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
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
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`
transaction_type
The type of transaction.
active
This flag represents whether the payment record is active.
Default = `true`
created_at
The date the payment was created.
updated_at
The date the payment was last updated.