PaymentWarning
Non-blocking signal emitted alongside userErrors — backend state change context (e.g. an auto-clear, a server-side adjustment) that the storefront may surface as a retry hint or analytics event. Always pre-translated by backend per shop locale.
type PaymentWarning {
code: PaymentWarningCode!
message: String!
retryHint: String
}
Fields
PaymentWarning.code ● PaymentWarningCode! non-null enum
Machine-readable code — branch on this to dispatch UI retry hints. Add a new code only when there is a distinct UX response.
PaymentWarning.message ● String! non-null scalar
Pre-translated user-facing message describing what happened (Polish-first per shop locale).
PaymentWarning.retryHint ● String scalar
Optional additional hint string for UI dispatch — currently unused for INSTRUMENT_CLEARED_FOR_RETRY (semantic encoded in message). Reserved for future warning codes (e.g. SLOW_GATEWAY_RESPONSE → "Retry in 30s").
Member Of
PaymentCreatePayload object