Retrieve a setup token

GET {{base_url}}/v3/vault/setup-tokens/:setup_token_id

Returns a readable representation of temporarily vaulted payment source associated with the setup token id.

HEADERS

| Key | Datatype | Required | Description | | Content-Type | string | | The Content-Type header field is used to specify the nature of the data in the body of an entity. PayPal REST APIs support application/json. | | PayPal-Request-Id | string | | The server stores keys for 6 hours. The API callers can request the times to up to 72 hours by speaking to their Account Manager. | | PayPal-Auth-Assertion | string | | An API client-provided JSON Web Token (JWT) assertion that identifies the merchant. To use this header, you must get consent to act on behalf of a merchant. |

RESPONSES

status: OK

{"id":"85Y15182AJ132912C","customer":{"id":"GYzSRHSEAu"},"status":"PAYER_ACTION_REQUIRED","payment_source":{"card":{"last_digits":"9482","brand":"VISA","expiry":"2027-02","billing_address":{"address_line_1":"2211 N First Street","address_line_2":"17.3.160","admin_area_2":"San Jose","admin_area_1":"CA","postal_code":"95131","country_code":"US"}}},"links":[{"href":"https://api.sandbox.paypal.com/v3/vault/setup-tokens/85Y15182AJ132912C","rel":"self","method":"GET","encType":"application/json"},{"href":"https://www.sandbox.paypal.com/webapps/helios?action=authenticate\u0026token=28A9864342204934F","rel":"approve","method":"GET","encType":"application/json"}]}