Skip to main content

Redeem gift card

POST 

/gift-card/redeem/

Redeem a gift card for cryptocurrency.

The gift card code must be in UUID format. Only the secret code (not the identification_code) can be used for redemption. Gift cards can only be redeemed for cryptocurrency, not fiat currency.

Request​

Body

required
    code_str stringrequired

    The secret code of the gift card in UUID format

    email emailrequired

    The email address of the customer

    to_asset stringrequired

    The cryptocurrency to receive

    destination_crypto_address stringrequired

    The cryptocurrency address to receive the funds

Responses​

The order representing the redeemed gift card.

Schema
    id string

    The ID of the redemption order

    email email

    The email address of the customer

    from_asset string

    The currency of the gift card

    to_asset string

    The cryptocurrency to receive

    from_amount float

    The value of the gift card

    status string

    The status of the redemption order

    created_at date-time

    The timestamp when the order was created

    funding_type string

    The funding type

    origin string

    The origin of the order

    destination_type string

    The type of destination

    destination_crypto_address string

    The cryptocurrency address to receive the funds

Loading...