v1
latestOpenAPI 3.1.02026-07-24233206489.1 KBLegacy Links
Create Legacy Link
Creates a legacy link.
post/v1/links
Headers
Authorizationstring required
Example:Basic base64(sk_live:)
The API key for authentication. Use Basic base64(sk_live:).
Request body
Example request
{
"data": {
"attributes": {
"amount": 10000,
"description": "tteokbokki",
"remarks": "test"
}
}
}Response
Legacy link created successfully.
Example response
{
"data": {
"id": "link_12345",
"type": "link",
"attributes": {
"amount": 10000,
"currency": "PHP",
"description": "tteokbokki",
"livemode": true,
"remarks": "test",
"status": "unpaid",
"taxes": [],
"checkout_url": "https://pm.link/example/aBcDe",
"reference_number": "aBcDe",
"created_at": 1773731980,
"updated_at": 1773731980,
"payments": []
}
}
}