API documentation for HeyDonto API
https://docs.heydonto.com/_mock/apis/heydonto/openapi/
https://api-staging.heydonto.com/
https://api.heydonto.com/
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information
- Sandbox
https://api-staging.heydonto.com/billing-information
- Production
https://api.heydonto.com/billing-information
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information?withPaymentMethod=true&page=0&pageSize=10&sortBy%5B0%5D%5Bfield%5D=id&sortBy%5B0%5D%5Bdir%5D=asc&sortBy%5B1%5D%5Bfield%5D=id&sortBy%5B1%5D%5Bdir%5D=asc' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'List of Billing Information filtered
Array of billing information
Start date for billing
Billing frequency
Stripe subscription ID (once a subscription exists)
Email address of the user
First name of the user
Role of the user
Creation date of the user
Last update date of the user
Organizations associated with the user
Client accounts associated with the user
Client account site management permissions
{ "data": [ { … } ], "meta": { "page": 0, "pageSize": 10, "total": 150, "totalPages": 15, "hasNext": true, "hasPrevious": false } }
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information
- Sandbox
https://api-staging.heydonto.com/billing-information
- Production
https://api.heydonto.com/billing-information
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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-17T00:00:00Z",
"billingFrequency": "MONTHLY"
}'{ "id": 1, "clientAccountId": 1, "costPerLocation": 100, "minimumBillingLocations": 5, "isAutoRenew": true, "billingStartDate": "2024-03-17T00:00:00Z", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}
- Sandbox
https://api-staging.heydonto.com/billing-information/{id}
- Production
https://api.heydonto.com/billing-information/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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-17T00:00:00Z",
"billingFrequency": "MONTHLY"
}'{ "id": 1, "clientAccountId": 1, "costPerLocation": 100, "minimumBillingLocations": 5, "isAutoRenew": true, "billingStartDate": "2024-03-17T00:00:00Z", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}
- Sandbox
https://api-staging.heydonto.com/billing-information/{id}
- Production
https://api.heydonto.com/billing-information/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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-17T00:00:00Z", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}
- Sandbox
https://api-staging.heydonto.com/billing-information/{id}
- Production
https://api.heydonto.com/billing-information/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/client-account/{clientAccountId}
- Sandbox
https://api-staging.heydonto.com/billing-information/client-account/{clientAccountId}
- Production
https://api.heydonto.com/billing-information/client-account/{clientAccountId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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-17T00:00:00Z", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/heydonto/openapi/billing-information/me/client-account/{clientAccountId}
- Sandbox
https://api-staging.heydonto.com/billing-information/me/client-account/{clientAccountId}
- Production
https://api.heydonto.com/billing-information/me/client-account/{clientAccountId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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-17T00:00:00Z", "billingFrequency": "MONTHLY", "stripeCustomerId": "cus_123456789", "createdAt": "2024-01-01T00:00:00Z", "stripeSubscriptionId": "sub_1RFBYKHGcS3PmRZjUcjG4rYN", "updatedAt": "2024-01-01T00:00:00Z" }