List saved PayPal accounts
Overview
Lists the PayPal accounts the customer has saved, newest first. Each entry has the account's email address, when it was saved, and service_ids, the services whose renewals are charged to it. available indicates whether PayPal accounts can be saved and used on this installation.
Accounts are saved in the browser, where the customer approves them on PayPal, so there is no endpoint for it. To have a service renew from one, send its uuid as paypal_account to the automatic payment endpoint.
Permissions
Requires the account permission billing.read (View billing).
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Response 200
application/jsonThe record, as a JSON object. There is no envelope.
The value of available.
Saved PayPal accounts, with the services renewing from each.
Show child attributesHide child attributes
The uuid UUID.
The value of uuid_short.
The account's email address, as PayPal reported it.
The date and time for created at, in UTC.
The services whose renewals are charged to it.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown