Skip to main content
POST
Create a quick payment link (no auth required)

Body

application/json
recipient_address
string
required

Ethereum address to receive payment

amount
string

Amount in token base units

token_address
string

Token contract address (default: USDC on Base)

chain_id
integer

Chain ID (default: 8453 Base)

name
string
description
string
expires_in
integer

TTL in milliseconds (default: 24h)

Response

Payment link created

object
string
Allowed value: "payment_link"
id
string
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

short_code
string
Example:

"abc12345"

url
string
Example:

"https://anyspend.com/pay/abc12345"

name
string
Example:

"Summer Sale"

description
string | null
amount
string | null

Amount in token base units (e.g., 10 USDC = 10000000)

Example:

"10000000"

token_address
string
Example:

"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"

chain_id
integer
Example:

8453

recipient_address
string
Example:

"0x..."

is_active
boolean
created_at
integer

Unix timestamp in milliseconds