Skip to main content

Create Payment Request PayPal Pay Link

POST 

/api/sales-payment-requests/:salesPaymentRequestId/paypal-payment-links

Create a PayPal pay link collecting a payment request. The link is raised on the request's sales order (replacing that order's active link), so the captured payment lands on the order and pays the request. amount defaults to the request's balance and can't exceed it.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Requires permission sales_payment_requests.send.

Body fields:

  • amount (number, optional, ≥ 0.01)
  • integration_instance_id (integer, required — the PayPal account)
  • expires_in_days (integer, optional, 1–365, default 30)
  • email_customer (boolean, optional — email the link with the PayPal payment request template)
  • recipient_email (string email, optional)
  • cc (array of emails, optional, max 10)

Request​

Responses​

Created

Response Headers
    Content-Type