Get Coinbase payment status
get_coinbase_payment_statusCheck a Coinbase (USDC) payment created by get_domain_purchase_coinbase_pay_link, get_domain_register_coinbase_pay_link or get_add_funds_coinbase_pay_link, and complete the purchase / registration / funds credit once it is paid. Each call waits up to ~10 seconds server-side and re-checks before answering, so it is safe to call back-to-back.
POLLING: right after handing over the pay link (or after an x402 wallet pays it), keep calling this while status is 'pending' and stop_polling is false — no need to wait between calls. When stop_polling is true (about 15 minutes after the link was created), STOP polling and show the returned user_message to the user exactly as given (it is a highlighted warning). When the user later says they have paid, call this again.
status is one of: 'pending' (not confirmed yet), 'completed' (domain purchased / funds credited — tell the user), 'failed' (checkout expired or failed, nothing captured — offer a new link), 'refunded' (paid, but the registry rejected the registration — the amount was credited to the Atom account balance), or 'needs_support' (paid but could not be applied automatically — give the user the message as-is).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_code | Yes | payment_code returned by the Coinbase pay-link tool. | |
| wait_seconds | No | How long the server may wait for the payment before answering (default 10). Use 0 for an instant check. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Where the user can see the result: My Domains (/dashboard/registrar) for a registration or marketplace purchase, the Atom dashboard (/dashboard) for add funds. | |
| type | No | ||
| domain | No | ||
| status | Yes | ||
| balance | No | ||
| message | No | ||
| success | Yes | ||
| order_id | No | ||
| funds_added | No | ||
| payment_code | Yes | ||
| stop_polling | No | Only with status 'pending': true means stop polling and show user_message. | |
| user_message | No | Highlighted markdown warning to show the user verbatim when stop_polling is true. |