When a PIK API request fails, the response body includes an error object with a code, a message, and in some cases additional detail fields to help you diagnose the issue. Use the error code rather than the HTTP status code or message text to handle errors programmatically — codes are stable across API versions, messages may change.
