# `Stripe.Services.TestHelpers.Treasury.ReceivedCreditService`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/services/test_helpers/treasury/received_credit_service.ex#L2)

ReceivedCredit API operations.

# `create`

```elixir
@spec create(Stripe.Client.t(), map(), keyword()) ::
  {:ok, term()} | {:error, Stripe.Error.t()}
```

Test mode: Create a ReceivedCredit

Use this endpoint to simulate a test mode ReceivedCredit initiated by a third party. In live mode, you can’t directly create ReceivedCredits initiated by third parties.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
