get_payment_methods
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Registered site ID (optional if DEFAULT_SITE_ID is set) | |
| order_id | Yes | Order ID to pay for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mobile_money_provider_labels | No |