---
title: "Get Receipt"
method: GET
path: "/billing/payment/{payment_id}/receipt"
tags: ["provider", "billing", "public"]
---

# Get Receipt

`GET /billing/payment/{payment_id}/receipt`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/billing/payment/{payment_id}/receipt`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/billing/payment/:payment_id/receipt/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `payment_id` string, required

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- PaymentReceipt
  - `id` string, required
  - `patient` PublicPatient, required
    - `id` string, required
    - `firstName` string, required
    - `lastName` string, nullable, required
  - `amount` integer, required
  - `charges` PublicCharge[], required
    - `id` string, required
    - `total` integer, required
    - `totalOutstanding` integer, required
    - `description` string, nullable
    - `status` 'OUTSTANDING' | 'PAID' | 'EXTERNAL_SETTLEMENT' | 'VOID' | 'WRITE_OFF' | 'REFUNDED' | 'CHARGEBACK' | 'PAYMENT_PLAN' | 'COLLECTIONS', required
    - `discountAmount` integer, required
    - `discountPercentage` number, required
    - `externalId` string, nullable
    - `externalCreatedDate` string, date-time, nullable
    - `createdDate` string, date-time, required
    - `ruleSetId` string, nullable
    - `tips` TipDetail[], nullable
      - `chargeId` string, required: Charge ID this tip belongs to
      - `amount` integer, required: Tip amount in cents
      - `providerId` string, required: Provider ID receiving the tip
      - `id` string: Unique identifier for the tip
      - `provider` ProviderTiny
        - `id` string, required
        - `firstName` string, required
        - `lastName` string, nullable
        - `email` string, nullable
        - `createdDate` string, date-time, nullable
    - `taxTotal` integer, nullable
  - `refunds` RefundSummary[], required
    - `id` string, required
    - `paymentId` string, required
    - `amount` integer, required
    - `reason` 'DUPLICATE' | 'DISPUTE' | 'BOOKING_FEE' | 'OTHER', required
    - `createdDate` string, date-time, required
    - `status` 'CANCELED' | 'CREATED' | 'FAILED' | 'IN_REVIEW' | 'PRESENTING' | 'PROCESSING' | 'SUCCEEDED', required
    - `rainforestRefundId` string, nullable
    - `fee` integer
  - `createdDate` string, date-time, required
  - `paymentMedium` string, required
  - `paymentMethod` PaymentMethodPublic
    - `brand` string, nullable, required
    - `last4` string, nullable, required
    - `expMonth` integer, nullable, required
    - `expYear` integer, nullable, required
    - `accountHolderType` string, nullable, required
    - `accountNumberLast4` integer, nullable, required
    - `bankName` string, nullable, required
    - `routingNumber` integer, nullable, required
    - `type` 'CARD' | 'ACH' | 'APPLE_PAY', required
  - `feeToPatient` integer, required
  - `hasItems` boolean
  - `hasPackages` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
