Clarafintech Cards API

Create, list, retrieve, lock, unlock, update, and cancel corporate cards.

Operations 6

GET /api/v3/cards List cards #
POST /api/v3/cards Create a card #
GET /api/v3/cards/{uuid} Get a card #
DELETE /api/v3/cards/{uuid} Cancel a card #
PATCH /api/v3/cards/{uuid}/lock Lock or unlock a card #
PATCH /api/v3/cards/{uuid}/threshold Update a card threshold #

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/clarafintech:clarafintech-cards-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

clarafintech-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clara Cards API
  summary: Corporate card and spend management API for Mexico, Brazil, and Colombia.
  description: Use the Clara API to manage corporate cards, retrieve transactions, provision users, reconcile billing statements, download transaction documents, and automate spend-management workflows. Every API request requires both mutual TLS and an OAuth 2.0 Bearer token. This docs-published schema is derived from the current Clara developer documentation and should be checked against backend-owned API contracts before being treated as exhaustive.
  version: 3.0.0
  contact:
    name: Clara Integration Support
    email: integration.support.mx@clara.team
    url: https://developers.clara.team
servers:
- url: https://public-api.mx.clara.com
  description: Mexico production
- url: https://public-api.br.clara.com
  description: Brazil production
- url: https://public-api.co.clara.com
  description: Colombia production
- url: https://public-api.mx.clara.com/api-test
  description: Mexico sandbox. Use the same paths without the leading /api segment when testing, for example /v3/transactions.
- url: https://public-api.br.clara.com/api-test
  description: Brazil sandbox. Use the same paths without the leading /api segment when testing, for example /v3/transactions.
- url: https://public-api.co.clara.com/api-test
  description: Colombia sandbox. Use the same paths without the leading /api segment when testing, for example /v3/transactions.
security:
- MutualTLS: []
  BearerAuth: []
tags:
- name: Cards
  description: Create, list, retrieve, lock, unlock, update, and cancel corporate cards.
paths:
  /api/v3/cards:
    get:
      operationId: listCardsV3
      summary: List cards
      description: List corporate cards with optional filters for cardholder, card status, periodicity, type, or ERP user ID.
      tags:
      - Cards
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/Size'
      - name: userUuid
        in: query
        description: Filter cards that belong to a specific user UUID. Do not combine with userErpId.
        schema:
          type: string
          format: uuid
      - name: username
        in: query
        description: Filter by the cardholder username or email.
        schema:
          type: string
      - name: status
        in: query
        description: Filter by card status.
        schema:
          type: string
          enum:
          - ACTIVE
          - BLOCKED
          - CANCELLED
          - EXPIRED
      - name: periodicity
        in: query
        description: Filter by spending-limit reset frequency.
        schema:
          $ref: '#/components/schemas/Periodicity'
      - name: type
        in: query
        description: Filter by card product and format type.
        schema:
          $ref: '#/components/schemas/CardListType'
      - name: userErpId
        in: query
        description: Filter by the cardholder ERP identifier. Do not combine with userUuid.
        schema:
          type: string
      responses:
        '200':
          description: Paginated cards.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardPageV3'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
    post:
      operationId: createCardV3
      summary: Create a card
      description: Create one virtual or physical card for an active user. Use webhooks or listCardsV3 to confirm asynchronous downstream state changes where applicable.
      tags:
      - Cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateCardRequestV3'
      responses:
        '200':
          description: Created card.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardV3'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/BusinessValidation'
  /api/v3/cards/{uuid}:
    get:
      operationId: getCardV3
      summary: Get a card
      description: Retrieve a single card by UUID.
      tags:
      - Cards
      parameters:
      - $ref: '#/components/parameters/CardUuid'
      responses:
        '200':
          description: Card details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardV3'
        '404':
          $ref: '#/components/responses/NotFound'
    delete:
      operationId: deleteCardV3
      summary: Cancel a card
      description: Cancel a card permanently. The card cannot be recovered after deletion.
      tags:
      - Cards
      parameters:
      - $ref: '#/components/parameters/CardUuid'
      responses:
        '204':
          description: Card cancelled.
        '404':
          $ref: '#/components/responses/NotFound'
  /api/v3/cards/{uuid}/lock:
    patch:
      operationId: setCardLockV3
      summary: Lock or unlock a card
      description: Lock or unlock one card. Use lockCode 16 for standard API-initiated locks.
      tags:
      - Cards
      parameters:
      - $ref: '#/components/parameters/CardUuid'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SetCardLockRequestV3'
      responses:
        '200':
          description: Updated card.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardV3'
        '404':
          $ref: '#/components/responses/NotFound'
  /api/v3/cards/{uuid}/threshold:
    patch:
      operationId: updateCardThresholdV3
      summary: Update a card threshold
      description: Update the spending limit for a card. The value is decimal currency units, not cents.
      tags:
      - Cards
      parameters:
      - $ref: '#/components/parameters/CardUuid'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCardThresholdRequestV3'
      responses:
        '200':
          description: Updated card.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardV3'
        '422':
          $ref: '#/components/responses/BusinessValidation'
