# `Daraja.B2C.Response.Error`
[🔗](https://github.com/okothkongo/daraja/blob/v0.1.1/lib/daraja/b2c/response.ex#L26)

Returned when Safaricom rejects a B2C payment request.

# `t`

```elixir
@type t() :: %Daraja.B2C.Response.Error{
  error_code: String.t(),
  error_message: String.t(),
  request_id: String.t()
}
```

---

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