# Simulate Wire Receiving

Simulates receiving a wire into one of your portals, as if another bank had sent it. Only available in sandbox.
Address the wire as a real one is addressed: with the portal's `routing_number` and `account_number`, as shown on the portal (see [Get Account Portal](/products/partner-api/reference/portals/get-account-portal)). If they are not one of your portals, the request is refused with `404`.
The wire is processed as a real incoming wire would be: Jiko matches it to the portal and verifies it, as in production.
### What follows
- The wire posts to the portal's account. The balance rises and you receive `transfers.wire.in.success`.
- A wire to a portal that is closed or does not allow wires does not post.

A `202` means the request was accepted, not that the wire has posted. Follow the outcome through webhooks and the portal account's transactions.

Endpoint: POST /api/v1/sandbox/wire-receiving/
Version: Version: 22fbfcad
Security: HTTPBearer

## Description:

  - `What follows` ()
    The wire posts to the portal's account. The balance rises and you receive transfers.wire.in.success.A wire to a portal that is closed or does not allow wires does not post. A 202 means the request was accepted, not that the wire has posted. Follow the outcome through webhooks and the portal account's transactions.

## Security:

  - `HTTPBearer` (unknown)
    http bearer

## Header parameters:

  - `x-jiko-idempotency` (string, required)
    A UUID you generate to identify this request. Reusing a value that was already sent is rejected as a duplicate request.

  - `x-jiko-signature` (string, required)
    Base64-encoded HMAC-SHA256 hash of `x-jiko-idempotency + request pathname + body`, keyed with your shared secret. See [Authentication](/products/partner-api/guides/building/auth) for the full algorithm and a code sample.

## Request fields (application/json):

  - `routing_number` (string, required)
    The portal's routing number, as shown on the portal. Nine digits.

  - `account_number` (string, required)
    The portal's account number, as shown on the portal.

  - `amount_usdc` (integer, required)
    Amount in USD cents.

  - `originator_name` (string, required)
    The originator's name.

  - `originator_to_beneficiary_information` (any)
    Free-form information from the originator to the beneficiary, such as an invoice number.

## Request examples:

  - `With originator-to-beneficiary information` (unknown)

  - `Originator name only` (unknown)

## Response 202:

  - `202` (unknown)
    Successful Response

## Response 404:

  - `404` (unknown)
    Not Found

## Response 404 fields (application/json):

  - `type` (string, required)

  - `instance` (string, required)

  - `detail` (string, required)

  - `trace_id` (any)

## Response 422:

  - `422` (unknown)
    Unprocessable Content

## Response 422 fields (application/json):

  - `type` (string, required)

  - `instance` (string, required)

  - `detail` (string, required)

  - `trace_id` (any)

## Response 404 examples:

  - `Not one of your portals` (unknown)

## Response 422 examples:

  - `Routing number not nine digits` (unknown)

  - `Amount out of range` (unknown)

  - `Originator name too long` (unknown)

