Retrieve a list of all payment links with optional filtering
| Parameter | Type | Description |
|---|---|---|
limit | integer | Number of results per page (default: 10, max: 100) |
starting_after | string | Cursor for pagination (payment link ID) |
status | enum | Filter by status: active, paid, expired, cancelled |
customer_email | string | Filter by customer email |
payment_type | enum | Filter by type: one_time, subscription |
created_after | timestamp | Filter links created after this date |
created_before | timestamp | Filter links created before this date |
| Field | Type | Description |
|---|---|---|
data | array | Array of payment link objects |
has_more | boolean | Whether more results are available |
next_cursor | string | Cursor for next page (use as starting_after) |
| Status Code | Error Code | Description |
|---|---|---|
| 400 | invalid_request | Invalid query parameters |
| 401 | unauthorized | Invalid or missing API key |
| 429 | rate_limit_exceeded | Too many requests |
limit and cursorsdata array is empty before processing