Parameter | Details |
---|---|
clientId | Your PayPal application client ID (OAuth 2 credentials) |
links | Simple reference object for all return HATEOAS links from PayPal |
paymentId | The ID of the payment returned from PayPal in order to complete payment |
payerId | The ID of the payer returned from PayPal in order to complete payment |
paypal | PayPal Node SDK reference |
payReq | JSON object containing payment information for transaction |
req | The request object from the server request |
res | The response object from the server request |
secret | Your PayPal application secret (OAuth 2 credentials) |
These samples cover how to process a payment via PayPal, using the PayPal SDKs. These are simple request samples that outline the multi-step process for allowing this payment option.