Prepare an order
create_orderPrepares an order for your user to approve and pay. Returns approvalUrl (give it to the user: they review the terms, consent and pay there; you cannot) and a private token for get_order_status. Nothing is charged until the user pays, and only when the certificate is issued.
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": {
"files": "<files>"
},
"name": "create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | One PDF, or up to 5 JPEG/PNG images of one document in page order. Max 10 MB in total before encoding (base64 in JSON makes it about a third larger; the REST API takes up to 20 MB as a multipart upload). | |
| names | No | Optional, up to 10 people named in the document: added to the translation as a customer-supplied note (names in the translation stay as written) | |
| locale | No | Language of the user's pages and emails (Japanese if omitted), and of this tool's messages (English if omitted) | |
| receiving_procedure | No | Where the translation will be submitted, if known |