API referencePayment links
Retrieve a payment link
GET
bearerAuthheader
AuthorizationBearer <token>A secret key, sk_test_… or sk_live_….
id*stringThe object id.
Success.
application/json- response
id*stringobject*stringlivemode*booleanactive*booleanname*stringdescription*string|nullamount*|Fixed amount in minor units, or null when the buyer chooses.
min_amount*integer|nullmax_amount*integer|nullcurrency*stringThree-letter ISO 4217 code, uppercase.
success_url*string|nullmetadata*Your own key-value strings, returned as sent.
url*stringShare this URL with buyers.
created*integerUnix timestamp in seconds.
updated*integerUnix timestamp in seconds.
curl -X GET 'https://runepay.co/api/v1/payment_links/string' \ -H 'Authorization: Bearer sk_test_...'Example Response
{ "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}