components:
  schemas:
    ErrorResponse:
      type: object
      required:
      - message
      properties:
        code:
          type: string
          description: Machine-readable Clara or HTTP error code when available.
        message:
          type: string
          description: Human-readable error message.
        timestamp:
          type: string
          format: date-time
        details:
          type: array
          items:
            type: object
            additionalProperties: true
      additionalProperties: true
    UpdateCardThresholdRequestV3:
      type: object
      required:
      - threshold
      properties:
        threshold:
          type: number
          minimum: 0
          description: Decimal currency units, not cents.
      additionalProperties: false
    CreateCardRequestV3:
      type: object
      required:
      - type
      - alias
      - userUuid
      properties:
        type:
          $ref: '#/components/schemas/CreateCardType'
        alias:
          type: string
          minLength: 1
        userUuid:
          type: string
          format: uuid
        threshold:
          type: number
          description: Decimal currency units, not cents.
        periodicity:
          $ref: '#/components/schemas/Periodicity'
        businessType:
          $ref: '#/components/schemas/BusinessType'
      additionalProperties: false
    CreateCardType:
      type: string
      enum:
      - VIRTUAL
      - PHYSICAL
    StatusObject:
      type: object
      properties:
        code:
          type: string
        description:
          type: string
      additionalProperties: true
    CardPageV3:
      type: object
      required:
      - content
      - totalElements
      - totalPages
      - size
      - number
      properties:
        content:
          type: array
          items:
            $ref: '#/components/schemas/CardV3'
        totalElements:
          type: integer
        totalPages:
          type: integer
        size:
          type: integer
        number:
          type: integer
    SetCardLockRequestV3:
      type: object
      required:
      - lockCode
      properties:
        lockCode:
          type: integer
          description: Use 16 for a standard API-initiated lock.
      additionalProperties: false
    CardUser:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
        name:
          type: string
        fullName:
          type: string
        username:
          type: string
        email:
          type: string
          format: email
      additionalProperties: true
    CardListType:
      type: string
      enum:
      - MASTER_WORLD_ELITE
      - MASTER_CORPORATE
      - MASTER_VIRTUAL
      - VISA_PHYSICAL
      - VISA_VIRTUAL
    Periodicity:
      type: string
      enum:
      - DAILY
      - WEEKLY
      - MONTHLY
    BusinessType:
      type: string
      enum:
      - BUSINESS
      - WORLD_ELITE
    CardV3:
      type: object
      required:
      - uuid
      - alias
      - status
      - maskedPan
      - type
      properties:
        uuid:
          type: string
          format: uuid
        alias:
          type: string
        status:
          oneOf:
          - type: string
          - $ref: '#/components/schemas/StatusObject'
        claraStatus:
          type: string
          deprecated: true
          description: Deprecated as of May 2025. Use status instead.
        lockCode:
          type:
          - string
          - integer
          - 'null'
        maskedPan:
          type: string
        threshold:
          type: number
        periodicity:
          oneOf:
          - $ref: '#/components/schemas/Periodicity'
          - type: object
            properties:
              type:
                $ref: '#/components/schemas/Periodicity'
            additionalProperties: true
        type:
          oneOf:
          - $ref: '#/components/schemas/CardListType'
          - type: object
            additionalProperties: true
        user:
          $ref: '#/components/schemas/CardUser'
      additionalProperties: true
  responses:
    Unauthorized:
      description: Unauthorized. Refresh the token or verify mTLS certificate configuration.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: Forbidden. The token is valid but lacks permission for this resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BusinessValidation:
      description: Business validation error. The request is well formed but violates a Clara business rule.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Bad request. Fix invalid parameters or missing fields before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  parameters:
    CardUuid:
      name: uuid
      in: path
      required: true
      description: Card UUID.
      schema:
        type: string
        format: uuid
    Size:
      name: size
      in: query
      description: Number of records per page. Use 100 for large exports unless an endpoint documents a lower limit.
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 20
    Page:
      name: page
      in: query
      description: Zero-based page index.
      schema:
        type: integer
        minimum: 0
        default: 0
  securitySchemes:
    MutualTLS:
      type: mutualTLS
      description: All API requests require a valid Clara-issued X.509 client certificate.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth 2.0 Bearer token from /oauth/token.
    BasicAuth:
      type: http
      scheme: basic
      description: Use CLIENT_ID:CLIENT_SECRET when requesting an access token.
externalDocs:
  description: Clara API documentation
  url: https://developers.clara.team
x-source: Derived from the developers.clara.team documentation in this repository. Replace with the backend-owned OpenAPI contract if one is available.