Skip to main content
POST
Create a payment link

Headers

x-api-key
string
required

Body

application/json
slug
string
required

URL slug (3-30 chars, lowercase alphanumeric + hyphens)

Example:

"my-shop"

title
string
required

Title displayed on the link page

Example:

"My Payment Page"

Link type: "link" or "church"

Example:

"link"

description
string
Example:

"Pay for goods and services"

avatarUrl
string
Example:

"https://example.com/avatar.png"

accentColor
string
Example:

"#6366f1"

thankYouMessage
string
Example:

"Thank you for your payment!"

amountType
string

"flexible" | "fixed" | "preset"

Example:

"flexible"

fixedAmount
number

Fixed amount (required when amountType is "fixed")

Example:

49.99

presetAmounts
string[]

Preset amounts (required when amountType is "preset")

Example:
currency
string

Currency code

Example:

"USD"

minAmount
number

Minimum amount for flexible payments

Example:

1

maxAmount
number

Maximum amount for flexible payments

Example:

10000

acceptsCard
boolean
Example:

true

acceptsCrypto
boolean
Example:

false

collectName
boolean
Example:

true

collectEmail
boolean
Example:

true

collectNote
boolean
Example:

true

config
object

Church-specific config (categories, memberId, etc.)

Response

Created

success
boolean
required
Example:

true

data
object
required