v1
latestOpenAPI 3.1.02026-07-247328324.6 KBInvoices
Generate advance terms
post/sellers/{seller_id}/invoices/{id}/terms/generate
Path parameters
seller_idstring required
An object id with prefix
Example:user_0123456789ABCDEFGHIJKLMNOPq
An object id with prefix
idstring required
An object id with prefix
Example:user_0123456789ABCDEFGHIJKLMNOPq
An object id with prefix
Headers
IdempotencyKeystring
A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 255 characters. See Idempotent Requests.
Example:978771af-77de-4e24-ba39-f602502ceb78
A unique key per operation, could be V4 UUID or other high‑entropy random string. Keys can be up to 255 characters. See Idempotent Requests.
Response
Successful operation
Example response
{
"id": "user_0123456789ABCDEFGHIJKLMNOPq",
"receivable": 10000,
"currency": "USD",
"end": "2024-01-15",
"advance": 10000,
"daily_fee": 10000,
"days": 42,
"fee": 10000,
"reserve": 10000,
"transfer": 10000,
"expires_at": "2024-01-15T10:30:00Z"
}