Skip to main content
Once you’ve created and shared a payment link, you can track its status, receive webhook notifications when a payment completes, and manage your links through the API. Retrieve a payment link by its ID to check the current status.

Response

Response Fields

Link-to-transaction navigation: When transaction_id is present, you can use it to look up the full transaction details in the Quidkey Console or via the API.

Status Transitions

Payment link status changes are driven by customer actions and system events:
Expiry is checked on demand. Quidkey marks a link as expired when it is next accessed (via the public checkout page or the API), not via a background job. This means a link’s status in the database may show active until someone accesses it after the expiry time.

Redirect URLs

If you provided redirect_urls when creating the payment link, the customer is redirected to your URLs instead of Quidkey’s default pages. Quidkey appends query parameters to help you correlate the redirect: Example redirect after successful payment:
Custom redirects are informational only. Do not use them to confirm payment status. Always use webhooks or the API to verify that payment was actually completed. A customer could manually navigate to your success URL without paying.

Webhook Notifications

When a payment is completed through a payment link, you receive the same webhook notification as payments made through the Embedded Flow. The webhook payload includes the transaction details. To set up webhooks, see the Webhook documentation. Retrieve all payment links with optional filtering and pagination.

Query Parameters

Paginated Response

Error Handling

Payment link endpoints return consistent error responses:
Expired links return details, not errors. The public GET /payment-links/:token/details endpoint returns the link with status: "expired" rather than throwing an error. This allows the checkout page to show an appropriate message to the customer.

Next Steps

Overview

Payment Links overview and lifecycle

Create a Checkout Link

Generate and share your first checkout link

Webhook Setup

Configure webhooks to receive payment notifications

API Reference

Full endpoint documentation with interactive playground