Marqeta cardholder balances API

The cardholder balances API from Marqeta — 3 operation(s) for cardholder balances.

Operations 3

GET /balances/account/{token} Returns account balance for an account #
GET /balances/user/{token} Returns account balances for a cardholder #
GET /balances/{token} Returns account balances for a cardholder #

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/marqeta-cardholder-balances-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

marqeta-cardholder-balances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@marqeta.com
    name: Marqeta
  description: Marqeta's Core API endpoints, conveniently annotated to enable code generation (including SDKs), test cases, and documentation. Currently in beta.
  termsOfService: https://www.marqeta.com/api-terms
  title: Core accepted countries cardholder balances API
  version: 3.0.39
servers:
- url: /v3
security:
- mqAppAndAccessToken: []
tags:
- name: cardholder balances
paths:
  /balances/account/{token}:
    get:
      description: balances/account/{token}
      operationId: getAccountBalancesToken
      parameters:
      - description: The unique token associated with the user or business account. This token is required to fetch the corresponding account balance.
        explode: false
        in: path
        name: token
        required: true
        schema:
          type: string
        style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/account_balance_response'
          description: Success
        '400':
          content: {}
          description: Bad request
        '404':
          content: {}
          description: Account not found
        '500':
          content: {}
          description: Server error
      summary: Returns account balance for an account
      tags:
      - cardholder balances
  /balances/user/{token}:
    get:
      description: /balances/user/{token}
      operationId: getUserAccountBalances
      parameters:
      - description: The unique token identifying the user or business. This token is required to retrieve the associated account balances.
        explode: false
        in: path
        name: token
        required: true
        schema:
          type: string
        style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user_accounts_balance_response'
          description: Success
        '400':
          content: {}
          description: Bad request
        '403':
          content: {}
          description: Forbidden
        '404':
          content: {}
          description: Account not found
        '500':
          content: {}
          description: Server error
      summary: Returns account balances for a cardholder
      tags:
      - cardholder balances
  /balances/{token}:
    get:
      operationId: getBalancesToken
      parameters:
      - description: User or Business token
        explode: false
        in: path
        name: token
        required: true
        schema:
          type: string
        style: simple
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cardholder_balances'
          description: Success
        '400':
          content: {}
          description: User input error/Bad request
        '500':
          content: {}
          description: Server error
      summary: Returns account balances for a cardholder
      tags:
      - cardholder balances
components:
  schemas:
    cardholder_balances:
      properties:
        gpa:
          $ref: '#/components/schemas/cardholder_balance'
        links:
          items:
            $ref: '#/components/schemas/link'
          type: array
          uniqueItems: true
      required:
      - gpa
      - links
      type: object
    CurrencyBalance:
      properties:
        available_balance:
          type: number
        cached_balance:
          type: number
        credit_balance:
          type: number
        impacted_amount:
          type: number
        ledger_balance:
          type: number
        pending_credits:
          type: number
      type: object
    link:
      properties:
        href:
          readOnly: true
          type: string
        method:
          type: string
        rel:
          type: string
      required:
      - href
      - method
      - rel
      type: object
    account_balance:
      properties:
        balances:
          additionalProperties:
            $ref: '#/components/schemas/CurrencyBalance'
          type: object
        default_currency_code:
          type: string
        description:
          type: string
        impacted_amount:
          type: number
        last_updated_time:
          format: date-time
          type: string
        token:
          type: string
        type:
          type: string
      type: object
    account_balance_response:
      properties:
        account_balance:
          $ref: '#/components/schemas/account_balance'
      type: object
    user_accounts_balance_response:
      properties:
        account_balances:
          items:
            $ref: '#/components/schemas/account_balance'
          type: array
        user_token:
          type: string
      required:
      - account_balances
      type: object
    cardholder_balance:
      description: Returns general purpose account (GPA) balances for a user or business.
      properties:
        available_balance:
          description: 'Ledger balance minus any authorized transactions that have not yet cleared.

            Also known as the cardholder''s purchasing power.

            When using JIT Funding, this balance is usually equal to $0.00.'
          type: number
        balances:
          additionalProperties:
            $ref: '#/components/schemas/cardholder_balance'
          description: Contains GPA balance information, organized by currency code.
          type: object
        cached_balance:
          description: Not currently in use.
          type: number
        credit_balance:
          description: Not currently in use.
          type: number
        currency_code:
          description: Three-digit ISO 4217 currency code.
          type: string
        impacted_amount:
          description: Balance change based on the amount of the transaction.
          type: number
        last_updated_time:
          description: Date and time when the resource was last updated, in UTC.
          format: date-time
          type: string
        ledger_balance:
          description: 'When using standard funding: The funds that are available to spend immediately, including funds from any authorized transactions that have not yet cleared.

            When using Just-in-Time (JIT) Funding: Authorized funds that are currently on hold, but not yet cleared.'
          type: number
        pending_credits:
          description: ACH loads that have been accepted, but for which the funding time has not yet elapsed.
          type: number
      required:
      - available_balance
      - balances
      - credit_balance
      - currency_code
      - last_updated_time
      - ledger_balance
      - pending_credits
      type: object
  securitySchemes:
    mqAppAndAccessToken:
      scheme: basic
      type: http