API referencePayment links
List payment links
Newest first.
GET
Newest first.
bearerAuthheader
AuthorizationBearer <token>A secret key, sk_test_… or sk_live_….
limit?integerPage size, 1 to 100.
Range
1 <= value <= 100Default
20starting_after?stringAn object id from the previous page; the page starts after it.
active?stringOnly active or only inactive links.
Value in
"true""false"Success.
application/json- response
object*stringdata*array<>has_more*booleancurl -X GET 'https://runepay.co/api/v1/payment_links' \ -H 'Authorization: Bearer sk_test_...'Example Response
{ "object": "list", "data": [ { "id": "plink_01KA7D4E6F8G0H2J4K6M8N0P2Q", "object": "payment_link", "livemode": false, "active": true, "name": "Pro plan", "description": "One month of Pro", "amount": 1999, "min_amount": null, "max_amount": null, "currency": "USD", "success_url": "https://merchant.example/thanks", "metadata": { "plan": "pro" }, "url": "https://runepay.co/pay/l/plink_01KA7D4E6F8G0H2J4K6M8N0P2Q", "created": 1767225600, "updated": 1767225600 } ], "has_more": false}