> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# BillingBillTransaction

> A payment or credit transaction recorded against a bill.

**Required scopes:** [`invoices_read`](/docs/api-reference/v3/reference/scopes#scope-invoices_read)

<ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/money">Money!</a>} required>
  Transaction amount in its own currency.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type={<a href="/docs/api-reference/v3/reference/common/decimal">Decimal!</a>} required>
      The exact amount as a decimal string (e.g. "19.99").
    </ResponseField>

    <ResponseField name="currency" type="String!" required>
      ISO 4217 currency code (e.g. USD).
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="billId" type="String!" required>
  Owning bill ID.
</ResponseField>

<ResponseField name="createdAt" type={<a href="/docs/api-reference/v3/reference/common/date-time">DateTime!</a>} required>
  When the transaction was created.
</ResponseField>

<ResponseField name="failureMessage" type="String">
  Payment failure detail, when present.
</ResponseField>

<ResponseField name="id" type="String!" required>
  Stable transaction ID.
</ResponseField>

<ResponseField name="idempotencyKey" type="String!" required>
  Stable payment attempt key.
</ResponseField>

<ResponseField name="shopifyChargeId" type="String">
  Shopify charge identifier for matching a payment.
</ResponseField>

<ResponseField name="status" type={<a href="/docs/api-reference/v3/reference/billing/billing-transaction-status">BillingTransactionStatus!</a>} required>
  Transaction status.
</ResponseField>

<ResponseField name="stripeChargeId" type="String">
  Stripe charge identifier for matching a payment.
</ResponseField>

<ResponseField name="stripeRefundId" type="String">
  Stripe refund identifier for matching a credit.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.