API error
The refunded total doesn't fit the payment
- code
refund_total_invalid- status
- 400
- retryable
- false
The total asked for is below what the payment already has refunded, above its amount, or in another currency. Send the total the payment should have refunded after the call.
Not retryable. Don’t resend the same request unchanged; follow the step above first.
The Lucky Landing API answers every error with an RFC 9457 problem, sent as application/problem+json. Branch on code. Quote request_id when you contact support at admin@luckylanding.io.
type- The code's documentation page, https://luckylanding.io/errors/<code>.
title- The code's summary; the same for every occurrence.
status- The HTTP status.
detail- What went wrong this time, for a person or an agent.
code- The stable machine code, one of components.x-luckylanding-problems. Branch on it, not on title or detail.
request_id- The request-id header; include it when contacting support.
retryable- The same request can succeed later; wait Retry-After when it is set.
fix_hint- The next step that fixes this occurrence.
required_scope- The scopes the token could take, space-separated, on insufficient_scope: any one of them lets it in.
errors- One entry per invalid input.
detail- What is wrong with this input.
pointer- JSON Pointer (RFC 6901) to the invalid body member, e.g. #/overrides/daily_budget.
parameter- The invalid path, query or header parameter.