curl --request GET \
--url https://api.decodahealth.com/billing/deposits \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '
[
"2023-11-07T05:31:56Z"
]
'{
"data": [
{
"rainforestDepositId": "<string>",
"merchantAccountId": "<string>",
"amount": 123,
"netAmount": 123,
"id": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"currency": "USD",
"fee": 0,
"status": "PROCESSING",
"rainforestCreatedDate": "2023-11-07T05:31:56Z",
"rainforestUpdatedDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"externalReference": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"subtotal": 123,
"totalFees": 123,
"amountDeposited": 123,
"payments": [
{
"id": "<string>",
"amount": 123,
"status": "CANCELED",
"paymentMedium": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"patient": {
"id": "<string>",
"type": "PROVIDER",
"createdDate": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>",
"externalId": "<string>",
"address": "<string>",
"addressLineTwo": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"addressValid": true,
"meta": {},
"isArchived": true,
"primaryLocationId": "<string>",
"gender": "<string>",
"dateOfBirth": "2023-12-25",
"patientMedications": [
"<string>"
],
"patientSource": "SELF_SCHEDULING",
"leadSource": "<string>",
"onSchedulingBlacklist": true,
"surchargeDisabled": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"isActive": true,
"createdDate": "2023-11-07T05:31:56Z",
"emoji": "<string>",
"color": "<string>",
"updatedDate": "2023-11-07T05:31:56Z"
}
],
"creditBalance": 123,
"preferredProviderId": "<string>",
"dosespotPatientId": "<string>"
},
"patientId": "<string>",
"payinId": "<string>",
"currency": "USD",
"payinConfigId": "<string>",
"paymentMethodId": "<string>",
"stripePaymentIntentId": "<string>",
"failedReason": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"fee": 0,
"feeToPatient": 0,
"paymentMethod": {
"id": "<string>",
"patientId": "<string>",
"rainforestPaymentMethodId": "<string>",
"brand": "<string>",
"last4": "<string>",
"expMonth": 123,
"expYear": 123,
"accountHolderType": "<string>",
"accountNumberLast4": 123,
"bankName": "<string>",
"routingNumber": 123,
"description": "<string>",
"type": "CARD",
"isDefault": false,
"isArchived": false,
"restrictedToMerchantId": "<string>"
},
"refunds": []
}
],
"refunds": [
{
"id": "<string>",
"paymentId": "<string>",
"amount": 123,
"reason": "DUPLICATE",
"createdDate": "2023-11-07T05:31:56Z",
"status": "CANCELED",
"patient": {
"id": "<string>",
"type": "PROVIDER",
"createdDate": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>",
"externalId": "<string>",
"address": "<string>",
"addressLineTwo": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"addressValid": true,
"meta": {},
"isArchived": true,
"primaryLocationId": "<string>",
"gender": "<string>",
"dateOfBirth": "2023-12-25",
"patientMedications": [
"<string>"
],
"patientSource": "SELF_SCHEDULING",
"leadSource": "<string>",
"onSchedulingBlacklist": true,
"surchargeDisabled": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"isActive": true,
"createdDate": "2023-11-07T05:31:56Z",
"emoji": "<string>",
"color": "<string>",
"updatedDate": "2023-11-07T05:31:56Z"
}
],
"creditBalance": 123,
"preferredProviderId": "<string>",
"dosespotPatientId": "<string>"
},
"rainforestRefundId": "<string>",
"fee": 0
}
]
}
],
"total": 123
}List deposits for a specific month. Month filter is required.
curl --request GET \
--url https://api.decodahealth.com/billing/deposits \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--header 'TENANT: <tenant>' \
--data '
[
"2023-11-07T05:31:56Z"
]
'{
"data": [
{
"rainforestDepositId": "<string>",
"merchantAccountId": "<string>",
"amount": 123,
"netAmount": 123,
"id": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"currency": "USD",
"fee": 0,
"status": "PROCESSING",
"rainforestCreatedDate": "2023-11-07T05:31:56Z",
"rainforestUpdatedDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"externalReference": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"subtotal": 123,
"totalFees": 123,
"amountDeposited": 123,
"payments": [
{
"id": "<string>",
"amount": 123,
"status": "CANCELED",
"paymentMedium": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"patient": {
"id": "<string>",
"type": "PROVIDER",
"createdDate": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>",
"externalId": "<string>",
"address": "<string>",
"addressLineTwo": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"addressValid": true,
"meta": {},
"isArchived": true,
"primaryLocationId": "<string>",
"gender": "<string>",
"dateOfBirth": "2023-12-25",
"patientMedications": [
"<string>"
],
"patientSource": "SELF_SCHEDULING",
"leadSource": "<string>",
"onSchedulingBlacklist": true,
"surchargeDisabled": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"isActive": true,
"createdDate": "2023-11-07T05:31:56Z",
"emoji": "<string>",
"color": "<string>",
"updatedDate": "2023-11-07T05:31:56Z"
}
],
"creditBalance": 123,
"preferredProviderId": "<string>",
"dosespotPatientId": "<string>"
},
"patientId": "<string>",
"payinId": "<string>",
"currency": "USD",
"payinConfigId": "<string>",
"paymentMethodId": "<string>",
"stripePaymentIntentId": "<string>",
"failedReason": "<string>",
"updatedDate": "2023-11-07T05:31:56Z",
"fee": 0,
"feeToPatient": 0,
"paymentMethod": {
"id": "<string>",
"patientId": "<string>",
"rainforestPaymentMethodId": "<string>",
"brand": "<string>",
"last4": "<string>",
"expMonth": 123,
"expYear": 123,
"accountHolderType": "<string>",
"accountNumberLast4": 123,
"bankName": "<string>",
"routingNumber": 123,
"description": "<string>",
"type": "CARD",
"isDefault": false,
"isArchived": false,
"restrictedToMerchantId": "<string>"
},
"refunds": []
}
],
"refunds": [
{
"id": "<string>",
"paymentId": "<string>",
"amount": 123,
"reason": "DUPLICATE",
"createdDate": "2023-11-07T05:31:56Z",
"status": "CANCELED",
"patient": {
"id": "<string>",
"type": "PROVIDER",
"createdDate": "2023-11-07T05:31:56Z",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"email": "<string>",
"locationId": "<string>",
"externalId": "<string>",
"address": "<string>",
"addressLineTwo": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"addressValid": true,
"meta": {},
"isArchived": true,
"primaryLocationId": "<string>",
"gender": "<string>",
"dateOfBirth": "2023-12-25",
"patientMedications": [
"<string>"
],
"patientSource": "SELF_SCHEDULING",
"leadSource": "<string>",
"onSchedulingBlacklist": true,
"surchargeDisabled": true,
"tags": [
{
"id": "<string>",
"name": "<string>",
"isActive": true,
"createdDate": "2023-11-07T05:31:56Z",
"emoji": "<string>",
"color": "<string>",
"updatedDate": "2023-11-07T05:31:56Z"
}
],
"creditBalance": 123,
"preferredProviderId": "<string>",
"dosespotPatientId": "<string>"
},
"rainforestRefundId": "<string>",
"fee": 0
}
]
}
],
"total": 123
}The tenant you are making this request on behalf of
Your api key
asc, desc PROCESSING, IN_REVIEW, SUCCEEDED, FAILED