code never changes meaning. Branch on code, never
on message.
requestIdmatches theX-Request-IDheader. Quote it when you contact support, or find the call in your request logs.retryableistruewhen the same request can succeed later.detailslists each invalid field on a validation error.
In the SDK
Every failure is aUseroutrError, and a subclass tells you the kind:
Codes
Your request
Access
Funding intents and quotes
Paying from a wallet
These come from the checkout’s wallet endpoints, which the checkout calls for you. Theirmessage is written for the person paying.