Paypal Vault Payment Tokens V3
PayPal Vault Payment Tokens is an API for securely storing and managing tokenized customer payment methods for later PayPal payments.
- Base URL:
https://api-m.sandbox.paypal.com - Auth: OAuth 2.0 client-credentials — the tool fetches a token from
/v1/oauth2/tokenusing yourclientId/clientSecret, then calls the API.
Operations
customer_payment_tokens_get— GET /v3/vault/payment-tokens — List all payment tokenspayment_tokens_get— GET /v3/vault/payment-tokens/{id} — Retrieve a payment tokensetup_tokens_get— GET /v3/vault/setup-tokens/{id} — Retrieve a setup tokenpayment_tokens_create— POST /v3/vault/payment-tokens — Create payment token for a given payment sourcepayment_tokens_delete— DELETE /v3/vault/payment-tokens/{id} — Delete payment tokensetup_tokens_create— POST /v3/vault/setup-tokens — Create a setup token
Inputs
clientId/clientSecret— your paypal-vault-payment-tokens-v3 OAuth app credentialsscope— OAuth scopes (optional; defaults from the spec)operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: customer_payment_tokens_get
clientId: <your client id>
clientSecret: <your client secret>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
clientId |
string | yes | — | OAuth client ID for paypal-vault-payment-tokens-v3. |
clientSecret |
string | yes | — | OAuth client secret for paypal-vault-payment-tokens-v3. |
operation |
string | yes | — | One of: customer_payment_tokens_get, payment_tokens_get, setup_tokens_get, payment_tokens_create, payment_tokens_delete, setup_tokens_create |
scope |
string | no | https://uri.paypal.com/services/vault/payment-tokens/readwrite https://uri.paypal.com/services/vault/payment-tokens/read https://uri.paypal.com/services/vault/customers/read https://uri.paypal.com/services/vault/customers/readwrite |
OAuth scopes (space-separated); default from the spec. |
id |
string | no | — | Path parameter id (required by some operations). |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |