Error response format
All PCX services return errors in a consistent JSON envelope: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):Decimal handling
Monetary values are stored as DynamoDBDecimal types and serialized to JSON as floats. Always treat amounts as number in your client — never as integers.