# Create a subaccount

> Create a subaccount for each partner who receives a share of your payments, and save its subaccount code.

Create a subaccount for each partner who receives part of a payment. Paystack settles the partner's share into the subaccount's bank account. When you split a payment, you identify the partner by the subaccount's `subaccount_code`.

You can also create subaccounts on the [Subaccounts](https://dashboard.paystack.com/v2/subaccounts) page of your Dashboard.

## Get the partner's bank code

Create Subaccount identifies the partner's bank by its code, not its name. Call [List Banks](/api/bank#list), find the partner's bank in the response, and copy its `code`:

<localized-request-response src="payments/split-payments/list-banks">



</localized-request-response>

This response is trimmed to the bank used in the examples on this page. You pass its `code` as `settlement_bank` when you create the subaccount.

## Confirm the account details

<localized-block regions="ng, gh">

Call [Resolve Account Number](/api/bank#resolveAccountNumber) with the partner's account number and bank code. Check that the returned `account_name` matches the partner's name. For the full flow, see [Verify an account number](/disbursements/transfers/verify-account).

</localized-block>

<localized-block regions="za">

If the partner's bank supports validation, call [Validate Account](/api/bank#validateAccountNumber) with their account number, bank code, account holder name, and identity or business registration number. For the full flow, see [Verify an account number](/disbursements/transfers/verify-account).

</localized-block>

<localized-block regions="ke">

Confirm the account number and bank code with the partner before you continue.

</localized-block>

<callout title="Check the account before you create the subaccount" type="warning">

Paystack pays the partner's share into the account on the subaccount. If the details are wrong, the money goes to the wrong account, and Paystack isn't responsible for it.

</callout>

## Create the subaccount

Send the partner's business name, bank code, account number, and `percentage_charge` to [Create Subaccount](/api/subaccount#create).

<callout title="percentage_charge is your share" type="warning">

Set `percentage_charge` to the percentage of each payment your main account keeps, not the partner's share.

</callout>

This subaccount gives your main account 20% of each payment and Oasis Foods 80%:

<localized-request-response src="payments/split-payments/create-subaccount">



</localized-request-response>

## Save the subaccount code

Store the `subaccount_code` (`ACCT_6uujpqtzmnufzkw`) with the partner's record. Pass it as `subaccount` to [split a payment with one partner](/payments/split-payments/single-split), or add it to a split to [divide a payment across several subaccounts](/payments/split-payments/multi-split).

To change the bank account or `percentage_charge` later, use [Update Subaccount](/api/subaccount#update).
