Prepare Returning Buyer Checkout
dynamoi_prepare_shop_rebuy_checkoutPreview the selected video, viewer locations and expected total. Use the quote market locale as locale. Confirm only after user approval, keeping the same clientRequestId and expectedTotal. Before opening unpaid Stripe Checkout, Dynamoi checks the current total and applies its existing buyer-offer and purchase-email rules. Creating checkout does not pay, create an order or launch a promotion. Reconcile uncertain outcomes with the original request ID and exact input.
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": {
"locale": "<locale>",
"tier": "<tier>",
"youtubeUrl": "<youtubeUrl>",
"expectedTotal": "<expectedTotal>",
"shopSlug": "<shopSlug>",
"clientRequestId": "<clientRequestId>",
"artistId": "<artistId>"
},
"name": "dynamoi_prepare_shop_rebuy_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| phase | No | preview | |
| locale | Yes | ||
| artistId | Yes | ||
| shopSlug | Yes | ||
| youtubeUrl | Yes | ||
| countryMode | No | ||
| countryCodes | No | ||
| contentLocale | No | ||
| expectedTotal | Yes | ||
| returnToBuyer | No | ||
| clientRequestId | Yes | ||
| customTargetViews | No | ||
| campaignDurationDays | No | ||
| extensionSourceShopOrderId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| data | No | ||
| kind | No | ||
| field | No | ||
| status | Yes | ||
| draftId | No | ||
| message | No | ||
| retryable | No | ||
| nextAction | No | ||
| failureStage | No | ||
| prerequisite | No | ||
| screeningResult | No | ||
| retryAfterSeconds | No |