Skip to main content
POST
cURL

Path Parameters

username
string
required

The username to create a payment link for

Body

application/json

Payment details to send to the recipient

asset
enum<enum>
default:USD
required

The asset to send the payment in, only USD is supported.

Available options:
USD
amount
number
required

The amount to send the payment in

Required range: 0.01 <= x <= 1000000
memo
string

The memo to send with the payment

Maximum string length: 255

Response

Payment link created successfully

id
string

The ID of the payment link

Example:

"ad1db6ed-32ea-4054-ba0b-7df45665bc9c"

address
string

The address to send the payment to

Example:

"0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97"

The link to the payment page

Example:

"https://pay.fiber.so/ad1db6ed-32ea-4054-ba0b-7df45665bc9c"

status
enum<string>

The status of the payment link

Available options:
completed,
pending
Example:

"pending"

acceptedTokens
object[]

The assets that are accepted for the payment link