# Create a cashout

Merchants willing to create cashouts for your Submerchant accounts, they just need to include the **`sub_merchant_id`** parameter in the cashout request, indicating in the value to which of their submerchant the cashout corresponds.

<pre class="language-sh"><code class="lang-sh">curl -L \
  --request POST \
<strong>  --url 'https://api-stg.pandablue.com/v3/cashout' \
</strong>  --header 'Content-Type: application/json' \
  --header 'Payload-Signature: text' \
  --data '{
    "login": "your_cashout_login",
    "pass": "your_cashout_pass",
    "external_id": "30000000001",
    "country": "MX",
    "currency": "MXN",
<strong>    "sub_merchant_id":"18703",
</strong>    "amount": 100,
    "document_id": "848392783",
    "bank_account": "021790064060296642",
    "beneficiary_name": "Luis",
    "beneficiary_lastname": "Miguel",
    "notification_url": "https://merchant.site/webhooks/pandablue",
    "type": "json"
}'
</code></pre>
