- Codes in the
2xxrange indicate success. - Codes in the
4xxrange indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.). - Codes in the
5xxrange indicate an error with PaveWay’s servers.
internal Error Object
When an error occurs, the response body will contain a standardizederror object.
Attributes
The type of error returned. Can be one of:
api_error, card_error, idempotency_error, or invalid_request_error.For some errors that could be handled programmatically, a short string indicating the error code reported.
A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.
If the error is parameter-specific, the parameter related to the error. For example, for a card error, this could be
card_number.The ID of the request that generated the error. Helpful for debugging and support.

