accueil / serveurs / Finance & Paiement / io.github.themewireco/synchronity
io.github.themewireco/synchronity
serveur MCP (Model Context Protocol) · synchronity-mcp 0.2.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.themewireco/synchronity est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.themewireco/synchronity » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 26 outils
- add_to_cart≈ 705 tokens
Add a product variant (or base product) to an existing cart. Reuse the active cart_id from the chat history if one already exists. Only call create_cart first if no cart exists yet.
Paramètres, retour & exemple (8)
Paramètresemail· string · optionnel
Buyer email; arms a back-in-stock alert for any out-of-stock item in items[].items· array · optionnel
Add several products in ONE call instead of calling this tool repeatedly. Each entry: { product_id, quantity, variant_id?, addons? }. Out-of-stock items are reported; pass `email` to auto-arm a back-in-stock alert for them.addons· object · optionnel
Selected product add-ons as a map of addon_id -> chosen value(s). For select/radio/boolean pass a single value; for checkbox/multi pass an array; for text/number pass the value. Values for choice add-ons MUST come from the product's addons[].options[].value. Collect any addon with required:true before checkout.cart_id· string · optionnel
Cart ID to add the product tosite_id· string · requis
Registered site IDquantity· integer · optionnel
Quantity to add (must be >= 1)product_id· string · optionnel
Product ID to addvariant_id· string · optionnel
Optional product variant ID (e.g., for size/color selection)
Exemple d'appel{"name": "add_to_cart", "arguments": {"site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "items": [], "total": "texte", "cartId": "texte", "siteId": "texte", "subtotal": "texte", "discounts": []}} - apply_coupon≈ 394 tokens
Apply a discount or promotional code to the cart. Returns the updated cart with discount applied.
Paramètres, retour & exemple (3)
Paramètrescode· string · requis
Coupon or promotional code stringcart_id· string · requis
Cart IDsite_id· string · requis
Registered site ID
Exemple d'appel{"name": "apply_coupon", "arguments": {"code": "texte", "cart_id": "texte", "site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "items": [], "total": "texte", "cartId": "texte", "siteId": "texte", "subtotal": "texte", "discounts": []}} - check_delegation≈ 190 tokens
Poll for human approval of a delegation request. When status is "approved", returns the delegation_token to use as buyer_delegation_token in execute_checkout.
Paramètres, retour & exemple (1)
Paramètresdevice_code· string · requis
device_code returned by request_delegation
Exemple d'appel{"name": "check_delegation", "arguments": {"device_code": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"status": "texte", "delivery": "texte", "user_code": "texte", "approvalUrl": "texte", "device_code": "texte", "delegation_token": "texte"}} - compare_products≈ 310 tokens
Compare products across multiple registered e-commerce sites simultaneously. Uses fail-open strategy: partial results from successful sites are returned even if some sites time out.
Paramètres, retour & exemple (6)
Paramètresquery· string · requis
Search query for product comparisoncategory· string · optionnel
Filter by category (optional)in_stock· boolean · optionnel
Filter to in-stock items only (optional)site_ids· array · requis
List of registered site IDs to compare acrossmax_price· string · optionnel
Maximum price filter (optional)min_price· string · optionnel
Minimum price filter (optional)
Exemple d'appel{"name": "compare_products", "arguments": {"query": "texte", "site_ids": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"results": []}} - create_cart≈ 197 tokens
Create a new shopping cart for a specific site. Returns a cart_id. IMPORTANT: Reuse the active cart_id across multiple products in the same session. Do NOT call create_cart again if you already have a cart_id for this site in the chat history.
Paramètres, retour & exemple (2)
Paramètressite_id· string · requis
Registered site IDcurrency· string · optionnel
ISO 4217 currency code (e.g., "USD", "EUR", "GBP"). Defaults to site currency.
Exemple d'appel{"name": "create_cart", "arguments": {"site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"items": [], "cart_id": "texte"}} - execute_checkout≈ 1145 tokens
Execute checkout for a cart to create an order. Requires a buyer delegation token (from user auth) and a shipping address. The order is created UNPAID (status "pending"). IMPORTANT — do NOT stop here or just hand the user the payment_url. Immediately continue the in-chat payment flow: call get_payment_methods for the returned order_id, present the available channels to the buyer, and ask which they want to use; then drive initiate_payment → (submit_payment_otp if needed) → poll get_payment_status until the order is paid. The payment_url in the response is only a manual fallback if the buyer declines in-chat payment. Always offer to collect payment in the chat first.
Paramètres, retour & exemple (15)
Paramètresnotes· string · optionnel
Optional order notescart_id· string · requis
Cart ID to checkoutsite_id· string · requis
Registered site IDcustomer_name· string · requis
Full name of the customer placing the ordershipping_city· string · requis
Shipping cityshipping_name· string · requis
Recipient full namecustomer_email· string · requis
Email address of the customer placing the ordercustomer_phone· string · requis
Customer contact / billing phone number (E.164 preferred, e.g. +233201234567)shipping_line1· string · requis
Shipping address line 1 (street)shipping_line2· string · optionnel
Shipping address line 2 (apt/suite) [optional]shipping_phone· string · optionnel
Recipient phone for the shipping address (E.164 preferred); defaults to customer_phone if omittedshipping_state· string · requis
Shipping state or provinceshipping_country· string · requis · AF | AX | AL | DZ | AS | AD | AO | AI
ISO 3166-1 alpha-2 country code (e.g., "US", "GB")shipping_postal_code· string · requis
Shipping postal codebuyer_delegation_token· string · requis
Delegation token from buyer (OAuth-like flow)
Exemple d'appel{"name": "execute_checkout", "arguments": {"cart_id": "texte", "site_id": "texte", "customer_name": "texte", "shipping_city": "texte", "shipping_name": "texte", "customer_email": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"items": [], "total": {}, "status": "texte", "order_id": "texte", "created_at": "texte"}} - get_active_cart≈ 400 tokens
Retrieve the buyer's in-progress cart for a site (resumes a conversation). Call this before assuming a new cart when a shopping conversation continues or after a cart error. Returns the cart with its items rebuilt if the connector cart expired, or null if no cart exists.
Paramètres, retour & exemple (1)
Paramètressite_id· string · requis
Registered site ID
Exemple d'appel{"name": "get_active_cart", "arguments": {"site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "items": [], "total": "texte", "cartId": "texte", "siteId": "texte", "subtotal": "texte", "discounts": []}} - get_cart≈ 411 tokens
Retrieve current cart contents, including items, pricing, discounts, and totals. The card already shows the line items and totals to the user, so keep your text reply to one brief sentence — do not re-list the cart contents.
Paramètres, retour & exemple (2)
Paramètrescart_id· string · optionnel
Cart ID (optional if an active cart exists for the site)site_id· string · requis
Registered site ID
Exemple d'appel{"name": "get_cart", "arguments": {"site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "items": [], "total": "texte", "cartId": "texte", "siteId": "texte", "subtotal": "texte", "discounts": []}} - get_order≈ 467 tokens
Retrieve details for an order by its ID, including items, status, shipping, and tracking information. Orders are buyer-private — pass `buyer_delegation_token` (the delegation token from this buyer's checkout approval) so the gateway can confirm the buyer owns this order. If checking if an order is paid: a status of 'pending' or 'pending_payment' means the order has NOT been paid. Do NOT assume that the vendor storefront has synchronization delays or database lag; treat 'pending' as unpaid. When an order is unpaid, offer to collect payment in the chat by starting the in-chat payment flow (get_payment_methods → initiate_payment → get_payment_status) rather than only pointing the user at the payment_url. Do not mark the purchase task as successful until the status updates to 'processing' or 'completed'.
Paramètres, retour & exemple (3)
Paramètressite_id· string · requis
Registered site IDorder_id· string · requis
Order IDbuyer_delegation_token· string · optionnel
The buyer's delegation token (from their checkout approval); required to read their order.
Exemple d'appel{"name": "get_order", "arguments": {"site_id": "texte", "order_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"items": [], "total": {}, "status": "texte", "order_id": "texte", "created_at": "texte"}} - get_payment_methods≈ 260 tokens
STEP 1 of the in-chat payment flow. Returns the payment channels available for an order (e.g. "mobile_money", "card") plus a `gateways` array of the enabled payment gateways (each with id, label, and its channels). When more than one gateway is listed, ask the buyer which they want to use and pass it as `gateway` to initiate_payment. Call this first, after an order exists. Then call initiate_payment with the chosen channel (and gateway if more than one). site_id falls back to DEFAULT_SITE_ID if omitted.
Paramètres, retour & exemple (2)
Paramètressite_id· string · optionnel
Registered site ID (optional if DEFAULT_SITE_ID is set)order_id· string · requis
Order ID to pay for
Exemple d'appel{"name": "get_payment_methods", "arguments": {"order_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"mobile_money_provider_labels": {}}} - get_payment_status≈ 298 tokens
FINAL STEP of the in-chat payment flow. Returns the current PaymentSession for an order. Poll this (every ~5 seconds) after initiate_payment/submit_payment_otp until payment_status becomes "paid" or "processing" (success — the order is confirmed) or "failed" (tell the user; they can retry by initiating a new payment). Do NOT treat the purchase as complete until this returns "paid" or "processing". No delegation needed (read-only).
Paramètres, retour & exemple (2)
Paramètressite_id· string · optionnel
Registered site ID (optional if DEFAULT_SITE_ID is set)order_id· string · requis
Order ID to check payment status for
Exemple d'appel{"name": "get_payment_status", "arguments": {"order_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"message": "texte", "reference": "texte", "instruction": {}, "payment_status": "texte"}} - get_product≈ 402 tokens
Retrieve detailed information about a specific product including variants, pricing, images, and availability. May also return `addons` — customer-selectable options defined by the store (e.g. engraving, gift wrap, size add-ons). When a product has addons, present them to the buyer and collect every addon with `required: true` before calling add_to_cart; for any option carrying a `price_modifier`, show that surcharge so the buyer knows the added cost. The card already shows the product details to the user, so keep your text reply brief and do not re-describe what the card displays.
Paramètres, retour & exemple (2)
Paramètressite_id· string · requis
Registered site IDproduct_id· string · requis
Product ID from the site (platform-specific format)
Exemple d'appel{"name": "get_product", "arguments": {"site_id": "texte", "product_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"url": "texte", "kind": "texte", "image": "texte", "price": "texte", "title": "texte", "images": [], "siteId": "texte", "inStock": true, "addToCart": {}, "productId": "texte", "description": "texte"}} - get_product_reviews≈ 328 tokens
🔍 **RECOMMENDED STEP** — Fetch product reviews and authenticity consensus before making purchase decisions. Returns: average rating, trust score (0.0-1.0), review sentiment analysis, authenticity flags (fake reviews, seller issues, negative trends), and recent reviews with verified purchase status. Always call this for each product before adding to cart to verify quality and detect scams.
Paramètres, retour & exemple (4)
Paramètrespage· integer · optionnel
Page number (default: 1)limit· integer · optionnel
Max reviews to return (default: 10)site_id· string · requis
Registered site IDproduct_id· string · requis
Product ID
Exemple d'appel{"name": "get_product_reviews", "arguments": {"site_id": "texte", "product_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"reviews": [], "authenticity_consensus": {}}} - initiate_payment≈ 714 tokens
STEP 2 of the in-chat payment flow. Starts a payment session for an order and returns a PaymentSession with an `instruction` the agent renders in chat. REQUIRES a buyer_delegation_token — obtain it exactly like execute_checkout: call request_delegation, have the user approve in chat, then check_delegation to get the token (spending money always needs human approval). For channel "mobile_money" you MUST collect the buyer's `phone` (Ghana: 055… or +233…) and `provider` — use codes mtn, vod (Vodafone/Telecel), or tgo (AirtelTigo); aliases telecel→vod, tigo→tgo are accepted. ALWAYS quote the **Show this instruction to the buyer** line from the response verbatim (Paystack display_text). For channel "card", no phone/provider is needed; the response instruction contains an `authorization_url` you send the user to. After calling: if instruction.action == "submit_otp", ask the user for the OTP and call submit_payment_otp. If instruction.action == "approve_on_phone", tell the user to approve the prompt on their phone, then poll get_payment_status. If instruction.action == "redirect" (card), send the user the authorization_url, then poll get_payment_status.
Paramètres, retour & exemple (7)
Paramètresphone· string · optionnel
Buyer mobile-money phone number (required for channel "mobile_money")channel· string · requis · mobile_money | card
Payment channel chosen by the buyer (from get_payment_methods)gateway· string · optionnel · paystack | stripe | paypal
Payment gateway to use when the store has more than one enabled (see get_payment_methods.gateways[].id). Optional — defaults to the store's first enabled gateway.site_id· string · optionnel
Registered site ID (optional if DEFAULT_SITE_ID is set)order_id· string · requis
Order ID to pay forprovider· string · optionnel · mtn | vod | tgo | telecel | vodafone | tigo | airteltigo
Mobile-money provider (required for channel "mobile_money"). Codes: mtn, vod (Vodafone/Telecel), tgo (AirtelTigo).buyer_delegation_token· string · optionnel
Delegation token from the buyer (from request_delegation/check_delegation). Required — payments always need human approval.
Exemple d'appel{"name": "initiate_payment", "arguments": {"channel": "mobile_money", "order_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"message": "texte", "reference": "texte", "instruction": {}, "payment_status": "texte"}} - list_orders≈ 412 tokens
List recent orders for a site, optionally filtered by status (pending, processing, completed, cancelled, refunded). Orders are buyer-private — pass `buyer_delegation_token` (from this buyer's checkout approval); only that buyer's orders are returned.
Paramètres, retour & exemple (5)
Paramètrespage· integer · optionnel
Page number (1-indexed, default: 1)status· string · optionnel · pending | processing | completed | cancelled | refunded
Filter by order statussite_id· string · requis
Registered site IDper_page· integer · optionnel
Results per page (max 100, default: 20)buyer_delegation_token· string · optionnel
The buyer's delegation token (from their checkout approval); required to list their orders.
Exemple d'appel{"name": "list_orders", "arguments": {"site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"orders": []}} - list_sites≈ 164 tokens
List all registered e-commerce sites. Use this first to find a site by name (e.g. "Pronto Partners") and get its site_id, which is required by all other tools.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "list_sites", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"sites": []}} - quick_checkout≈ 1096 tokens
Assemble checkout-ready cart(s) in ONE call for a multi-product (and optionally multi-store) request. Creates a cart per store, adds all items, and sets the shipping address — then returns the cart(s) with delivery options to choose. Use this when the buyer lists several products at once (optionally across stores) and/or gives their address up front, instead of calling create_cart/add_to_cart/set_shipping_address separately. Does NOT select delivery, check out, or pay — the buyer picks delivery (select_shipping_option) and approves checkout/payment per store afterward. Out-of-stock items are reported; pass customer.email to auto-arm a back-in-stock alert for them.
Paramètres, retour & exemple (3)
Paramètresitems· array · requis
Products to buy. Each entry: { site_id, product_id, quantity, variant_id?, addons? }. Items may span multiple stores (grouped by site_id).customer· object · optionnel
Optional buyer contact carried for checkout; customer.email arms back-in-stock alerts for out-of-stock items.shipping_address· object · requis
Buyer delivery address (applied to every store).
Exemple d'appel{"name": "quick_checkout", "arguments": {"items": [], "shipping_address": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - remove_from_cart≈ 397 tokens
Remove a line item from the cart. Requires the item_id from the cart contents.
Paramètres, retour & exemple (3)
Paramètrescart_id· string · requis
Cart IDitem_id· string · requis
Line item ID from the cart (cart.items[].item_id)site_id· string · requis
Registered site ID
Exemple d'appel{"name": "remove_from_cart", "arguments": {"cart_id": "texte", "item_id": "texte", "site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "items": [], "total": "texte", "cartId": "texte", "siteId": "texte", "subtotal": "texte", "discounts": []}} - request_back_in_stock≈ 302 tokens
Subscribe the buyer to a back-in-stock alert for an out-of-stock product. Use when the buyer asks to be notified/told/pinged when an item restocks ("notify me when X is back", "let me know when it's in stock"). Collect the buyer's email so the alert can reach them (without it only the demand is recorded for the merchant). The buyer is emailed when the product is next seen in stock. Returns whether an email alert was armed.
Paramètres, retour & exemple (5)
Paramètresemail· string · optionnel
Buyer's email for the restock alert (recommended — without it no alert is sent)site_id· string · requis
Registered site IDproduct_id· string · requis
Product ID to watchvariant_id· string · optionnel
Specific variant to watch (optional)product_title· string · optionnel
Product name, for a clearer alert + merchant view (optional)
Exemple d'appel{"name": "request_back_in_stock", "arguments": {"site_id": "texte", "product_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - request_delegation≈ 429 tokens
Start the human delegation (approval) flow needed for checkout/payment. PREFERRED: pass the buyer's `email` — the gateway emails them a 6-digit code and returns a device_code; ask the user for the code and call submit_delegation_otp. This keeps approval fully in-chat (no link) and you never see the code, so you cannot approve on their behalf. If you omit `email`, it falls back to a browser approval link (device flow) which the user must open; then poll check_delegation. You can never approve a delegation yourself.
Paramètres, retour & exemple (4)
Paramètresemail· string · optionnel
Buyer's email. When provided, a one-time approval code is emailed to them and approval happens in-chat via submit_delegation_otp (recommended).scopes· array · optionnel
Scopes to request (defaults to all four scopes)site_id· string · requis
Site ID requiring delegationmarketing_opt_in· boolean · optionnel
Set true ONLY if the buyer explicitly agreed to receive marketing/deals emails (e.g. ticked the opt-in box). Subscribes their email to the consumer mailing list.
Exemple d'appel{"name": "request_delegation", "arguments": {"site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"status": "texte", "delivery": "texte", "user_code": "texte", "approvalUrl": "texte", "device_code": "texte", "delegation_token": "texte"}} - search_products≈ 807 tokens
Find products on a registered store. To BROWSE a store's catalog (open-ended requests like "what do they sell", "show me what's available"), call with NO query — this returns the store's products. To SEARCH, pass `query` (a product name/keyword). Returns paginated products as an interactive card. ALWAYS translate a buyer's budget or price constraint into the price params on THIS call instead of filtering in your reply: "under/below/within X" or "X budget" → `max_price: X`; "over/above/at least X" → `min_price: X`; "between X and Y" → both. Likewise pass `in_stock: true` for "available"/"in stock" and `category` when they name one. The card renders exactly what this call returns, so the filter MUST be applied here — never fetch the full catalog and then narrow it in text. Call once with your best intent (browse OR a single query); if a real search is genuinely empty, ask the user to clarify rather than re-firing reworded queries. The card shows products, prices, IDs, and Add-to-cart controls — keep your text reply to one brief sentence and do not re-list what the card shows.
Paramètres, retour & exemple (9)
Paramètrespage· integer · optionnel
Page number (1-indexed, default: 1)query· string · optionnel
Optional single search term (product name/keyword). OMIT to browse; for several names use `queries`.queries· array · optionnel
Search several product names at once (e.g. when the buyer lists multiple items). Returns all matches in ONE call/card instead of searching one at a time. Use `query` for a single search, `queries` for several, or omit both to browse.site_id· string · requis
Registered site ID (e.g., "site_abc123" or "shopify_store_1")category· string · optionnel
Filter by product category (optional)in_stock· boolean · optionnel
Filter to in-stock items only (default: false)per_page· integer · optionnel
Results per page (default: 20, max: 100)max_price· string · optionnel
Maximum price filter in store currency, format: "199.99" (optional)min_price· string · optionnel
Minimum price filter in store currency, format: "19.99" (optional)
Exemple d'appel{"name": "search_products", "arguments": {"site_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "siteId": "texte", "products": [], "siteName": "texte"}} - select_shipping_option≈ 464 tokens
Select one of the shipping options returned by set_shipping_address. Binds the rate to the cart so the total includes shipping; call before execute_checkout so the hosted checkout opens pre-filled.
Paramètres, retour & exemple (3)
Paramètrescart_id· string · requis
Cart IDsite_id· string · requis
Registered site IDoption_id· string · requis
option_id from cart.shipping_options
Exemple d'appel{"name": "select_shipping_option", "arguments": {"cart_id": "texte", "site_id": "texte", "option_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "items": [], "total": "texte", "cartId": "texte", "siteId": "texte", "shipping": "texte", "subtotal": "texte", "shippingOptions": [], "selectedShippingId": "texte"}} - set_cart_quantity≈ 469 tokens
Set a cart line's quantity (the server cart is the checkout source of truth, so this updates it live). Requires the item_id from the cart contents and the new absolute quantity. A quantity of 0 removes the line. Returns the updated cart card.
Paramètres, retour & exemple (4)
Paramètrescart_id· string · requis
Cart IDitem_id· string · requis
Line item ID from the cart (cart.items[].item_id)site_id· string · requis
Registered site IDquantity· integer · requis
New absolute quantity for the line (>= 0; 0 removes the line)
Exemple d'appel{"name": "set_cart_quantity", "arguments": {"cart_id": "texte", "item_id": "texte", "site_id": "texte", "quantity": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "items": [], "total": "texte", "cartId": "texte", "siteId": "texte", "subtotal": "texte", "discounts": []}} - set_shipping_address≈ 914 tokens
Set the cart shipping destination (collected from the buyer) and return available shipping options with costs. Call after items are in the cart and before select_shipping_option. country_code is required; include postal_code/state for accurate rates.
Paramètres, retour & exemple (6)
Paramètrescity· string · optionnel
Citystate· string · optionnel
State/province/region code where carriers need itcart_id· string · requis
Cart IDsite_id· string · requis
Registered site IDpostal_code· string · optionnel
Postal/ZIP code for accurate ratescountry_code· string · requis · AF | AX | AL | DZ | AS | AD | AO | AI
ISO-3166 alpha-2 country code (e.g. US)
Exemple d'appel{"name": "set_shipping_address", "arguments": {"cart_id": "texte", "site_id": "texte", "country_code": "AF"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"kind": "texte", "items": [], "total": "texte", "cartId": "texte", "siteId": "texte", "shipping": "texte", "subtotal": "texte", "shippingOptions": [], "selectedShippingId": "texte"}} - submit_delegation_otp≈ 283 tokens
Submit the 6-digit code the buyer received by email (from request_delegation with an email) to approve the delegation in-chat. On success returns a delegation_token to use as buyer_delegation_token for checkout/payment. You cannot obtain this code yourself — the user must read it from their email and give it to you.
Paramètres, retour & exemple (3)
Paramètrescode· string · requis
The 6-digit code the buyer read from their emailsite_id· string · optionnel
Registered site ID (optional if DEFAULT_SITE_ID is set)device_code· string · requis
device_code returned by request_delegation
Exemple d'appel{"name": "submit_delegation_otp", "arguments": {"code": "texte", "device_code": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"status": "texte", "delivery": "texte", "user_code": "texte", "approvalUrl": "texte", "device_code": "texte", "delegation_token": "texte"}} - submit_payment_otp≈ 331 tokens
STEP 3 (mobile_money only, when initiate_payment returned instruction.action == "submit_otp"). Submits the one-time password the buyer received to authorise the mobile-money charge. REQUIRES the same buyer_delegation_token used for initiate_payment. After submitting, poll get_payment_status until payment_status is "paid"/"processing" or "failed".
Paramètres, retour & exemple (4)
Paramètresotp· string · requis
One-time password entered by the buyersite_id· string · optionnel
Registered site ID (optional if DEFAULT_SITE_ID is set)order_id· string · requis
Order ID being paid forbuyer_delegation_token· string · optionnel
Delegation token from the buyer (same one used for initiate_payment). Required.
Exemple d'appel{"name": "submit_payment_otp", "arguments": {"otp": "texte", "order_id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}], "structuredContent": {"message": "texte", "reference": "texte", "instruction": {}, "payment_status": "texte"}}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».