setup_funding
Create a funding instrument for a customer by setting up bank accounts or cryptocurrency wallets to enable payments and transfers through the SpherePay platform.
Instructions
Create a funding instrument (bank account or crypto wallet) for a customer. For bank_account: requires bank_name, account_name, currency ('usd' or 'eur'), account_details (accountNumber/routingNumber/accountType for USD; iban for EUR), and account_owner (accountHolderName, address). Optional: networks (list of strings, e.g. ['ach', 'wire']). For wallet: requires address (blockchain address) and network (ethereum, polygon, sol, base, arbitrum, tron, avalanche, optimism).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_id | Yes | ||
| instrument_type | Yes | ||
| bank_name | No | ||
| account_name | No | ||
| currency | No | ||
| account_details | No | ||
| account_owner | No | ||
| networks | No | ||
| address | No | ||
| network | No |