Campo
Tipo
Descripción
external_id
El identificador de pago único del sistema/base de datos fuente. Si detectamos un registro con el mismo external_id, se actualizará; de lo contrario, se agregará.
_id
The id of the payment, assigned by the system.
display_name
El nombre de visualización seguro y amigable del método de pago. Ejemplo: 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
El monto que se pagó. Format = 0.00
paid_on
La fecha y hora en que se realizó el pago. Format = YYYY-MM-DDTHH:mm:ssZ
gateway_transaction_id
El identificador único que se asignó al registro de pago desde la pasarela cuando se procesó el pago.
tip
La cantidad de propina que se agregó. Format = 0.00
tax
El monto de impuestos que se agregó. Format = 0.00
fee
La cantidad de la tarifa que se agregó. Format = 0.00
invoice
A reference to the orden de compra record. On a write this is how the payment is applied to an orden de compra; it is echoed back on a read, alongside the fuller allocations list.
payment_type
El tipo de método de pago utilizado para realizar el pago.
One of payment_card, ach, cash, check
payment_sub_type
El subtipo del método de pago utilizado para realizar el pago.
One of checking, savings, visa, mastercard, discover, amex, cash, other
status
El estado actual del pago.
Default = captured | One of declined, authorized, captured, voided, settled, returned, refundFailed, refunded, refundSettled
created_at
La fecha en que se creó el pago.
updated_at
La fecha en que se actualizó el pago por última vez.
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 orden de compras has one entry per orden de compra.