Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Hang Redemptions API

The Redemptions API from Hang — 4 operation(s) for redemptions.

Hang Redemptions API is one of 18 APIs that Hang publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Redemptions. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and API documentation.

This API exposes 6 operations across 4 paths. It is described by OpenAPI 2.0, at version 2023.09.07.

Requests are made against the base URL https://loyalty.hang.xyz/partner-api.

6 operations 4 paths 0 schemas 2 GET4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
2023.09.07
Base URL
https://loyalty.hang.xyz/partner-api
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Hang Redemptions API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-Key (ApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 6

Across 4 paths, the API surfaces 6 operations — 2 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Redemptions 6
GET
/wallets/{wallet_address}/redemptions
Retrieve redemption history, if any, for a given walletaddress.
get_wallets_wallet_address_redemptions 1 param → 200
POST
/wallets/{wallet_address}/redemptions
Generate a redemption code for a given reward by providing the walletaddress, tokenid, and rewardid.
post_wallets_wallet_address_redemptions 3 params → 200401404
POST
/redemptions/{redemption_uuid}/redeem
Redeem a redemption code providing the uuid for the redemption record.
post_redemptions_redemption_uuid_redeem 1 param → 200404422
GET
/v2/program-memberships/{program_membership_id}/redemptions
Retrieve redemption history, if any, for a given program membership.
get_v2_program-memberships_program_membership_id_redemptions 1 param → 200
POST
/v2/program-memberships/{program_membership_id}/redemptions
Generate a redemption code for a given reward by providing the programmembershipid and rewardid.
post_v2_program-memberships_program_membership_id_redemptions 2 params → 200404
POST
/v2/redemptions/{redemption_uuid}/redeem
Redeem a redemption code providing the uuid for the redemption record.
post_v2_redemptions_redemption_uuid_redeem 1 param → 200404422

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

hang-redemptions-api-openapi.yml Raw ↑

Other APIs Hang publishes across the network.

Hang Activities API
Hang Loot Box Reward Choices API
Hang Loot box reward probabilities API
Hang Loot Boxes API
Hang Member Actions API
Hang Memberships API
Hang Program memberships API
Hang Program Tiers API
Hang ProgramMembershipPuzzles API
Hang Programs API
Hang Puzzles API
Hang Quests API