swagger: '2.0' info: title: Hang Partner API (params in:formData) Activities Wallet Integration API description: '

The Partner API allows you to request various resources that can power your loyalty program.

© Hang 2023' version: 2023.09.07 x-copyright: '© Hang 2023' basePath: /partner-api schemes: - https consumes: - application/x-www-form-urlencoded - multipart/form-data security: - ApiKeyAuth: [] tags: - name: Wallet Integration paths: /integrations/search: post: tags: - Wallet Integration consumes: - application/x-www-form-urlencoded - multipart/form-data operationId: post_integrations_search summary: Get a wallet integration with either a wallet or an email address. parameters: - name: wallet_address type: string in: formData required: true description: wallet_address to associate with the email address - name: email type: string in: formData required: true description: email address to associate with the wallet address responses: '200': description: OK schema: type: object properties: email: type: string description: email address to associate with the wallet address wallet_address: type: string description: wallet_address to associate with the email address provider: type: string description: Wallet integration provider additionalProperties: false required: - email - wallet_address - provider description: Get the email address associated with the specified wallet address or vice versa. /integrations: post: tags: - Wallet Integration consumes: - application/x-www-form-urlencoded - multipart/form-data operationId: post_integrations summary: Create or update a wallet integration with the email and wallet address parameters: - name: wallet_address type: string in: formData required: true description: wallet_address to associate with the email address - name: email type: string in: formData required: true description: email address to associate with the wallet address responses: '200': description: OK schema: type: object properties: email: type: string description: email address to associate with the wallet address wallet_address: type: string description: wallet_address to associate with the email address provider: type: string description: Wallet integration provider additionalProperties: false required: - email - wallet_address - provider description: Create or update a wallet integration with the email and wallet address securityDefinitions: ApiKeyAuth: type: apiKey in: header name: X-API-Key