Skip to main content
POST
Create Paylink

Authorizations

X-API-KEY
string
header
required

Body

application/json

Create Payment Link Request

amount
string
required

Price amount in major units as a decimal string (non-zero).

currency
string
required

Currency code for the price (recognised and enabled).

name
string
required

Display name shown on the payment link (max 100 characters).

Maximum string length: 100
account_ids
integer[]

Settlement account IDs to accept payment on.

account_ref
string

Settlement account reference as an alternative to account_ids.

Maximum string length: 100
available_quantity
integer

Remaining purchasable quantity; set to 1 for single-use links.

Required range: x >= 1
description
string

Human-readable description shown at checkout (max 200 characters).

Maximum string length: 200
expires_at
string

When the payment link expires (must be in the future).

image_url
string

Optional image URL shown on the payment link.

interval
enum<string>

Billing interval unit for recurring links.

Available options:
Unknown,
Minute,
Hour,
Day,
Week,
Month,
Year
intervalCount
integer

Number of interval units between billings. Minimum 1.

Required range: x >= 1
metadata
object

Arbitrary key-value metadata (max 10 entries).

reference
string

Optional merchant-defined reference (max 50 characters).

Maximum string length: 50
trial_period
string

Optional trial period before the first charge (parseable duration).

type
string

Plan type: OneTime or Recurring. Defaults from interval when omitted.

Response

OK

data
object

Response payload when the request succeeded.

error
boolean

True when the request failed.

message
string

Human-readable status or error message.