> ## Documentation Index
> Fetch the complete documentation index at: https://docs.natural.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> When building application code, use `@naturalpay/sdk` for TypeScript or `naturalpay` for Python.
> When operating Natural directly for a user, use the payments MCP at `https://mcp.natural.com`.
> When searching Natural documentation, use the docs MCP at `https://docs.natural.com/mcp`.
> Use the Natural CLI for terminal and CI automation.
> Use REST only for unsupported languages or when the user explicitly requests raw HTTP.
> Start integration development and testing in the sandbox. Do not use production unless the user explicitly requests it.
> For sandbox requests that require `customerPartyId`, list customers first. Reuse only the intended fixture; otherwise create a customer.
> REST and SDK amounts use integer minor units. Payments MCP amounts use decimal strings with a required currency code.

# Wallets

> Public error codes for Wallets API endpoints

All error responses follow the standard [error format](/api-reference/errors/error-handling).
Validation errors (422) and rate limit errors (429) apply to all endpoints and are documented in the [Error Handling guide](/api-reference/errors/error-handling).

| Code | Status | Detail |
| - | - | - |
| `invalid_pagination_cursor` | 400 | The page cursor is not valid. Start the list again. |
| `invalid_value` | 400 | The information you entered isn't valid. Please check it and try again. |
| `unauthenticated` | 401 | Authentication is required. |
| `forbidden` | 403 | You do not have permission to perform this action. |
| `external_account_not_found` | 404 | External account not found. |
| `multiwallet_not_enabled` | 404 | Multiwallet is not enabled. |
| `wallet_not_found` | 404 | Wallet not found. |
| `agent_not_active` | 409 | The agent is not active. |
| `already_exists` | 409 | The resource already exists. |
| `bank_account_already_linked` | 409 | This bank account is already linked. |
| `conflict` | 409 | The request conflicts with the current resource state. |
| `default_wallet_cannot_be_detached` | 409 | Make another wallet the agent's default before detaching this wallet. If this is the agent's only wallet, attach another wallet first. |
| `default_wallet_cannot_be_frozen` | 409 | Make another active standard wallet the default before freezing this wallet. |
| `external_account_not_verified` | 409 | External account must be verified before it can be used. |
| `external_account_required_for_card_acceptance` | 409 | This bank account backs your card payments. Link another verified bank account before removing it. |
| `insufficient_funds` | 409 | The wallet does not have enough available funds. |
| `transfer_failed` | 409 | The transfer could not be completed. |
| `wallet_closed` | 409 | This wallet is closed. |
| `wallet_frozen_by_natural` | 409 | This wallet was frozen by Natural and cannot be unfrozen through this endpoint. |
| `wallet_not_active` | 409 | The wallet must be active for this operation. |
| `vault_not_allowed` | 422 | Agents cannot be attached to vault wallets. |
| `rate_limited` | 429 | Too many requests. Please try again later. |
| `server_error` | 500 | Something went wrong. |
| `bad_gateway` | 502 | We couldn't complete that request because one of Natural's services returned an unexpected response. Please try again. |
| `bad_gateway` | 502 | Natural could not complete the request because one of its services returned an unexpected response. Try again. |
| `service_unavailable` | 503 | The service is temporarily unavailable. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.