getMissingVerificationForCoinbaseOnrampOrder
Checks what user verification is missing before creating a Coinbase onramp order. Coinbase requires verified email and phone number for Apple Pay purchases, and phone verification must be within the last 60 days. Call this function before createCoinbaseOnrampOrder to ensure the user has completed all required verification steps.Usage
Parameters
Returns
FieldMissingVerificationForCoinbaseOnramp[] - An array of fields that need attention. Empty array means the user is ready.
Return type
Error Codes
Complete Example
UI Component Example
Related functions
- createCoinbaseOnrampOrder - Create an onramp order (requires verification)
- updateUser - Update user email or phone number
- sendEmailOTP - Send email verification code
- sendSmsOTP - Send SMS verification code