Get Payment Link
Retrieve information about a payment link, including its current status and payment details.Authentication
Path Parameters
| Parameter | Type | Required | Description | 
|---|---|---|---|
| id | string | Yes | Payment link ID (e.g., plink_abc123xyz) | 
Request
Response
Response Fields
| Field | Type | Description | 
|---|---|---|
| id | string | Unique payment link identifier | 
| url | string | Checkout URL for the payment link | 
| amount_cents | integer | Total amount in cents | 
| status | enum | active,paid,expired, orcancelled | 
| order | object | Associated order (if paid) | 
| order.id | string | Order ID | 
| order.status | enum | Order status | 
| order.paid_at | timestamp | When payment was completed | 
| paid_at | timestamp | When link was paid (null if not paid) | 
Examples
Basic Retrieval
Check Payment Status
Subscription Link Status
Link Status Details
Active
Link is ready to accept payment and has not expired.Paid
Payment was completed successfully.Expired
Link expired without payment.Cancelled
Link was manually cancelled.Errors
| Status Code | Error Code | Description | 
|---|---|---|
| 401 | unauthorized | Invalid or missing API key | 
| 404 | not_found | Payment link not found | 
| 429 | rate_limit_exceeded | Too many requests | 
Use Cases
Order Fulfillment
Customer Portal
Webhook Verification
Best Practices
Use Webhooks
Don’t poll this endpoint. Use webhooks for real-time notifications.
Verify Before Fulfillment
Always verify 
status === 'paid' before fulfilling orders.Handle All Statuses
Account for expired and cancelled states in your logic.
Cache Responses
Cache paid links to reduce API calls.
Related Endpoints
- Create Payment Link - POST /v2/payment-links
- List Payment Links - GET /v2/payment-links
- Cancel Payment Link - POST /v2/payment-links//cancel
