Generated by API Evangelist
Written by API Evangelist tooling for Pin Payments's API. It is a proposal applied on top of the contract, not a document Pin Payments publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Pin Payments Cards API
version: 1.0.0
extends: openapi/pin-payments-cards-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-21'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 2
- target: $.paths['/cards'].post
update:
x-apievangelist-phrasing:
intent: Tokenize a card
effect: write
questions:
- How do I turn a card number into a token so I can charge it later?
- Can I tokenize a card with just its number, expiry, CVC and name?
instructions:
- text: Tokenize card {number} expiring {expiry_month}/{expiry_year}, CVC {cvc}, name {name}, address {address_line1}, country {address_country}.
slots:
number: requestBody.number
expiry_month: requestBody.expiry_month
expiry_year: requestBody.expiry_year
cvc: requestBody.cvc
name: requestBody.name
address_line1: requestBody.address_line1
address_country: requestBody.address_country
- text: Create a card token for {name} on {number} ({expiry_month}/{expiry_year}, CVC {cvc}, {address_line1}, {address_city}, {address_country}).
slots:
name: requestBody.name
number: requestBody.number
expiry_month: requestBody.expiry_month
expiry_year: requestBody.expiry_year
cvc: requestBody.cvc
address_line1: requestBody.address_line1
address_city: requestBody.address_city
address_country: requestBody.address_country
method: generated
generated: '2026-11-21'
- target: $.paths['/cards/{card_token}'].get
update:
x-apievangelist-phrasing:
intent: Retrieve a stored card
effect: read
questions:
- How do I look up a card token I stored earlier?
- What details are saved on a card token?
instructions:
- text: Retrieve card {card_token}.
slots:
card_token: path.card_token
- text: Show the stored card with token {card_token}.
slots:
card_token: path.card_token
method: generated
generated: '2026-11-21'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.