Skip to main content
The Vouchers API returns structured error objects on failed requests. This page covers the response format, validation error codes, and general business logic error codes.

Response Format

Failed requests return an error object:
422 Unprocessable Entity responses include a list of field-level errors:

Validation Error Codes

These appear in the errors array of 422 responses.

Client

Errors returned when connecting a client.

Connect

Voucher

Errors returned when creating, updating, deleting, recharging, or changing the status of a voucher.

Create

Delete

Recharge

Status

Update

VoucherCharge

Errors returned when refunding a charge.

Refund

VoucherReservation

Errors returned when creating or charging a reservation.

Create

Charge

General error codes

These appear at the top level (not in errors) for business logic failures.

VoucherReservation

Create


What’s Next?

Vouchers API Quickstart

Set up a client, get credentials, and run the full voucher lifecycle.

Voucher API Reference

Full endpoint reference for all Vouchers API operations and parameters.