Skip to Content
RunePayDocs
API referencePayment links

Retrieve a payment link

GET
/payment_links/{id}

Authorization

bearerAuth
headerAuthorizationBearer <token>

A secret key, sk_test_… or sk_live_….

Path Parameters

id*string

The object id.

Response Body

Success.

application/json
  1. response
id*string
object*string
livemode*boolean
active*boolean
name*string
description*string|null
amount*|

Fixed amount in minor units, or null when the buyer chooses.

min_amount*integer|null
max_amount*integer|null
currency*string

Three-letter ISO 4217 code, uppercase.

success_url*string|null
metadata*

Your own key-value strings, returned as sent.

url*string

Share this URL with buyers.

created*integer

Unix timestamp in seconds.

updated*integer

Unix timestamp in seconds.

Example Request
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}