If an AI assistant is operating Natural for you, use the MCP examples. Python, TypeScript,
CLI, and cURL examples are for application developers building an integration.
1. Set up Natural
If you are using an AI assistant
Ask your assistant to load Natural’s playbook and connect with OAuth:If you are building an integration
Sign up at natural.co/signup, complete verification, then create a developer API key in the dashboard. The key is shown once; store it in a secret manager and never commit it.2. Create an agent
Agents execute transactions. Create one in the Agents tab of the dashboard, or:id (agt_*), store it to associate your agent for future requests.
3. Connect a bank account and fund your wallet
Fund your wallet from a linked bank account so your agent can transact autonomously.Connect a bank account
Link a bank account from the Wallet tab of your dashboard — Natural connects it securely through Plaid. Once linked, list your external accounts to get theeac_* ID to deposit from:
id (eac_*) — you’ll pass it to the deposit call below.
Fund your wallet
Pull funds from the linked account into your wallet:balance.available is the spendable balance after pending holds:
4. Send the payment
id (pay_*) and an initial status.
5. Track the payment
Check the payment’s status with theid from step 4:
CREATED → PROCESSING → COMPLETED. A payment can also sit at PENDING_CLAIM (awaiting the recipient) or IN_REVIEW (compliance hold), or end at FAILED, CANCELED, or APPROVAL_DENIED. List and filter with GET /transactions, or subscribe to webhooks instead of polling.
Paying on behalf of a customer
To pay from a customer’s wallet, the customer first delegates payment authority to your agent. Invite them:customerPartyId when sending — the payment then draws from their wallet instead of yours.
Find a customer’s customerPartyId via GET /customers — each customer resource’s id is the party ID.