curl --request POST \
--url https://platform-api.anyspend.com/api/v1/payment-links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"token_address": "<string>",
"chain_id": 123,
"recipient_address": "<string>",
"description": "<string>",
"amount": "<string>",
"items": [
{
"name": "<string>",
"amount": "<string>",
"quantity": 123
}
],
"form_schema": {},
"shipping_options": "<array>",
"branding": {},
"max_uses": 123,
"expires_at": 123,
"return_url": "<string>",
"fee_on_top": true
}
'