On this page:
Create bank accounts so that you can receive available balances.
https://api.premepay.com/v1/stores/:id/bank_accounts
Parameter | Description |
---|---|
holderName |
Bank Account Holder |
identificationNumber |
CPF/CNPJ of the Holder |
bankCode |
Bank code |
routingNumber |
Routing number |
accountNumber |
Account number |
type |
Account type (savings or checking) |
This is an example of how your application to register a new bank account might look like.
If your request is successful, you will receive the return of the consumer object.
If your request has invalid creation parameters - for example, specifying an invalid field or value - you may receive an error response. Below is the complete list of possible error responses:
Related Content
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52c5ff42-e8bf-45d3-81d1-b6e05786a688/POST.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/52c5ff42-e8bf-45d3-81d1-b6e05786a688/POST.png" width="40px" /> POST - Create withdrawal
</aside>
<aside> <img src="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bfe6a9ef-6d9a-405e-9fbe-484666d3fb5e/PUT.png" alt="https://s3-us-west-2.amazonaws.com/secure.notion-static.com/bfe6a9ef-6d9a-405e-9fbe-484666d3fb5e/PUT.png" width="40px" /> PUT - Activate a bank account
</aside>