On this page
No Headings
Detailed response for Payment resource, which include code snippets for payment resources.
objectcode_snippetsobjectCode snippets holds the code needed to inject payment resources for merchant experience.
singleobjectCode snippet to place the PayPal button on your site. Applicable only when integration_mode="BUTTON" & type="BUY_NOW".
bodystring^.*$Paste this code in your page's body tag, ideally near your product. You can repeat this for each payment resource you have on the page.
stackedarrayCode snippets to place the PayPal buttons on your site.
itemsobjectCode snippets to place the PayPal buttons on your site. It supports 2 flavours "REACT", "HTML". Applicable only when integration_mode="BUTTON" & type="BUY_NOW".
frameworkrequiredstring"HTML", "REACT"^[A-Z0-9_]+$To identify the flavour of code snippets for stacked button (e.g. "HTML", "REACT").
headstring^.*$Paste this code in your website’s head (or at the top of your page’s body above the Part 2 code) only once per page.
bodystring^.*$Paste this code in your page's body.
button_placementstring^.*$Paste this code in the page where you want the button to show up, near your product.