PayPal Payment-Tokens API

Use the `/vault/payment-tokens` resource to create, retrieve, and delete a payment token that may optionally be associated with a customer.

GitHub OpenAPI
Business capability
Consumer Payment Options AE-140.30

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v3/vault/payment-tokens Save a payment method as a vault token · Paypal Create payment token for a given payment source #
Ask an LLM
“How do I save a card or bank account so a customer doesn't have to re-enter it?”
“Can I attach metadata when creating a vaulted payment token?”
Tell an agent
Create a payment token for {payment_source} for customer {customer}.
Vault {payment_source} for {customer} with request ID {request_id}.
GET /v3/vault/payment-tokens List a customer's saved payment tokens · Paypal List all payment tokens #
Ask an LLM
“Which saved cards or bank accounts does a customer have on file?”
“Can I page through all of a customer's vaulted payment tokens?”
Tell an agent
List payment tokens for customer {customer_id}.
Show page {page} of {customer_id}'s saved payment tokens.
GET /v3/vault/payment-tokens/{id} Retrieve one saved payment token · Paypal Retrieve a payment token #
Ask an LLM
“What card or bank account details are stored in a particular vault token?”
“Can I look up a single saved payment token by its ID?”
Tell an agent
Get payment token {id}.
Show the vaulted payment source behind token {id}.
DELETE /v3/vault/payment-tokens/{id} Delete a saved payment token · Paypal Delete payment token #
Ask an LLM
“How do I remove a card or bank account from a customer's vault?”
“Can I delete a payment token I no longer need?”
Tell an agent destructive · confirm first
Delete payment token {id}.
Remove the vaulted payment source {id} from the customer's vault.

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/paypal:paypal-payment-tokens-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

paypal-payment-tokens-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Paypal Payment Method Tokens Payment Tokens API
  description: The Payment Method Tokens API saves payment methods so payers don't have to enter details for future transactions.
  version: '3.1'
  contact: {}
servers:
- url: https://api-m.sandbox.paypal.com
  description: PayPal Sandbox Environment
- url: https://api-m.paypal.com
  description: PayPal Live Environment
tags:


# --- truncated at 32 KB (58 KB total) ---
# Full source: https://artifacts.apis.io/paypal/openapi/paypal-payment-tokens-api-openapi.yml