Connect payment test keys
connect_test_payment_keysConnect the store's Stripe, Yoco, Paystack or Tap account in TEST mode (no real money) from test keys the owner sent in chat. Pass the key as it appears in the conversation: our assistants see a placeholder like [[test-key:…]] instead of the key, and the server swaps it back. Only TEST keys: a live key is refused (live keys go in Settings → Payments, never in chat). Yoco, Paystack and Tap keep any live key already saved and switch Mode to Test; Stripe needs the test publishable key too and is refused when live Stripe keys are saved. Then run_test_order tries checkout.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>",
"provider": "<provider>",
"secret_key": "<secret_key>"
},
"name": "connect_test_payment_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | The site, from list_sites | |
| provider | Yes | The payment provider the test keys are for | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| secret_key | Yes | The TEST secret key exactly as it appears in the conversation: a placeholder like [[test-key:…]] (our assistants never see the key itself) or, from an external connector, the sk_test_ key | |
| publishable_key | No | Stripe only: the TEST publishable key (pk_test_…, or its placeholder) |