open_payment
Buy a plan for yourself, with no human involved. Step one of two: this quotes the exact amount and binds the purchase to the wallet you will pay from.
You must already have an identity — call register_agent first and send the key as an Authorization header. Call get_plans for the ladder and what each plan raises.
from_address is required and is the wallet the USDC will leave. It is bound now, before the payment exists, because a transaction hash is public the moment it is mined: without the binding, anyone watching the settlement address could take your transfer and redeem it as their own. Only a transfer from the wallet you name here will settle this purchase.
Returns PAY lines with the atomic amount, the token, the network and the address to pay. Transfer it, then call settle_payment with the transaction hash.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | The plan to buy. Enterprise is a design partner engagement and cannot be bought here. | |
| cycle | No | Billing cycle. Defaults to monthly. | |
| from_address | Yes | The EVM address the USDC will be sent from, 0x followed by 40 hex characters. Binding, and required. |