Creates a new PayPal payment resource for a single-item Buy Now checkout. Returns the full resource details including ID, payment link url, and status.
Oauth 2.0 authentication.
The server stores keys for 6 hours.
1 - 108The media type. Required for operations with a request body. The value is application/<format>, where format is json.
1 - 255An API-caller-provided JSON Web Token (JWT) assertion that identifies the merchant. For details, see PayPal-Auth-Assertion.
Create payment resource details.
Determines how the payment resource is presented to customers. Currently, only LINK is supported, which generates a PayPal-hosted payment page with a shareable URL. This value is immutable after creation.
LINK 1 - 20The type of payment resource. Once a payment resource is created, this field cannot be changed.
BUY_NOW 1 - 20Indicates if the payment resource can be used multiple times or only once.
MULTIPLE 1 - 20URL to which the customer is redirected after completing the transaction.
1 - 1024List of individual item in payment resource.
1 - 20 elementsPayment resource generated successfully.
Detailed response for Payment resource, which include code snippets for payment resources.
Determines how the payment resource is presented to customers. Currently, only LINK is supported, which generates a PayPal-hosted payment page with a shareable URL. This value is immutable after creation.
LINK 1 - 20The type of payment resource. Once a payment resource is created, this field cannot be changed.
BUY_NOW 1 - 20Unique identifier for the payment resource (link or button).
1 - 127The generated payment link URL for the transaction (present if integration_mode is link).
1 - 200The date and time that this payment resource was created.
20 - 64The date and time that the payment resource was updated.
20 - 64Status of the payment resource.
ACTIVE, INACTIVE 1 - 20Indicates if the payment resource can be used multiple times or only once.
MULTIPLE 1 - 20URL to which the customer is redirected after completing the transaction.
1 - 1024List of individual item in payment resource.
1 - 20 elementsCode snippets holds the code needed to inject payment resources for merchant experience.