TipAmountsProblem
The problem of amounts of the tips that break a rule (422,
/api/v1/problems/invalid-tip-amounts); reason says which.
object
A URI that identifies the problem type, stable for clients to branch on.
It is about:blank when the problem means no more than its HTTP status.
A short summary of the problem type, localized from Accept-Language.
The HTTP status code.
An explanation of this occurrence, localized from Accept-Language.
The request ID (the X-Request-Id response header), for reporting the problem.
The member of the request that a 422 is about, by its name in the request: a property of
the JSON body by its path (display_name, fields[].name, poll.options[1]), a form
field, a query parameter, or a header (Idempotency-Key). detail then says what is
wrong with its value without naming it, for the client to show beside that field. Absent
when the problem is not about one member.
The rule that the amounts of the tips break: count (1 to 6 different amounts in one
currency), currency (a currency that the tips and the payment provider take: JPY or USD),
or range (each from ¥100 to ¥100,000 or from US$1 to US$1,000, and at least the provider’s
smallest one-time charge).
Example generated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "request_id": "example", "field": "example", "reason": "count"}For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt