# The ReceivedCredit object

### The ReceivedCredit object

```json
{
  "id": "rc_1MtkSr2eZvKYlo2CcysvUbEw",
  "object": "treasury.received_credit",
  "amount": 1000,
  "created": 1680755425,
  "currency": "usd",
  "description": "Stripe Test",
  "failure_code": null,
  "financial_account": "fa_1MtkSr2eZvKYlo2CsJozwFWD",
  "hosted_regulatory_receipt_url": "https://payments.stripe.com/regulatory-receipt/CBQaFwoVYWNjdF8xMDMyRDgyZVp2S1lsbzJDKOKVuaEGMgagXvSInCY6NpMvimqdsEKNHRrHZ3OGyVm_l5LfDMezNeY83F5Mq-rryXZ-J1z-jfFBv30wz5WxDH97VRBIzw",
  "initiating_payment_method_details": {
    "billing_details": {
      "address": {
        "city": null,
        "country": null,
        "line1": null,
        "line2": null,
        "postal_code": null,
        "state": null
      },
      "email": null,
      "name": "Jane Austen"
    },
    "type": "us_bank_account",
    "us_bank_account": {
      "bank_name": "STRIPE TEST BANK",
      "last4": "6789",
      "routing_number": "110000000"
    }
  },
  "linked_flows": {
    "credit_reversal": null,
    "issuing_authorization": null,
    "issuing_transaction": null,
    "source_flow": null,
    "source_flow_type": null
  },
  "livemode": false,
  "network": "ach",
  "reversal_details": {
    "deadline": 1681084800,
    "restricted_reason": null
  },
  "status": "succeeded",
  "transaction": "trxn_1MtkSr2eZvKYlo2CuFFh9Rh0"
}
```

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string)
  String representing the object’s type. Objects of the same type share the same value.

- `amount` (integer)
  Amount (in cents) transferred.

- `created` (timestamp)
  Time at which the object was created. Measured in seconds since the Unix epoch.

- `currency` (enum)
  Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies.md).

- `description` (string)
  An arbitrary string attached to the object. Often useful for displaying to users.

- `failure_code` (enum, nullable)
  Reason for the failure. A ReceivedCredit might fail because the receiving FinancialAccount is closed or frozen.
Possible enum values:
  - `account_closed`
    Funds can’t be sent to a closed FinancialAccount.

  - `account_frozen`
    Funds can’t be sent to a frozen FinancialAccount.

  - `international_transaction`
    International transactions can’t be sent to FinancialAccount.

  - `other`
    Funds can’t be sent to FinancialAccount for other reasons.

- `financial_account` (string, nullable)
  The FinancialAccount that received the funds.

- `hosted_regulatory_receipt_url` (string, nullable)
  A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts.md) URL that is provided when money movement is considered regulated under Stripe’s money transmission licenses.

- [`initiating_payment_method_details`](https://docs.stripe.com/api/treasury/received_credits/object.md?query=initiating_payment_method_details) (object)
  Details about the PaymentMethod used to send a ReceivedCredit.

- [`linked_flows`](https://docs.stripe.com/api/treasury/received_credits/object.md?query=linked_flows) (object)
  Other flows linked to a ReceivedCredit.

- `livemode` (boolean)
  If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.

- `network` (enum)
  The rails used to send the funds.
Possible enum values:
  - `ach`
  - `card`
  - `stripe`
  - `us_domestic_wire`

- [`reversal_details`](https://docs.stripe.com/api/treasury/received_credits/object.md?query=reversal_details) (object, nullable)
  Details describing when a ReceivedCredit may be reversed.

- `status` (enum)
  Status of the ReceivedCredit. ReceivedCredits are created either `succeeded` (approved) or `failed` (declined). If a ReceivedCredit is declined, the failure reason can be found in the `failure_code` field.
Possible enum values:
  - `failed`
    The ReceivedCredit was declined, and no Transaction was created.

  - `succeeded`
    The ReceivedCredit was approved.

- `transaction` (string, nullable, expandable (can be expanded into an object with the `expand` request parameter))
  The Transaction associated with this object.
