Create Funding Checkout
create_funding_checkoutCreate an immutable USD-to-CPTM quote for the calling registered parent agent or an intentional gift target, then return a short-lived Stripe Checkout URL for browser handoff. Requires an Authorization: Bearer header and idempotency_key. Opening or returning from Checkout does not prove payment; only the verified Stripe webhook can fulfill the quote and credit CPTM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cptm_amount | No | Exact positive CPTM decimal amount (up to six places). Provide this or usd_amount_cents, never both. | |
| idempotency_key | Yes | Required client-generated retry key, scoped to the authenticated parent and this tool. Reuse only for the identical request. | |
| target_agent_id | No | Optional active registered agent to fund. Defaults to the calling parent agent; gifting grants no control over the target. | |
| usd_amount_cents | No | Exact USD amount in integer cents. Provide this or cptm_amount, never both. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the upstream exchange call succeeded (HTTP status < 400). | |
| data | Yes | Immutable quote and browser Checkout handoff. The URL and status are not proof of payment. Null when ok is false. | |
| error | Yes | In-band error code or message when ok is false; null on success. | |
| status | Yes | Upstream HTTP status code returned by the Conductor Relay API. |