Skip to main content

Error response format

All PCX services return errors in a consistent JSON envelope:
Some services include an additional error field with a technical detail string (present mainly on 500 responses):

HTTP status codes


Success response format

Successful responses follow one of two shapes depending on the service: Standard envelope (most services):
Direct object (some older endpoints):

Decimal handling

Monetary values are stored as DynamoDB Decimal types and serialized to JSON as floats. Always treat amounts as number in your client — never as integers.