Create a new Payment Link

Create a shareable URL for a hosted payment page in one of two ways:

  • Payment link without quote — specify the amount, currency, expiry and payment methods inline (PaymentLink).
  • Payment link with quote — pass a quote_id from POST /quotes (with resource: payin) to bind the payment link to a quote. When supplied, the quote is the single source of truth for amount, currency, payment method and expiry; the locked fields (amount, currency, expires_at, price_id, payment_methods) must not be sent (CreatePaymentLinkWithQuoteRequest). When a quote_id is supplied, the payment link's expiry is set to the quote's expiry.

The request variant is selected by the presence of quote_id.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Payment link without a quote. Amount, currency, expiry and payment methods are specified inline.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Choose an example:
application/json