List Stripe Payment Links
GET/api/stripe/payment-links
Lists the Stripe payment links of one sales order or one quote (newest first), together with a meta block describing what a new link on that document may collect.
accounting:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Authentication: Requires Bearer token.
Query parameters: send exactly one of sales_order_id or quote_id (422 when neither is sent).
Payment link fields
url— the customer-facing pay page on your own SKU.io domain (https://{your-domain}/pay/stripe/{token}). Send this to the customer; it stays valid until the link expires, is paid or is voided.status—pending(payable),processing(a bank debit was started and has not settled),paid,expired(a pending link pastexpires_atreadsexpired) orvoided.amount— what the link collects, incurrency_code.surcharge_preview— the card surcharge a card payment would add today (0 when card is not offered or surcharging is off).surcharge_amount— the surcharge actually charged once paid.payment_methods—cardand/orus_bank_account(US bank debit / ACH).checkout_method— the method the customer last chose.payment_id/payment_reference— the recorded payment and its Stripe PaymentIntent id once paid.last_failure_message/last_failed_at— the last failed attempt (e.g. a bank debit that bounced), if any.sales_payment_request— the payment request ({id, number}) a sales-order link collects for; null on a quote link.can_void— true while the link ispendingorprocessing.
meta fields
owner_type—sales_orderorquote.amount_due— the most a new link may ask for: the order balance less bank debits still settling on its links, or the unpaid quote deposit.open_payment_requests— (sales orders) open payment requests that still have money to collect:id,number,collectibleandhas_open_link(a request can carry only one open link).deposit— (quotes)amount,paidanddueof the quote deposit.blocked_reason— why no link can be created right now (e.g. "Approve the order before collecting payment."), or null.currency_code,stripe_connected,instances(connected Stripe accounts that can take payments:id,name,default_currency),ach_enabled,ach_available(ACH is on and the document is in USD),surcharge(enabled,percentage,label,disclosure) anddefault_expiry_days.
Returns 404 when the sales order or quote does not exist.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.