Pin Payments Cards API

Tokenize and retrieve stored card details.

Operations 2

POST /cards Tokenize a card
GET /cards/{card_token} Retrieve a card

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/pin-payments-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

pin-payments-cards-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pin Payments Cards API
  description: A complete payments solution, built for speed and simplicity. The Pin Payments API enables you to charge cards, manage customers, issue refunds, store cards, and run subscriptions.
  version: '1.0'
  contact:
    name: Pin Payments
    url: https://pinpayments.com/developers/api-reference
servers:
- url: https://api.pinpayments.com/1
  description: Live
- url: https://test-api.pinpayments.com/1
  description: Test
security:
- basicAuth: []
tags:
- name: Cards
  description: Tokenize and retrieve stored card details.
paths:
  /cards:
    post:
      tags:
      - Cards
      summary: Tokenize a card
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CardCreate'
      responses:
        '201':
          description: Card tokenized
  /cards/{card_token}:
    get:
      tags:
      - Cards
      summary: Retrieve a card
      parameters:
      - in: path
        name: card_token
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Card details
components:
  schemas:
    CardCreate:
      type: object
      required:
      - number
      - expiry_month
      - expiry_year
      - cvc
      - name
      - address_line1
      - address_city
      - address_country
      properties:
        publishable_api_key:
          type: string
        number:
          type: string
        expiry_month:
          type: string
        expiry_year:
          type: string
        cvc:
          type: string
        name:
          type: string
        address_line1:
          type: string
        address_line2:
          type: string
        address_city:
          type: string
        address_postcode:
          type: string
        address_state:
          type: string
        address_country:
          type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: HTTP Basic with the API key as the username and an empty password.