get_payment_methods
ActiveTool of Synchronity
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.
Parameters schema
{
"type": "object",
"required": [
"order_id"
],
"properties": {
"site_id": {
"type": "string",
"description": "Registered site ID (optional if DEFAULT_SITE_ID is set)"
},
"order_id": {
"type": "string",
"description": "Order ID to pay for"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Synchronity
https://github.com/themewireco/synchronity
2/7 registries