Hang Program stripe accounts API

The Program stripe accounts API from Hang — 2 operation(s) for program stripe accounts.

Operations 2

GET /v2/admin/program_stripe_accounts Get the program stripe account for a given program id #
POST /v2/admin/program_stripe_accounts/create Creates a program stripe account with included fields #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/hang:hang-program-stripe-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

hang-program-stripe-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Hang Partner API (params in:formData) Program stripe…
  description: 'The Partner API allows you to request various resources that can power your loyalty program.


    © Hang 2023'
  version: '1.0'
  x-copyright: '&copy Hang 2023'
servers:
- url: /partner-api
security:
- ApiKeyAuth: []
tags:
- name: Program stripe accounts
paths:
  /v2/admin/program_stripe_accounts:
    get:
      tags:
      - Program stripe accounts
      operationId: get_v2_admin_program_stripe_accounts
      summary: Get the program stripe account for a given program id
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                type: object
                properties:
                  program_stripe_account:
                    type: object
                    properties:
                      id:
                        type: string
                        description: The ID of the program stripe account object.
                      stripe_account_id:
                        type: string
                        description: The ID of the stripe account associated to the program.
                      program_id:
                        type: number
                        description: The ID of the program.
                      application_fee_percentage:
                        type: number
                        description: Percentage that a restaurant is charged for using Hang's ordering platform.
                    additionalProperties: false
                    required:
                    - id
                    - stripe_account_id
                    - program_id
                    - application_fee_percentage
                additionalProperties: false
                required:
                - program_stripe_account
      description: ''
  /v2/admin/program_stripe_accounts/create:
    post:
      tags:
      - Program stripe accounts
      operationId: post_v2_admin_program_stripe_accounts_create
      summary: Creates a program stripe account with included fields
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  program_stripe_account:
                    type: object
                    properties:
                      id:
                        type: string
                        description: The ID of the program stripe account object.
                      stripe_account_id:
                        type: string
                        description: The ID of the stripe account associated to the program.
                      program_id:
                        type: number
                        description: The ID of the program.
                      application_fee_percentage:
                        type: number
                        description: Percentage that a restaurant is charged for using Hang's ordering platform.
                    additionalProperties: false
                    required:
                    - id
                    - stripe_account_id
                    - program_id
                    - application_fee_percentage
                additionalProperties: false
                required:
                - program_stripe_account
      description: ''
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                stripe_account_id:
                  type: string
                  description: The ID of the stripe account associated to the program.
                application_fee_percentage:
                  type: number
                  description: Percentage that a restaurant is charged for using Hang's ordering platform.
              required:
              - stripe_account_id
          multipart/form-data:
            schema:
              type: object
              properties:
                stripe_account_id:
                  type: string
                  description: The ID of the stripe account associated to the program.
                application_fee_percentage:
                  type: number
                  description: Percentage that a restaurant is charged for using Hang's ordering platform.
              required:
              - stripe_account_id
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
x-provenance:
  method: harvested
  publisher: Hang
  source: https://firebasestorage.googleapis.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnDjUJ7LXq2gMv9rmEsrI%2Fimports%2F9Jq6a7ptZ1zZpcbGXBNq%2Fschema_swagger_form_data.json?alt=media&token=f20a8d6c-a561-4ac2-8ede-0d9b6f694b19
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)