On this page
No Headings
Oauth 2.0 authentication
Client CredentialsToken URLhttps://api-m.sandbox.paypal.com/v1/oauth2/tokenInheaderScopes
https://uri.paypal.com/services/vault/payment-tokens/readwriteA unique identifier representing a specific customer in merchant's/partner's system or records.
^[0-9a-zA-Z_-]+$7 <= length <= 36A non-negative, non-zero integer indicating the maximum number of results to return at one time.
51 <= value <= 5A non-negative, non-zero integer representing the page of the results.
11 <= value <= 10A boolean indicating total number of items (total_items) and pages (total_pages) are expected to be returned in the response.
falseSpecifies the request format.
^[A-Za-z0-9/+-]+$1 <= length <= 255application/json
application/json
application/json
application/json
curl -X GET "https://api-m.sandbox.paypal.com/v3/vault/payment-tokens?customer_id=strings"{
"total_items": 1,
"total_pages": 1,
"customer": {
"id": "string",
"merchant_customer_id": "string"
},
"payment_tokens": [],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}{
"name": "string",
"message": "string",
"debug_id": "string",
"details": [
{
"field": "string",
"value": "string",
"location": "body",
"issue": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"description": "string"
}
],
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
]
}