OAuth scope: payment_link.write
Create a payment link for collecting payments from your customers.
This endpoint supports two types of payment links:
Basket payment links (CreateBasketPaymentLink):
items array with detailed item information, unit prices, and VAT ratesreusable field to control whether the link can be used multiple timesitems, reusable, potential_payment_methodsInvoice payment links (CreateInvoicePaymentLink):
invoice_id, invoice_number, debitor_name, and amount fieldsinvoice_id, invoice_number, debitor_name, amount, potential_payment_methodsBoth types support an optional redirect_url field.
Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.
Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.
The payment link has been created successfully.