Akash Network Payment API

The Payment API from Akash Network — 11 operation(s) for payment.

Operations 12

GET /v1/stripe/prices Get available Stripe pricing options
POST /v1/stripe/coupons/apply Apply a coupon to the current user
PUT /v1/stripe/customers/organization Update customer organization
POST /v1/stripe/payment-methods/setup Create a Stripe SetupIntent for adding a payment method
POST /v1/stripe/payment-methods/default Marks a payment method as the default.
GET /v1/stripe/payment-methods/default Get the default payment method for the current user
GET /v1/stripe/payment-methods Get all payment methods for the current user
DELETE /v1/stripe/payment-methods/{paymentMethodId} Remove a payment method
POST /v1/stripe/payment-methods/validate Validates a payment method after 3D Secure authentication
POST /v1/stripe/transactions/confirm Confirm a payment using a saved payment method
GET /v1/stripe/transactions Get transaction history for the current customer
GET /v1/stripe/transactions/export Export transaction history as CSV for the current customer

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/akash-payment-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

akash-payment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: AKASH - gRPC Gateway docs Addresses Payment API
  description: A REST interface for state queries
  version: 1.0.0
servers:
- url: https://console-api.akash.network/
tags:
- name: Payment
paths:
  /v1/stripe/prices:
    get:
      summary: Get available Stripe pricing options
      description: Retrieves the list of available pricing options for wallet top-ups, including custom amounts and standard pricing tiers
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: Available pricing options retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        currency:
                          type: string
                        unitAmount:
                          type: number
                        isCustom:
                          type: boolean
                      required:
                      - currency
                      - unitAmount
                      - isCustom
                required:
                - data
  /v1/stripe/coupons/apply:
    post:
      summary: Apply a coupon to the current user
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    couponId:
                      type: string
                    userId:
                      type: string
                    awaitResolved:
                      type: boolean
                  required:
                  - couponId
                  - userId
              required:
              - data
      responses:
        '200':
          description: Coupon applied successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      coupon:
                        type:
                        - object
                        - 'null'
                        properties:
                          id:
                            type: string
                          percent_off:
                            type:
                            - number
                            - 'null'
                          amount_off:
                            type:
                            - number
                            - 'null'
                          valid:
                            type:
                            - boolean
                            - 'null'
                          name:
                            type:
                            - string
                            - 'null'
                          description:
                            type:
                            - string
                            - 'null'
                        required:
                        - id
                      amountAdded:
                        type: number
                      transactionId:
                        type: string
                      transactionStatus:
                        type: string
                        enum:
                        - created
                        - pending
                        - requires_action
                        - succeeded
                        - failed
                        - refunded
                        - canceled
                      error:
                        type: object
                        properties:
                          message:
                            type: string
                          code:
                            type: string
                          type:
                            type: string
                        required:
                        - message
                required:
                - data
  /v1/stripe/customers/organization:
    put:
      summary: Update customer organization
      description: Updates the organization/business name for the current user's Stripe customer account
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                organization:
                  type: string
              required:
              - organization
      responses:
        '204':
          description: Organization updated successfully
  /v1/stripe/payment-methods/setup:
    post:
      summary: Create a Stripe SetupIntent for adding a payment method
      description: Creates a Stripe SetupIntent that allows users to securely add payment methods to their account. The SetupIntent provides a client secret that can be used with Stripe's frontend SDKs to collect payment method details.
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: SetupIntent created successfully with client secret
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      clientSecret:
                        type:
                        - string
                        - 'null'
                    required:
                    - clientSecret
                required:
                - data
  /v1/stripe/payment-methods/default:
    post:
      summary: Marks a payment method as the default.
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    id:
                      type: string
                  required:
                  - id
              required:
              - data
      responses:
        '200':
          description: Payment method is marked as the default successfully.
    get:
      summary: Get the default payment method for the current user
      description: Retrieves the default payment method associated with the current user's account, including card details, validation status, and billing information.
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: Default payment method retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      type:
                        type: string
                      validated:
                        type: boolean
                      isDefault:
                        type: boolean
                      card:
                        type:
                        - object
                        - 'null'
                        properties:
                          brand:
                            type:
                            - string
                            - 'null'
                          last4:
                            type:
                            - string
                            - 'null'
                          exp_month:
                            type: number
                          exp_year:
                            type: number
                          funding:
                            type:
                            - string
                            - 'null'
                          country:
                            type:
                            - string
                            - 'null'
                          network:
                            type:
                            - string
                            - 'null'
                          three_d_secure_usage:
                            type:
                            - object
                            - 'null'
                            properties:
                              supported:
                                type:
                                - boolean
                                - 'null'
                        required:
                        - brand
                        - last4
                        - exp_month
                        - exp_year
                      link:
                        type:
                        - object
                        - 'null'
                        properties:
                          email:
                            type:
                            - string
                            - 'null'
                      billing_details:
                        type: object
                        properties:
                          address:
                            type:
                            - object
                            - 'null'
                            properties:
                              city:
                                type:
                                - string
                                - 'null'
                              country:
                                type:
                                - string
                                - 'null'
                              line1:
                                type:
                                - string
                                - 'null'
                              line2:
                                type:
                                - string
                                - 'null'
                              postal_code:
                                type:
                                - string
                                - 'null'
                              state:
                                type:
                                - string
                                - 'null'
                            required:
                            - city
                            - country
                            - line1
                            - line2
                            - postal_code
                            - state
                          email:
                            type:
                            - string
                            - 'null'
                          name:
                            type:
                            - string
                            - 'null'
                          phone:
                            type:
                            - string
                            - 'null'
                    required:
                    - type
                required:
                - data
        '404':
          description: Default payment method not found
  /v1/stripe/payment-methods:
    get:
      summary: Get all payment methods for the current user
      description: Retrieves all saved payment methods associated with the current user's account, including card details, validation status, and billing information.
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      responses:
        '200':
          description: Payment methods retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        type:
                          type: string
                        validated:
                          type: boolean
                        isDefault:
                          type: boolean
                        card:
                          type:
                          - object
                          - 'null'
                          properties:
                            brand:
                              type:
                              - string
                              - 'null'
                            last4:
                              type:
                              - string
                              - 'null'
                            exp_month:
                              type: number
                            exp_year:
                              type: number
                            funding:
                              type:
                              - string
                              - 'null'
                            country:
                              type:
                              - string
                              - 'null'
                            network:
                              type:
                              - string
                              - 'null'
                            three_d_secure_usage:
                              type:
                              - object
                              - 'null'
                              properties:
                                supported:
                                  type:
                                  - boolean
                                  - 'null'
                          required:
                          - brand
                          - last4
                          - exp_month
                          - exp_year
                        link:
                          type:
                          - object
                          - 'null'
                          properties:
                            email:
                              type:
                              - string
                              - 'null'
                        billing_details:
                          type: object
                          properties:
                            address:
                              type:
                              - object
                              - 'null'
                              properties:
                                city:
                                  type:
                                  - string
                                  - 'null'
                                country:
                                  type:
                                  - string
                                  - 'null'
                                line1:
                                  type:
                                  - string
                                  - 'null'
                                line2:
                                  type:
                                  - string
                                  - 'null'
                                postal_code:
                                  type:
                                  - string
                                  - 'null'
                                state:
                                  type:
                                  - string
                                  - 'null'
                              required:
                              - city
                              - country
                              - line1
                              - line2
                              - postal_code
                              - state
                            email:
                              type:
                              - string
                              - 'null'
                            name:
                              type:
                              - string
                              - 'null'
                            phone:
                              type:
                              - string
                              - 'null'
                      required:
                      - type
                required:
                - data
  /v1/stripe/payment-methods/{paymentMethodId}:
    delete:
      summary: Remove a payment method
      description: Permanently removes a saved payment method from the user's account. This action cannot be undone.
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      parameters:
      - schema:
          type: string
          description: The unique identifier of the payment method to remove
          example: pm_1234567890
        required: true
        name: paymentMethodId
        in: path
      responses:
        '204':
          description: Payment method removed successfully
  /v1/stripe/payment-methods/validate:
    post:
      summary: Validates a payment method after 3D Secure authentication
      description: Completes the validation process for a payment method that required 3D Secure authentication. This endpoint should be called after the user completes the 3D Secure challenge.
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    paymentMethodId:
                      type: string
                    paymentIntentId:
                      type: string
                  required:
                  - paymentMethodId
                  - paymentIntentId
              required:
              - data
      responses:
        '200':
          description: Payment method validated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                required:
                - success
  /v1/stripe/transactions/confirm:
    post:
      summary: Confirm a payment using a saved payment method
      description: Processes a payment using a previously saved payment method. This endpoint handles wallet top-ups and may require 3D Secure authentication for certain payment methods or amounts.
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    userId:
                      type: string
                    paymentMethodId:
                      type: string
                    amount:
                      type: number
                      minimum: 20
                    currency:
                      type: string
                    awaitResolved:
                      type: boolean
                  required:
                  - userId
                  - paymentMethodId
                  - amount
                  - currency
              required:
              - data
      responses:
        '200':
          description: Payment processed successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      success:
                        type: boolean
                      requiresAction:
                        type: boolean
                      clientSecret:
                        type: string
                      paymentIntentId:
                        type: string
                      transactionId:
                        type: string
                      transactionStatus:
                        type: string
                        enum:
                        - created
                        - pending
                        - requires_action
                        - succeeded
                        - failed
                        - refunded
                        - canceled
                    required:
                    - success
                    - transactionId
                required:
                - data
        '202':
          description: 3D Secure authentication required to complete payment
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      success:
                        type: boolean
                      requiresAction:
                        type: boolean
                      clientSecret:
                        type: string
                      paymentIntentId:
                        type: string
                      transactionId:
                        type: string
                      transactionStatus:
                        type: string
                        enum:
                        - created
                        - pending
                        - requires_action
                        - succeeded
                        - failed
                        - refunded
                        - canceled
                    required:
                    - success
                    - transactionId
                required:
                - data
  /v1/stripe/transactions:
    get:
      summary: Get transaction history for the current customer
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      parameters:
      - schema:
          type: number
          description: Number of transactions to return
          minimum: 1
          maximum: 100
          example: 100
          default: 100
        required: false
        name: limit
        in: query
      - schema:
          type: string
          description: ID of the last transaction from the previous page (if paginating forwards)
          example: ch_1234567890
        required: false
        name: startingAfter
        in: query
      - schema:
          type: string
          description: ID of the first transaction from the previous page (if paginating backwards)
          example: ch_0987654321
        required: false
        name: endingBefore
        in: query
      - schema:
          type: string
          format: date-time
          description: Start date for filtering transactions (inclusive)
          example: '2025-01-01T00:00:00Z'
        required: false
        name: startDate
        in: query
      - schema:
          type: string
          format: date-time
          description: End date for filtering transactions (inclusive)
          example: '2025-01-02T00:00:00Z'
        required: false
        name: endDate
        in: query
      responses:
        '200':
          description: Customer transactions retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      transactions:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            amount:
                              type: number
                            currency:
                              type: string
                            status:
                              type: string
                            created:
                              type: number
                            paymentMethod:
                              type:
                              - object
                              - 'null'
                              properties:
                                type:
                                  type: string
                                validated:
                                  type: boolean
                                isDefault:
                                  type: boolean
                                card:
                                  type:
                                  - object
                                  - 'null'
                                  properties:
                                    brand:
                                      type:
                                      - string
                                      - 'null'
                                    last4:
                                      type:
                                      - string
                                      - 'null'
                                    exp_month:
                                      type: number
                                    exp_year:
                                      type: number
                                    funding:
                                      type:
                                      - string
                                      - 'null'
                                    country:
                                      type:
                                      - string
                                      - 'null'
                                    network:
                                      type:
                                      - string
                                      - 'null'
                                    three_d_secure_usage:
                                      type:
                                      - object
                                      - 'null'
                                      properties:
                                        supported:
                                          type:
                                          - boolean
                                          - 'null'
                                  required:
                                  - brand
                                  - last4
                                  - exp_month
                                  - exp_year
                                link:
                                  type:
                                  - object
                                  - 'null'
                                  properties:
                                    email:
                                      type:
                                      - string
                                      - 'null'
                                billing_details:
                                  type: object
                                  properties:
                                    address:
                                      type:
                                      - object
                                      - 'null'
                                      properties:
                                        city:
                                          type:
                                          - string
                                          - 'null'
                                        country:
                                          type:
                                          - string
                                          - 'null'
                                        line1:
                                          type:
                                          - string
                                          - 'null'
                                        line2:
                                          type:
                                          - string
                                          - 'null'
                                        postal_code:
                                          type:
                                          - string
                                          - 'null'
                                        state:
                                          type:
                                          - string
                                          - 'null'
                                      required:
                                      - city
                                      - country
                                      - line1
                                      - line2
                                      - postal_code
                                      - state
                                    email:
                                      type:
                                      - string
                                      - 'null'
                                    name:
                                      type:
                                      - string
                                      - 'null'
                                    phone:
                                      type:
                                      - string
                                      - 'null'
                              required:
                              - type
                            receiptUrl:
                              type:
                              - string
                              - 'null'
                            description:
                              type:
                              - string
                              - 'null'
                            metadata:
                              type:
                              - object
                              - 'null'
                              additionalProperties:
                                type: string
                          required:
                          - id
                          - amount
                          - currency
                          - status
                          - created
                          - paymentMethod
                      hasMore:
                        type: boolean
                      nextPage:
                        type:
                        - string
                        - 'null'
                    required:
                    - transactions
                    - hasMore
                required:
                - data
  /v1/stripe/transactions/export:
    get:
      summary: Export transaction history as CSV for the current customer
      tags:
      - Payment
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      parameters:
      - schema:
          type: string
          description: Timezone for date formatting in the CSV
          example: America/New_York
        required: true
        name: timezone
        in: query
      - schema:
          type: string
          format: date-time
          description: Start date for filtering transactions (inclusive)
          example: '2025-01-01T00:00:00Z'
        required: true
        name: startDate
        in: query
      - schema:
          type: string
          format: date-time
          description: End date for filtering transactions (inclusive)
          example: '2025-01-02T00:00:00Z'
        required: true
        name: endDate
        in: query
      responses:
        '200':
          description: CSV file with transaction data
          content:
            text/csv:
              schema:
                type: string
                format: binary
components:
  securitySchemes:
    kms:
      type: http
      scheme: basic