OptionaladviceAdvice code providing additional context about the error (optional)
OptionalchargeCharge ID (optional)
API error code
Decline code (payment-specific)
OptionaldocDocumentation URL (optional)
API error message
OptionalnetworkNetwork-level advice code (optional)
OptionalnetworkNetwork-level decline code (optional)
OptionalparamRelated parameter name (optional)
OptionalpaymentPayment method associated with this error (Android SetupError only)
OptionalpaymentPayment method type string (Android SetupError only)
OptionalrequestURL to the Stripe request log entry for this API call (optional)
OptionaltypeError type (optional)
API-level error information, unified across platforms.
Sources:
Android's SetupError is a distinct type from ApiError — it adds paymentMethod and paymentMethodType but lacks charge and requestLogUrl.