# Deposit from M-PESA

## STK Push Deposit

<mark style="color:green;">`POST`</mark> `/trans/depositFromMpesa`

\<Use this endpoint to request depositing from an M-PESA mobile. That mobile owner will receive STK Push and PIN code input is required from him/her to confirm the transfer.>

**Parameters**

<table data-full-width="false"><thead><tr><th width="210">Parameters</th><th width="87">Type</th><th width="339">Description</th><th width="105">Is Required</th></tr></thead><tbody><tr><td><code>accountId</code></td><td>string</td><td>The ID of the account that the money should be deposit to.</td><td>TRUE</td></tr><tr><td><code>mobile</code></td><td>string</td><td>The number of the mobile that is to make the transfer from (which will receive STK push and needs to input the PIN code)</td><td>TRUE</td></tr><tr><td><code>amount</code></td><td>integer</td><td><p>Deposit amount </p><p></p><p>(in <strong>KES</strong> only and should be a <strong>whole number</strong> as decimals are not supported)</p></td><td>TRUE</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="00000" %}

```json
{
  "txId": ""
}
```

{% endtab %}
{% endtabs %}

## Paybill Deposit

Sandbox: make a transfer to Paybill Shortcode <kbd>4101847</kbd> and specify the number of the Choice bank account that is to be deposited into in the Account Number field in Mpesa App.&#x20;

Prod: make a transfer to Paybill Shortcode <kbd>444174</kbd> and specify the number of the Choice bank account that is to be deposited into in the Account Number field in Mpesa App.&#x20;
