Gift Card Redemptions

Operations related to gift card redemptions.

List Gift Card Redemptions

get

Retrieves the redemption history for a specific gift card.

Authorizations
AuthorizationstringRequired

Basic Authentication requires a Base64 encoded string of your <Merchant_Id>:<Api_Key>.

Path parameters
gift_card_idstringRequired

The unique identifier of the gift card.

Example: gift-148061212058405918eee94
Responses
200

A successful response with the gift card's redemption history.

application/json
get
/gift-cards/{gift_card_id}/redemptions

Create a Gift Card Redemption

post

Redeems a specific gift card by its ID.

Authorizations
AuthorizationstringRequired

Basic Authentication requires a Base64 encoded string of your <Merchant_Id>:<Api_Key>.

Path parameters
gift_card_idstringRequired

The unique identifier of the gift card to redeem.

Example: gift-148061360458405ee43a1a8
Body
user_idstringOptional
user_emailstring · emailOptional
user_phonestringOptional
value_usednumberRequired

The amount of value to be used from the gift card.

Responses
post
/gift-cards/{gift_card_id}/redemptions

Retrieve a specific Redemption

get

Retrieves the details of a single gift card redemption.

Authorizations
AuthorizationstringRequired

Basic Authentication requires a Base64 encoded string of your <Merchant_Id>:<Api_Key>.

Path parameters
gift_card_idstringRequired

The unique identifier of the gift card.

Example: gift-148061360458405ee43a1a8
redemption_idstringRequired

The unique identifier of the redemption.

Example: res-148061693358406be5cbe66
Responses
200

A successful response with the redemption details.

application/json
get
/gift-cards/{gift_card_id}/redemptions/{redemption_id}

Delete a Redemption

delete

Permanently deletes a specific gift card redemption.

Authorizations
AuthorizationstringRequired

Basic Authentication requires a Base64 encoded string of your <Merchant_Id>:<Api_Key>.

Path parameters
gift_card_idstringRequired

The unique identifier of the gift card.

Example: gift-148061360458405ee43a1a8
redemption_idstringRequired

The unique identifier of the redemption to delete.

Example: res-148061693358406be5cbe66
Responses
delete
/gift-cards/{gift_card_id}/redemptions/{redemption_id}

No content

Last updated