# Transfer Funds between Your Pockets (Same-entity)

### Business Goal

Move funds in between two of your pockets, allowing to rebalance liquidity.

Note: as a result of this transfer, the current version creates T-bill Sell trades in the sending pocket and T-bill Buy trades in the receiving pocket. A future version will add an option to transfer securities between pockets without any new Sell/Buy trade.

### Business Workflow Example

Customer systems:

1. Get from Jiko the list of pockets with their balance information.
2. Alternatively, get from Jiko the balance information for a specific pocket whose Jiko Id is known already by customer systems.
3. Determine which pockets need funding and which pockets can provide funding.
4. Send to Jiko a request to move funds between two pockets.
5. Approve the transfer request.
6. Monitor the execution status.
7. Trigger additional actions, such as third-party payment initiation based on the received balance.


### Relevant API Endpoints

| Step | Purpose | Jiko API Endpoints |
|  --- | --- | --- |
| 1 | Initiate a transfer, using the following parameters:• type = `ON_US`• details.type = `INTERNAL_REALLOCATION`Reminder: the transfer amount in field `amount_usdc` is represented in cents. Where value `10123` corresponds to `USD 101.23`. | POST [`/api/v1/transfer-requests/`](/products/customer-api/reference/transfer-requests/create_transfer_request_api_v1_transfer_requests__post) |


### Illustration


```json
{
  "transfer": {
      "id": "7fe330b4-1c1c-4461-ab11-2d257e92126f",
      "type": "ON_US",
      "origin_pocket_id": "de0eb293-88ea-4e8b-97e2-505b516c4f2z",
      "amount": {
          "type": "REQUESTED_AMOUNT",
          "amount_usdc": 10123
      },
      "details": {
          "type": "INTERNAL_REALLOCATION",
          "destination_pocket_id": "844ab7f4-e94f-433b-9224-01cbe6585c00"
      },
      "description": "SEOUT 01"
  },
  "reviewers": []
}
```

## Cancel a Same-entity Transfer request

See [Cancel a JikoNet Transfer request](/products/customer-api/use-cases/jikonet-transfers#cancel-a-jikonet-transfer-request).

## Approve a Same-entity Transfer request

See [Approve a JikoNet Transfer request](/products/customer-api/use-cases/jikonet-transfers#approve-a-jikonet-transfer-request).

## Retrieve the Status of a Same-entity Transfer

See [Retrieve the status of a JikoNet transfer request](/products/customer-api/use-cases/jikonet-transfers#retrieve-the-status-of-a-jikonet-transfer).