request_payment_link
Create anonymous one-off Checkout after an estimate, explicit human link-creation approval and lawful-basis confirmation. Read analysis_options.checkout. The human reviews the hosted upfront amount and pays; it can exceed analysis cost. Save job_id, payment_url and continuation.review_url privately; lost links require support, not a replacement purchase. For minimum_charge_offer, show minimum final cost and upfront estimate, obtain explicit acceptance, then send accept_minimum_charge:true and max_upfront_amount_cents at the approved ceiling. Rights alone do not approve spending. On estimate_pricing_changed, get a fresh free estimate and explicit approval. An exceeded cap needs new review; never raise it or retry automatically. Poll the original job with get_job_status after payment or interruption. Host setup/recovery: https://pulse.studiosphere.space/connect
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": {
"job_estimate_id": "<job_estimate_id>",
"attestation_confirmed": "<attestation_confirmed>"
},
"name": "request_payment_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_estimate_id | Yes | The job_estimate_id returned by estimate_cost. | |
| accept_minimum_charge | No | Optional. Set true only after explicit human acceptance of minimum_charge_offer.minimum_final_cost_usd and its estimated upfront payment. Rights confirmation alone is not spending approval. | |
| attestation_confirmed | Yes | Set to true ONLY after the user has confirmed they have rights, permission, lawful access, or another legal basis to submit this audio, or the current user-requested batch/folder/project containing it, for analysis. | |
| max_upfront_amount_cents | No | Optional approved upfront USD ceiling in whole cents; required for minimum-charge acceptance. The gateway rejects a higher charge before creating a purchase. Do not raise it without renewed human approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Machine-readable error code. | |
| job_id | No | Pulse job id for polling after payment. | |
| deduped | No | True when an existing active Checkout link was reused. | |
| details | No | Additional structured context from Pulse. | |
| message | No | Human-readable recovery guidance. | |
| retryable | No | Whether the caller may retry after changing state or waiting. | |
| expires_at | No | ISO timestamp when the Checkout link expires. | |
| payment_url | No | Stripe Checkout URL to present to the user. | |
| continuation | No | Advisory saved-job recovery. URLs contain a private job reference. No provider read or settlement verification is performed. | |
| cost_display | No | Human-readable estimated cost. | |
| charged_display | No | Human-readable upfront Checkout charge. | |
| amount_charged_cents | No | Stripe Checkout charge in cents. | |
| amount_estimate_cents | No | Estimated usage value in cents. |