try out ↗

← API Index


/api/system/ppscript1

Returns the URL of the PayPal SDK script for this shop. Requires a valid API key (X-OO-APIKEY).

Change Note: api update

Parameters

Name Description Type
oo-rf optionally define the response-format for this call. One of: compact (default) | compacts | full | fulls | json | md | html | js | openapi | yaml String
oo-auth optionally force the API to check against the role (instead of silently not returning data). For guests or public access, the default is -1. 0 (regular customer) and above define the role for which the current session is expected to be authorized. int

Error Responses

HTTP Status Error Code Description
401 unauthorized Missing or invalid API key

Response Types

Type Version Description
PaypalScript 1 Returns the URL of the PayPal client-side script (with the shop's configured PayPal client id). Used by the shop to load the PayPal JavaScript SDK.

OpenAPI

See ppscript1.yaml

Referenced in skills