{ "opencollection": "1.0.0", "info": { "name": "Paypal Subscriptions Authorizations Setup-Tokens API", "version": "1.6" }, "items": [ { "info": { "name": "Setup-Tokens", "type": "folder" }, "items": [ { "info": { "name": "Paypal Create a setup token", "type": "http" }, "http": { "method": "POST", "url": "https://api-m.sandbox.paypal.com/v3/vault/setup-tokens", "headers": [ { "name": "PayPal-Request-Id", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a Setup Token from the given payment source and adds it to the Vault of the associated customer." }, { "info": { "name": "Paypal Retrieve a setup token", "type": "http" }, "http": { "method": "GET", "url": "https://api-m.sandbox.paypal.com/v3/vault/setup-tokens/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the setup token." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns a readable representation of temporarily vaulted payment source associated with the setup token id." } ] } ], "bundled": true }