Skip to main content
POST
/
v1
/
payment-links
Create a payment link
curl --request POST \
  --url https://api.useduro.com/v1/payment-links \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "planId": "<string>",
  "slug": "pro",
  "metadata": {}
}
'
{
  "id": "<string>",
  "planId": "<string>",
  "slug": "<string>",
  "active": true,
  "createdAt": "<string>"
}

Authorizations

Authorization
string
header
required

A secret key (sk_test_… / sk_live_…), OAuth token, or identity token.

Body

application/json
planId
string
required
slug
string
required

lowercase alphanumeric + hyphens

Example:

"pro"

metadata
object

Response

201 - application/json

Created

id
string
planId
string
slug
string
active
boolean
createdAt
string