client.Commerce.
Idempotent Writes
Commerce write operations that can create payment-affecting resources take an idempotency key argument. The SDK sends it as theIdempotency-Key header, not
in the JSON body.
MCP Tool Calls
Ops And Webhooks
Common Methods
| Method | Purpose |
|---|---|
GetProfile | Fetch the public Commerce V1 merchant profile |
SearchCatalog / ListCatalogProducts | Ground agent shopping flows in merchant catalog data |
CreateCart / GetCart | Create and read Commerce carts |
CreateConsentRequest / ExchangeConsentForPassport | Request buyer consent and mint Commerce Passports |
VerifyPassport / RevokePassport | Verify or revoke Commerce Passports |
CreatePaymentIntent / GetPaymentIntent | Create and inspect provider-neutral payment intents |
CreateCheckoutLink | Create hosted checkout handoff links |
CreateProviderCredential / ValidateProviderCredential | Manage provider credential metadata and validation |
GetOpsHealth / ListProviderWebhookEvents | Run operator health and webhook queue checks |