Backend API

Fields
idobjectIdauto

Unique identifier for the gift card debit.

parent_idobjectIdrequired

The id of the parent gift card.

parentGift Card

Link to the parent gift card.

date_createddateauto

Date the debit is created.

date_updateddateauto

Date the debit was last updated.

amountcurrencyrequired

Amount of the debit transaction.

payment_idobjectId

The id of the related payment.

paymentPayment

Link to the associated payment.

refund_idobjectId

The id for the associated refund, if applicable.

refundRefund

Link to the associated refund, if applicable.

currencystring

Three-letter ISO currency code in uppercase. Defaults to your store's base currency.

The gift card debit model
{
  "parent_id": "5fd21b2b53c2be21778d1f7e",
  "payment_id": "5fd21b5353c2be21778d3293",
  "amount": 35,
  "currency": "USD",
  "date_created": "2020-12-10T12:57:55.651Z",
  "id": "5fd21b5353c2be21778d337d"
}