curl --request GET \
--url https://api.decodahealth.com/billing/payment/{payment_id}/receipt \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"id": "<string>",
"patient": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"amount": 123,
"charges": [
{
"id": "<string>",
"total": 123,
"totalOutstanding": 123,
"status": "OUTSTANDING",
"discountAmount": 123,
"discountPercentage": 123,
"createdDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"externalId": "<string>",
"externalCreatedDate": "2023-11-07T05:31:56Z",
"ruleSetId": "<string>",
"tips": [
{
"chargeId": "<string>",
"amount": 123,
"providerId": "<string>",
"id": "<string>",
"provider": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
}
}
],
"taxTotal": 123
}
],
"refunds": [
{
"id": "<string>",
"paymentId": "<string>",
"amount": 123,
"reason": "DUPLICATE",
"createdDate": "2023-11-07T05:31:56Z",
"status": "CANCELED",
"rainforestRefundId": "<string>",
"fee": 0
}
],
"createdDate": "2023-11-07T05:31:56Z",
"paymentMedium": "<string>",
"feeToPatient": 123,
"paymentMethod": {
"brand": "<string>",
"last4": "<string>",
"expMonth": 123,
"expYear": 123,
"accountHolderType": "<string>",
"accountNumberLast4": 123,
"bankName": "<string>",
"routingNumber": 123,
"type": "CARD"
},
"hasItems": false,
"hasPackages": false
}curl --request GET \
--url https://api.decodahealth.com/billing/payment/{payment_id}/receipt \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'{
"id": "<string>",
"patient": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"amount": 123,
"charges": [
{
"id": "<string>",
"total": 123,
"totalOutstanding": 123,
"status": "OUTSTANDING",
"discountAmount": 123,
"discountPercentage": 123,
"createdDate": "2023-11-07T05:31:56Z",
"description": "<string>",
"externalId": "<string>",
"externalCreatedDate": "2023-11-07T05:31:56Z",
"ruleSetId": "<string>",
"tips": [
{
"chargeId": "<string>",
"amount": 123,
"providerId": "<string>",
"id": "<string>",
"provider": {
"id": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>",
"createdDate": "2023-11-07T05:31:56Z"
}
}
],
"taxTotal": 123
}
],
"refunds": [
{
"id": "<string>",
"paymentId": "<string>",
"amount": 123,
"reason": "DUPLICATE",
"createdDate": "2023-11-07T05:31:56Z",
"status": "CANCELED",
"rainforestRefundId": "<string>",
"fee": 0
}
],
"createdDate": "2023-11-07T05:31:56Z",
"paymentMedium": "<string>",
"feeToPatient": 123,
"paymentMethod": {
"brand": "<string>",
"last4": "<string>",
"expMonth": 123,
"expYear": 123,
"accountHolderType": "<string>",
"accountNumberLast4": 123,
"bankName": "<string>",
"routingNumber": 123,
"type": "CARD"
},
"hasItems": false,
"hasPackages": false
}The tenant you are making this request on behalf of
Your api key
Successful Response
Show child attributes
OUTSTANDING, PAID, EXTERNAL_SETTLEMENT, VOID, WRITE_OFF, REFUNDED, CHARGEBACK, PAYMENT_PLAN, COLLECTIONS Show child attributes
Charge ID this tip belongs to
Tip amount in cents
Provider ID receiving the tip
Unique identifier for the tip
Show child attributes
DUPLICATE, DISPUTE, BOOKING_FEE, OTHER CANCELED, CREATED, FAILED, IN_REVIEW, PRESENTING, PROCESSING, SUCCEEDED Show child attributes
CARD, ACH, APPLE_PAY