Marqeta accepted countries API

The accepted countries API from Marqeta — 2 operation(s) for accepted countries.

Operations 2

GET /acceptedcountries Lists all accepted countries #
GET /acceptedcountries/{token} Returns a specific accepted country #

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-accepted-countries-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-accepted-countries-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 API
  version: 3.0.39
servers:
- url: /v3
security:
- mqAppAndAccessToken: []
tags:
- name: accepted countries
paths:
  /acceptedcountries:
    get:
      operationId: getAcceptedcountries
      parameters:
      - description: Number of accepted countries to retrieve
        explode: true
        in: query
        name: count
        required: false
        schema:
          default: 5
          format: int32
          type: integer
        style: form
      - description: Start index
        explode: true
        in: query
        name: start_index
        required: false
        schema:
          default: 0
          format: int32
          type: integer
        style: form
      - description: Name
        explode: true
        in: query
        name: name
        required: false
        schema:
          type: string
        style: form
      - description: Whitelist
        explode: true
        in: query
        name: whitelist
        required: false
        schema:
          type: boolean
        style: form
      - description: Search type
        explode: true
        in: query
        name: search_type
        required: false
        schema:
          type: string
        style: form
      - description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
        explode: true
        in: query
        name: fields
        required: false
        schema:
          type: string
        style: form
      - description: Sort order
        explode: true
        in: query
        name: sort_by
        required: false
        schema:
          default: -lastModifiedTime
          type: string
        style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptedCountriesListResponse'
          description: Success
        '400':
          content: {}
          description: Bad request
        '500':
          content: {}
          description: Server failure
      summary: Lists all accepted countries
      tags:
      - accepted countries
  /acceptedcountries/{token}:
    get:
      operationId: getAcceptedcountriesToken
      parameters:
      - description: Accepted country token
        explode: false
        in: path
        name: token
        required: true
        schema:
          type: string
        style: simple
      - description: Comma-delimited list of fields to return (e.g. field_1,field_2,..). Leave blank to return all fields.
        explode: true
        in: query
        name: fields
        required: false
        schema:
          type: string
        style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accepted_countries_model'
          description: Success
        '400':
          content: {}
          description: Bad request
        '404':
          content: {}
          description: Accepted country not found
        '500':
          content: {}
          description: Server failure
      summary: Returns a specific accepted country
      tags:
      - accepted countries
components:
  schemas:
    AcceptedCountriesListResponse:
      properties:
        count:
          format: int32
          type: integer
        data:
          items:
            $ref: '#/components/schemas/accepted_countries_model'
          type: array
        end_index:
          format: int32
          type: integer
        is_more:
          default: false
          type: boolean
        start_index:
          format: int32
          type: integer
      type: object
    accepted_countries_model:
      properties:
        country_codes:
          items:
            type: string
          type: array
        created_time:
          format: date-time
          type: string
        is_whitelist:
          default: false
          type: boolean
        last_modified_time:
          format: date-time
          type: string
        name:
          type: string
        token:
          maxLength: 36
          minLength: 1
          type: string
      required:
      - country_codes
      - is_whitelist
      - name
      type: object
  securitySchemes:
    mqAppAndAccessToken:
      scheme: basic
      type: http