Gift Card Validations

Operations related to validating gift cards.

Validate a Gift Card by Code

get

Checks the validity of a gift card based on its code and the value intended to be used.

Authorizations
AuthorizationstringRequired

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

Query parameters
gift_card_codestringRequired

The code of the gift card to validate.

Example: GIFT0C307PBFJC3A5
value_usedstringRequired

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

Example: 100
Responses
chevron-right
200

The validation result and details of the gift card.

application/json
get
/gift-cards/validate

Validate a Gift Card by ID

get

Checks the validity of a specific gift card by its ID and the value intended to be used.

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 validate.

Example: gift-148061360458405ee43a1a8
Query parameters
value_usedstringRequired

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

Example: 100
Responses
chevron-right
200

The validation result and details of the gift card.

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

Last updated