Mock: complete payment
payments_mock_complete_paymentSimulates a customer completing checkout in mock mode, returning a signed callback payload for verification and the updated payment.
Instructions
MOCK MODE ONLY. Simulate the customer finishing checkout. Returns a signed callback payload (feed it to payments_verify_payment) and the updated payment.
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": {
"provider": "<provider>",
"order_ref": "<order_ref>",
"outcome": "<outcome>"
},
"name": "payments_mock_complete_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ||
| outcome | Yes | ||
| provider | Yes | Gateway id | |
| order_ref | Yes | Merchant reference: 3-40 chars, letters/digits/_/- |