Direct answer
Answer
V2 API errors use HTTP error statuses and RFC 9457 Problem Details with stable code and action fields. Read those fields rather than matching detail wording, and retain request_id for support. A successful unknown result is different from an error. Batch responses can contain item errors even with HTTP 200. A proxy may return a non-JSON error, and a lost or unreadable response does not establish that no charge occurred.
Further reading
Related guidance
Continue with the primary GenderAPI resources used for this answer.