Animal Health Data Store - V1 API Documentation
AHDS Store API (1.0)
https://docs.heydonto.com/_mock/apis/animal-health/openapi/
http://localhost:8083/
Total amount of the payment that has been allocated to invoices.
Identifier of the client associated with this payment.
Identifier for the owning organization or practice.
Free-text or structured details about the payment method (e.g., last 4 digits, reference number).
Canonical unique identifier for the payment.
Method used to make the payment.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/payment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"allocatedAmount": "100.00",
"amount": "100.00",
"availableAmount": "100.00",
"cashAmount": "100.00",
"cashChange": "100.00",
"clientId": "123e4567-e89b-12d3-a456-426614174000",
"comments": "string",
"currency": "string",
"extensions": {},
"isActive": true,
"linkedInvoices": [
{
"allocatedAmount": "100.00",
"invoiceId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"paymentDate": "2025-01-01",
"paymentDetails": "string",
"paymentId": "123e4567-e89b-12d3-a456-426614174000",
"paymentMethod": "cash",
"roundingFactor": "100.00",
"status": "pending"
}'Payment created successfully
Total amount of the payment that has been allocated to invoices.
Unallocated portion of the payment that is still available.
Portion of the payment that was paid in cash, if applicable.
Change returned to the client for cash payments, if applicable.
Identifier of the client associated with this payment.
Timestamp when the payment record was created.
Invoices to which this payment has been allocated.
Identifier for the owning organization or practice.
Calendar date the payment was received or processed.
Free-text or structured details about the payment method (e.g., last 4 digits, reference number).
Canonical unique identifier for the payment.
Method used to make the payment.
Lifecycle status of the payment.
{ "allocatedAmount": "100.00", "amount": "100.00", "availableAmount": "100.00", "cashAmount": "100.00", "cashChange": "100.00", "clientId": "123e4567-e89b-12d3-a456-426614174000", "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "extensions": {}, "isActive": true, "linkedInvoices": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "paymentDate": "2025-01-01T00:00:00Z", "paymentDetails": "string", "paymentId": "123e4567-e89b-12d3-a456-426614174000", "paymentMethod": "cash", "roundingFactor": "100.00", "status": "pending", "updatedAt": "2025-01-01T00:00:00.000Z" }
Field to sort by
Identifier of the client associated with this payment.
Identifier for the owning organization or practice.
Free-text or structured details about the payment method (e.g., last 4 digits, reference number).
Method used to make the payment.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/payment
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment?page=0&pageSize=10&sortBy=createdAt&sortOrder=asc&clientId=123e4567-e89b-12d3-a456-426614174000&comments=string¤cy=string&isActive=true&ownershipId=123e4567-e89b-12d3-a456-426614174000&paymentDetails=string&paymentMethod=cash&status=pending' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment/{paymentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/payment/{paymentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment/{paymentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Payment found
Total amount of the payment that has been allocated to invoices.
Unallocated portion of the payment that is still available.
Portion of the payment that was paid in cash, if applicable.
Change returned to the client for cash payments, if applicable.
Identifier of the client associated with this payment.
Timestamp when the payment record was created.
Invoices to which this payment has been allocated.
Identifier for the owning organization or practice.
Calendar date the payment was received or processed.
Free-text or structured details about the payment method (e.g., last 4 digits, reference number).
Canonical unique identifier for the payment.
Method used to make the payment.
Lifecycle status of the payment.
{ "allocatedAmount": "100.00", "amount": "100.00", "availableAmount": "100.00", "cashAmount": "100.00", "cashChange": "100.00", "clientId": "123e4567-e89b-12d3-a456-426614174000", "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "extensions": {}, "isActive": true, "linkedInvoices": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "paymentDate": "2025-01-01T00:00:00Z", "paymentDetails": "string", "paymentId": "123e4567-e89b-12d3-a456-426614174000", "paymentMethod": "cash", "roundingFactor": "100.00", "status": "pending", "updatedAt": "2025-01-01T00:00:00.000Z" }
Total amount of the payment that has been allocated to invoices.
Identifier of the client associated with this payment.
Identifier for the owning organization or practice.
Free-text or structured details about the payment method (e.g., last 4 digits, reference number).
Method used to make the payment.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment/{paymentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/payment/{paymentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment/{paymentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"allocatedAmount": "100.00",
"amount": "100.00",
"availableAmount": "100.00",
"cashAmount": "100.00",
"cashChange": "100.00",
"clientId": "123e4567-e89b-12d3-a456-426614174000",
"comments": "string",
"currency": "string",
"extensions": {},
"isActive": true,
"linkedInvoices": [
{
"allocatedAmount": "100.00",
"invoiceId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"paymentDate": "2025-01-01",
"paymentDetails": "string",
"paymentMethod": "cash",
"roundingFactor": "100.00",
"status": "pending"
}'Payment updated successfully
Total amount of the payment that has been allocated to invoices.
Unallocated portion of the payment that is still available.
Portion of the payment that was paid in cash, if applicable.
Change returned to the client for cash payments, if applicable.
Identifier of the client associated with this payment.
Timestamp when the payment record was created.
Invoices to which this payment has been allocated.
Identifier for the owning organization or practice.
Calendar date the payment was received or processed.
Free-text or structured details about the payment method (e.g., last 4 digits, reference number).
Canonical unique identifier for the payment.
Method used to make the payment.
Lifecycle status of the payment.
{ "allocatedAmount": "100.00", "amount": "100.00", "availableAmount": "100.00", "cashAmount": "100.00", "cashChange": "100.00", "clientId": "123e4567-e89b-12d3-a456-426614174000", "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "extensions": {}, "isActive": true, "linkedInvoices": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "paymentDate": "2025-01-01T00:00:00Z", "paymentDetails": "string", "paymentId": "123e4567-e89b-12d3-a456-426614174000", "paymentMethod": "cash", "roundingFactor": "100.00", "status": "pending", "updatedAt": "2025-01-01T00:00:00.000Z" }
Total amount of the payment that has been allocated to invoices.
Unallocated portion of the payment that is still available.
Portion of the payment that was paid in cash, if applicable.
Change returned to the client for cash payments, if applicable.
Identifier of the client associated with this payment.
Invoices to which this payment has been allocated.
Identifier for the owning organization or practice.
Free-text or structured details about the payment method (e.g., last 4 digits, reference number).
Method used to make the payment.
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment/{paymentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/payment/{paymentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment/{paymentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"allocatedAmount": "100.00",
"amount": "100.00",
"availableAmount": "100.00",
"cashAmount": "100.00",
"cashChange": "100.00",
"clientId": "123e4567-e89b-12d3-a456-426614174000",
"comments": "string",
"currency": "string",
"extensions": {},
"isActive": true,
"linkedInvoices": [
{
"allocatedAmount": "100.00",
"invoiceId": "123e4567-e89b-12d3-a456-426614174000"
}
],
"ownershipId": "123e4567-e89b-12d3-a456-426614174000",
"paymentDate": "2025-01-01",
"paymentDetails": "string",
"paymentMethod": "cash",
"roundingFactor": "100.00",
"status": "pending"
}'Payment replaced successfully
Total amount of the payment that has been allocated to invoices.
Unallocated portion of the payment that is still available.
Portion of the payment that was paid in cash, if applicable.
Change returned to the client for cash payments, if applicable.
Identifier of the client associated with this payment.
Timestamp when the payment record was created.
Invoices to which this payment has been allocated.
Identifier for the owning organization or practice.
Calendar date the payment was received or processed.
Free-text or structured details about the payment method (e.g., last 4 digits, reference number).
Canonical unique identifier for the payment.
Method used to make the payment.
Lifecycle status of the payment.
{ "allocatedAmount": "100.00", "amount": "100.00", "availableAmount": "100.00", "cashAmount": "100.00", "cashChange": "100.00", "clientId": "123e4567-e89b-12d3-a456-426614174000", "comments": "string", "createdAt": "2025-01-01T00:00:00.000Z", "currency": "string", "extensions": {}, "isActive": true, "linkedInvoices": [ { … } ], "ownershipId": "123e4567-e89b-12d3-a456-426614174000", "paymentDate": "2025-01-01T00:00:00Z", "paymentDetails": "string", "paymentId": "123e4567-e89b-12d3-a456-426614174000", "paymentMethod": "cash", "roundingFactor": "100.00", "status": "pending", "updatedAt": "2025-01-01T00:00:00.000Z" }
- Mock server
https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment/{paymentId}
- Local Development
http://localhost:8083/site/{siteId}/ahds/v1/payment/{paymentId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.heydonto.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/payment/{paymentId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'