<- Object

Object

All versions ->

GiftCardActivityActivateBeta

Describes a gift card activity of the ACTIVATE type.

Link to section

Properties

Link to section

amount_money

The amount of money to add to the card. This is required if your application does not use the Square Orders API.

Link to section

order_id

string

The ID of the order associated with the activity. This is required if your application uses the Square Orders API.

Link to section

line_item_uid

string

The line_item_uid of the gift card line item in an order. This is required if your application uses the Square Orders API.

Link to section

reference_id

string

If your application does not use the Square Orders API, you can optionally use this field to associate the gift card activity with a client-side entity.

Link to section

buyer_payment_instrument_ids

string [ ]

Required if your application does not use the Square Orders API. This is a list of client-provided payment instrument IDs. Square uses this information to perform compliance checks. If you use the Square Orders API, Square has the necessary instrument IDs to perform necessary compliance checks.