https://docs.heydonto.com/_mock/apis/heydonto/openapi/
https://api-staging.heydonto.com/
https://api.heydonto.com/
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information
https://api-staging.heydonto.com/billing-information
https://api.heydonto.com/billing-information
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information?page=0&pageSize=10&sortBy%5B0%5D%5Bdir%5D=asc&sortBy%5B0%5D%5Bfield%5D=id&sortBy%5B1%5D%5Bdir%5D=asc&sortBy%5B1%5D%5Bfield%5D=id&withPaymentMethod=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "data": [ { … } ], "meta": { "page": 0, "pageSize": 10, "total": 150, "totalPages": 15, "hasNext": true, "hasPrevious": false } }
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information
https://api-staging.heydonto.com/billing-information
https://api.heydonto.com/billing-information
curl -i -X POST \
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"clientAccountId": 1,
"billingManagerUserId": 1,
"costPerLocation": 100,
"minimumBillingLocations": 5,
"isAutoRenew": true,
"billingStartDate": "2024-03-17",
"billingFrequency": "MONTHLY"
}'
{ "id": 1, "clientAccountId": 1, "costPerLocation": 100, "minimumBillingLocations": 5, "isAutoRenew": true, "billingStartDate": "2024-03-17", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}
https://api-staging.heydonto.com/billing-information/{id}
https://api.heydonto.com/billing-information/{id}
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"costPerLocation": 100,
"minimumBillingLocations": 5,
"isAutoRenew": true,
"billingStartDate": "2024-03-17",
"billingFrequency": "MONTHLY"
}'
{ "id": 1, "clientAccountId": 1, "costPerLocation": 100, "minimumBillingLocations": 5, "isAutoRenew": true, "billingStartDate": "2024-03-17", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}
https://api-staging.heydonto.com/billing-information/{id}
https://api.heydonto.com/billing-information/{id}
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "id": 1, "clientAccountId": 1, "costPerLocation": 100, "minimumBillingLocations": 5, "isAutoRenew": true, "billingStartDate": "2024-03-17", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}
https://api-staging.heydonto.com/billing-information/{id}
https://api.heydonto.com/billing-information/{id}
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/client-account/{clientAccountId}
https://api-staging.heydonto.com/billing-information/client-account/{clientAccountId}
https://api.heydonto.com/billing-information/client-account/{clientAccountId}
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/client-account/{clientAccountId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "id": 1, "clientAccountId": 1, "costPerLocation": 100, "minimumBillingLocations": 5, "isAutoRenew": true, "billingStartDate": "2024-03-17", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/me/client-account/{clientAccountId}
https://api-staging.heydonto.com/billing-information/me/client-account/{clientAccountId}
https://api.heydonto.com/billing-information/me/client-account/{clientAccountId}
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/me/client-account/{clientAccountId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'
{ "id": 1, "clientAccountId": 1, "costPerLocation": 100, "minimumBillingLocations": 5, "isAutoRenew": true, "billingStartDate": "2024-03-17", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }