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 - 108^[0-9a-zA-Z_-]+$The media type. Required for operations with a request body. The value is application/<format>, where format is json.
1 - 255^[A-Za-z0-9/+-]+$An 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 - 20^[A-Z0-9_]+$The type of payment resource. Once a payment resource is created, this field cannot be changed.
BUY_NOW 1 - 20^[A-Z0-9_]+$Indicates if the payment resource can be used multiple times or only once.
MULTIPLE 1 - 20^[A-Z0-9_]+$URL to which the customer is redirected after completing the transaction.
1 - 1024^.*$List 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 - 20^[A-Z0-9_]+$The type of payment resource. Once a payment resource is created, this field cannot be changed.
BUY_NOW 1 - 20^[A-Z0-9_]+$Unique identifier for the payment resource (link or button).
1 - 127^[A-Z]{3}-[A-Z0-9]+$The generated payment link URL for the transaction (present if integration_mode is link).
1 - 200^.*$The date and time that this payment resource was created.
20 - 64^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$The date and time that the payment resource was updated.
20 - 64^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$Status of the payment resource.
ACTIVE, INACTIVE 1 - 20^[A-Z0-9_]+$Indicates if the payment resource can be used multiple times or only once.
MULTIPLE 1 - 20^[A-Z0-9_]+$URL to which the customer is redirected after completing the transaction.
1 - 1024^.*$List of individual item in payment resource.
1 - 20 elementsCode snippets holds the code needed to inject payment resources for merchant experience.