Check payment and access
get_checkoutRead the connected account's checkout by its returned opaque id. Only fulfillmentStatus=fulfilled confirms webhook-granted access; paid/completed alone is insufficient. Poll no more often than every 15 seconds. Return to the requested scoreboard task once access is granted.
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": {
"id": "<id>"
},
"name": "get_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| months | Yes | ||
| offerId | Yes | ||
| currency | Yes | ||
| amountCents | Yes | ||
| checkoutUrl | Yes | ||
| paymentStatus | Yes | ||
| checkoutStatus | Yes | ||
| fulfillmentStatus | Yes |