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.

Request

Body

    code_str stringrequired

    The gift card secret code (UUID format)

    email emailrequired

    The email of the user redeeming the gift card

    to_asset stringrequired

    The cryptocurrency to receive (cannot be fiat currency)

    destination_crypto_address stringrequired

    The crypto address to send the funds to

    origin string

    Possible values: [web]

    Default value: web

    The origin of the request (web only supported)

Responses

The order representing the redeemed gift card.

Schema
    id string
    email email
    from_asset string
    to_asset string
    from_amount float
    status string

    Possible values: [WAITING_FOR_DEPOSIT, DEPOSIT_RECEIVED, DEPOSIT_CONFIRMED, APPROVED, COMPLETED, CANCELED, EXPIRED, REJECTED, REFUNDED]

    created_at string
    funding_type string
    origin string
    destination_type string

    Possible values: [crypto]

    destination_crypto_address string
Loading...