Skip to main content
POST
Create payment link

Overview

Create a payment link. Share the url it returns anywhere: a post, a DM, an email footer, a button in your product. There is nothing to deploy.

Authorizations

Api-Key
string
header
required

Your Reclack API key. The prefix decides the environment: rk_sandbox_ for test chains, rk_live_ for production.

Body

application/json
name
string
required

What the payer sees as the line item.

Example:

"Premium Research Access"

type
enum<string>
required
Available options:
fixed,
custom_amount
Example:

"fixed"

price_id
string

Required for a fixed price.

Example:

"price_7Fh2PqX9"

min_amount
string

For custom_amount.

Example:

"5.00"

max_amount
string

For custom_amount.

Example:

"500.00"

preset_amount
string

The figure the page starts on.

Example:

"25.00"

network
string

A single network, when the link is not built from a price.

Example:

"base"

collect_email
boolean
collect_name
boolean
collect_phone
boolean
collect_address
boolean
max_payments
integer

Stop accepting payments after this many.

after_completion
enum<string>
Available options:
message,
redirect
confirmation_message
string
Example:

"Payment received. Access is live."

redirect_url
string
Example:

"https://acme.dev/thanks"

fee_payer
enum<string>
Available options:
merchant,
customer

Response

Created

data
object