curl --request PATCH \
--url http://localhost:3001/api/v1/business/links/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"title": "My Payment Page",
"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,
"isActive": 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 PATCH \
--url http://localhost:3001/api/v1/business/links/{id} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"title": "My Payment Page",
"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,
"isActive": 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.
"My Payment Page"
"Pay for goods and services"
"https://example.com/avatar.png"
"#6366f1"
"Thank you for your payment!"
"flexible" | "fixed" | "preset"
"flexible"
49.99
[5, 10, 25, 50, 100]"USD"
1
10000
true
false
true
true
true
true
Church-specific config