Redeem a gift card

Charges an amount to a gift card. If the gift card has a customer email linked, a notification email will be sent to the gift card holder's email address.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
int64

The amount in cents to redeem of the gift card balance. The amount is not required if the external_order_id field is provided. In this case the required amount to cover the due amount of the external order is charged to the gift card's balance. If the due amount of the external order is greater than the available balance of the gift card, the available balance of the gift card is applied to the order.

string

The external ID of location in the gift card program. This ID is can be provided instead of the location_id field. This location will be used for the charge transaction. If this field is left empty, the primary location of the gift card program will be used.

string

The ID of an external order to which the redemption amount will be applied. The order details will be retrieved from the location identified by either the provided location_id or external_location_id field and a gift card payment will be applied to the order for the charged amount.

string
required

A unique identifier for this request, used to ensure idempotency. For more information, see Idempotency.

string

The ID of location in the gift card program. This location will be used for the charge transaction. If this field is left empty the external_location_id will be used.

metadata
object
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json