Manage payment links
Document revision ID: r-3ac48d4601ebec0c
On this page
/cash/v1/merchant/payment-links Auth: API key (Bearer)checkout:writeLists the payment links of the key's account and environment, newest first, as { ok, paymentRequests, nextCursor } without a data wrapper. Each item is the full payment request object described in Payment links (shortened in the example above). Links created in the console are live links and appear in the list of a live key.
Paging
Pass the previous page's nextCursor as cursor to get the next page; nextCursor is null on the last page. A cursor that is not a UUID answers 400 CASH_PAYMENT_REQUEST_CURSOR_INVALID; a UUID that matches no payment request returns an empty list with nextCursor: null, which looks the same as the last page, so only pass the nextCursor the API returned. The status filter is an exact match: an unknown status simply returns no items.