curl --request POST \
--url http://localhost:3001/api/v1/business/links \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"slug": "my-shop",
"title": "My Payment Page",
"linkType": "link",
"description": "Pay for goods and services",
"avatarUrl": "https://example.com/avatar.png",
"accentColor": "#6366f1",
"thankYouMessage": "Thank you for your payment!",
"amountType": "flexible",
"fixedAmount": 49.99,
"presetAmounts": [
5,
10,
25,
50,
100
],
"currency": "USD",
"minAmount": 1,
"maxAmount": 10000,
"acceptsCard": true,
"acceptsCrypto": false,
"collectName": true,
"collectEmail": true,
"collectNote": true,
"config": {}
}
'{
"success": true,
"data": {
"id": "<string>",
"businessId": "<string>",
"slug": "<string>",
"title": "<string>",
"amount": 123,
"currency": "<string>",
"type": "link",
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"redirectUrl": "<string>",
"metadata": {}
}
}curl --request POST \
--url http://localhost:3001/api/v1/business/links \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"slug": "my-shop",
"title": "My Payment Page",
"linkType": "link",
"description": "Pay for goods and services",
"avatarUrl": "https://example.com/avatar.png",
"accentColor": "#6366f1",
"thankYouMessage": "Thank you for your payment!",
"amountType": "flexible",
"fixedAmount": 49.99,
"presetAmounts": [
5,
10,
25,
50,
100
],
"currency": "USD",
"minAmount": 1,
"maxAmount": 10000,
"acceptsCard": true,
"acceptsCrypto": false,
"collectName": true,
"collectEmail": true,
"collectNote": true,
"config": {}
}
'{
"success": true,
"data": {
"id": "<string>",
"businessId": "<string>",
"slug": "<string>",
"title": "<string>",
"amount": 123,
"currency": "<string>",
"type": "link",
"isActive": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"redirectUrl": "<string>",
"metadata": {}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.useaxra.com/llms.txt
Use this file to discover all available pages before exploring further.
URL slug (3-30 chars, lowercase alphanumeric + hyphens)
"my-shop"
Title displayed on the link page
"My Payment Page"
Link type: "link" or "church"
"link"
"Pay for goods and services"
"https://example.com/avatar.png"
"#6366f1"
"Thank you for your payment!"
"flexible" | "fixed" | "preset"
"flexible"
Fixed amount (required when amountType is "fixed")
49.99
Preset amounts (required when amountType is "preset")
[5, 10, 25, 50, 100]Currency code
"USD"
Minimum amount for flexible payments
1
Maximum amount for flexible payments
10000
true
false
true
true
true
Church-specific config (categories, memberId, etc.)