List payment links
Look up payment links in your account with cursor pagination.
Looks up payment links in the authenticated company and environment.
The response shows the link and charge identifiers, checkout URL,
is_active, return settings and payment method settings. Paused links remain
in the list. Use the individual lookup to check whether the checkout can
accept payment at this time.
Use charge_id to look up the link for a specific charge.
Start without a cursor, process list and, while page.has_next is true,
copy page.next_after to after in the next request. Copy the entire
cursor without interpreting or calculating its contents and keep the same filter.
See Listing and pagination to go back with before.
See how to look up the linked charge's financial data in Payment links.
Query Params
Number of links per page.
From 1 to 100
Cursor received in page.next_after. Keep the same charge_id filter.
Up to 128 characters
Cursor received in page.previous_before. Do not send together with after.
Up to 128 characters
Identifier of the charge whose link you want to look up.
Up to 100 characters
Responses
Response Body
Page of links and their settings. If no link matches the filters, list is an empty array.
Links on this page.
Public payment link identifier.
Linked charge identifier. Look up the charge for its financial data.
Checkout URL for this charge. Repeating creation reuses the same link.
Return URL after payment confirmation, or null when not configured.
Return URL to your website, or null when not configured. Returning to the website does not cancel the charge.
Link's custom payment method configuration, or null for inheritance. The charge and platform availability still limit accepted methods.
Link creation date in Unix UTC seconds.
Date of the last change to the link or its settings, in Unix UTC seconds.
Indicates whether the link is active. False means checkout was paused. An active link remains subject to the charge's conditions.
Cursors for navigating between pages.
Number of links requested on this page.
Indicates whether there is a next page.
Indicates whether there is a previous page.
Next page cursor, or null.
Previous page cursor, or null.
Response Body
A filter or cursor is invalid. Correct the fields indicated in error.details. To restart the list, remove after and before.
Code and explanation of the error returned by the API.
Stable error code.
Error explanation in English. For validation errors, it summarizes the category; details identify the corrections. Use the codes to handle the response.
Invalid fields or references submitted in the body, with the field, code and explanation. Omitted for general errors and when there is no field correction to indicate.
Public name of the JSON field, query parameter, path parameter or header related to the error. Nested fields and lists retain their path and index. $ represents the root of the JSON body.
Reason for the field error, such as REQUIRED, INVALID_TAXID, UNKNOWN_FIELD, DUPLICATE_FIELD or INVALID_TYPE.
Explanation in English of the problem with this field or parameter and the available correction. Do not use the text to determine your integration flow.
For common errors, see HTTP response codes.