On this page
No Headings
Customizes the payer experience during the approval process for the payment.
objectlocaleobject^[a-z]{2}(?:-[A-Z][a-z]{3})?(?:-(?:[A-Z]{2}|[0-9]{3}))?$The language tag for the language in which to localize the error-related strings, such as messages, issues, and suggested actions. The tag is made up of the ISO 639-2 language code, the optional ISO-15924 script tag, and the ISO-3166 alpha-2 country code or M49 region code.
The BCP 47-formatted locale of pages that the PayPal payment experience shows. PayPal supports a five-character code. For example, da-DK, he-IL, id-ID, ja-JP, no-NO, pt-BR, ru-RU, sv-SE, th-TH, zh-CN, zh-HK, or zh-TW.
return_urlrequiredobjecturiDescribes the URL.
The URL where the customer is redirected after the customer approves the payment.
cancel_urlrequiredobjecturiDescribes the URL.
The URL where the customer is redirected after the customer cancels the payment.