On this page
No Headings
Oauth 2.0 authentication.
In: header
Scope: https://uri.paypal.com/services/checkout/payment-resources
A non-negative, non-zero integer indicating the maximum number of results to return at one time. This parameter must only be provided on initial request and not combined with page_token.
101 <= value <= 100An opaque value representing the page to navigate to.
[a-zA-Z0-9_-]1 <= length <= 255A boolean indicating total number of items and pages are expected to be returned in the response.
falseThe media type. Required for operations with a request body. The value is application/<format>, where format is json.
^[A-Za-z0-9/+-]+$1 <= length <= 255An API-caller-provided JSON Web Token (JWT) assertion that identifies the merchant. For details, see PayPal-Auth-Assertion.
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api-m.sandbox.paypal.com/v1/checkout/payment-resources"{
"resources": [
{
"id": "string",
"payment_link": "string",
"links": [
{
"href": "string",
"rel": "string",
"method": "GET"
}
],
"create_time": "stringstringstringst",
"update_time": "stringstringstringst",
"status": "ACTIVE",
"integration_mode": "LINK",
"type": "BUY_NOW",
"reusable": "MULTIPLE",
"return_url": "http://example.com",
"line_items": [
{
"name": "string",
"product_id": "string",
"description": "string",
"unit_amount": {
"currency_code": "str",
"value": "string"
},
"taxes": [
{
"name": "string",
"type": "PERCENTAGE",
"value": "string"
}
],
"shipping": [
{
"type": "FLAT",
"value": "string"
}
],
"collect_shipping_address": true,
"customer_notes": [
{
"required": true,
"label": "string"
}
],
"variants": {
"dimensions": [
{
"name": "string",
"primary": true,
"options": [
{
"label": "string",
"unit_amount": {
"currency_code": "str",
"value": "string"
}
}
]
}
]
},
"adjustable_quantity": {
"maximum": 1
}
}
]
}
],
"total_items": 0,
"total_pages": 1,
"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"
}
]
}{
"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"
}
]
}