> ## 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.

# Send a payment

> Pay anyone by email, phone, party ID, agent ID, or @handle.

<Snippet file="shared/prerequisites.mdx" />

<Snippet file="shared/mcp-callout.mdx" />

Address the recipient by email, phone, party id, agent id, or [handle](/guides/agents/handles). If they are new to Natural, Natural sends a claim link and onboards them when they claim the funds.

<Snippet file="shared/cents-note.mdx" />

<Snippet file="shared/instance-id-note.mdx" />

<CodeGroup>
  ```python Python theme={null}
  import uuid
  from naturalpay import Natural

  agent_client = Natural(
      x_agent_id="agt_019cd1798d637a4da75dce386343931d",
      x_instance_id=str(uuid.uuid4()),
  )

  payment = agent_client.payments.create(
      amount=500_000,
      currency="USD",
      counterparty={"type": "email", "value": "contractor@example.com"},
      description="Q4 development work",
      idempotency_key=str(uuid.uuid4()),
  )
  print(payment.data.id)
  ```

  ```typescript TypeScript theme={null}
  import Natural from "@naturalpay/sdk";

  const client = new Natural();
  const payment = await client.payments.create(
    {
      amount: 500_000,
      currency: "USD",
      counterparty: { type: "email", value: "contractor@example.com" },
      description: "Q4 development work",
      idempotencyKey: crypto.randomUUID(),
    },
    {
      xAgentId: "agt_019cd1798d637a4da75dce386343931d",
      xInstanceId: crypto.randomUUID(),
    },
  );
  console.log(payment.data.id);
  ```

  ```bash CLI theme={null}
  natural payments create \
    --amount 500000 \
    --currency USD \
    --params '{"counterparty": {"type": "email", "value": "contractor@example.com"}}' \
    --description "Q4 development work" \
    --x-agent-id agt_019cd1798d637a4da75dce386343931d \
    --x-instance-id "$(uuidgen)" \
    --idempotency-key "$(uuidgen)"
  ```

  ```text MCP theme={null}
  Using my Procurement Agent, pay contractor@example.com $5,000 for Q4 development work.
  ```

  ```bash cURL theme={null}
  curl -X POST https://api.natural.com/payments \
    -H "Authorization: Bearer $NATURAL_API_KEY" \
    -H "X-Agent-ID: agt_019cd1798d637a4da75dce386343931d" \
    -H "X-Instance-ID: $(uuidgen)" \
    -H "Idempotency-Key: $(uuidgen)" \
    -H "Content-Type: application/json" \
    -d '{
      "data": {
        "attributes": {
          "amount": 500000,
          "currency": "USD",
          "counterparty": { "type": "email", "value": "contractor@example.com" },
          "description": "Q4 development work"
        }
      }
    }'
  ```
</CodeGroup>

The response returns the payment `id` (`pay_*`) and its initial `status`:

<Snippet file="api-examples/payments.create.response.mdx" />

<Note>
  A recipient who is not on Natural yet comes back as `PENDING_CLAIM`. Natural emails or texts them
  a claim link and moves the money once they onboard and claim it.
</Note>

The payment draws from the sending party's default wallet. Pass `walletId` (`wal_*`) to spend from a specific wallet instead.

Once sent, [track the payment](/guides/payments/track-payment) to follow it from `PROCESSING` to `COMPLETED`, or cancel it before it settles.

<Snippet file="shared/webhook-payment.mdx" />

<Snippet file="shared/on-behalf-callout.mdx" />
