Skip to main content
GET
List templates

Authorizations

Authorization
string
header
required

Oauth 2.0 authentication

Query Parameters

fields
string
default:all

The fields to return in the response. Value is all or none. To return only the template name, ID, and default attributes, specify none.

Maximum string length: 2147483647
Pattern: ^(all|none)$
page
integer
default:1

The page number to be retrieved, for the list of templates. So, a combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.

Required range: 1 <= x <= 1000
page_size
integer
default:20

The maximum number of templates to return in the response.

Required range: 1 <= x <= 100

Response

A successful request returns the HTTP 200 OK status code and a JSON response body that lists invoices.

An array of merchant-created templates with associated details that include the emails, addresses, and phone numbers from the user's PayPal profile.

addresses
Portable Postal Address (Medium-Grained) · object[]
read-only

An array of addresses in the user's PayPal profile.

Maximum array length: 2147483647
emails
string<ppaas_common_email_address_v2>
read-only

An array of emails in the user's PayPal profile.

Required string length: 3 - 254
Pattern: ^(?:[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?\.)+[A-Za-z0-9](?:[A-Za-z0-9-]*[A-Za-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[A-Za-z0-9-]*[A-Za-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])$
phones
Phone Detail · object[]

An array of phone numbers in the user's PayPal profile.

Maximum array length: 2147483647
templates
Template · object[]

An array of details for each template. If fields is none, returns only the template name, ID, and default status.

Maximum array length: 2147483647

An array of request-related HATEOAS links.

Maximum array length: 2147483647