checkout.warning
Emitted when a warning occurs on a checkout.
Typically happens when information passed to a checkout isn't valid or is incomplete, but this doesn't prevent Paddle from opening a checkout.
typestring
Type of error encountered.
codestring
Short snake case string that describes this error.
detailstring
Some information about what went wrong as a human-readable string.
documentation_urlstring<uri>
Link to a page in the error reference for this specific error.
errorsarray[object]
List of errors.
fieldstring
Field where validation error occurred.
messagestring
Information about how the field failed validation.
Example
123456789101112131415161{
2 "type": "checkout.warning",
3 "code": "checkout_creation_invalid_field",
4 "detail": "Invalid values for fields in request",
5 "documentation_url": "https://developer.paddle.com/errors/product/product_invalid_field",
6 "errors": [
7 {
8 "field": "/data/settings/locale",
9 "message": "The locale must be a supported locale."
10 },
11 {
12 "field": "/data/discount_id",
13 "message": "The discount id must be a valid paddle id."
14 }
15 ]
16}