Submit onramp verification
Submits the OTP code to complete verification. On success, marks the verification as verified and returns the same verificationId. The destination does not need to be re-sent. Onramp uses the value captured at initiation time.
The returned verificationId should be stored on the user’s device and passed to the Create Onramp Order endpoint. It is valid for 60 days.
Access to this API requires allowlisting. During Onramp Headless API onboarding, contact the Onramp team to enable Onramp-managed verification for your application.
Authorizations
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
Headers
An optional string request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
1 - 128Path Parameters
The verification ID returned by the Initiate Onramp Verification endpoint.
A unique identifier for an onramp verification record, in the format onramp_verification_<uuid>.
^onramp_verification_[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"onramp_verification_a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Body
Request body for submitting an OTP code to complete an onramp verification.
The 6-digit OTP code the user received.
^\d{6}$"123456"
Response
Successfully completed onramp verification.
The result of successfully submitting an onramp OTP verification.
The same verification ID. Store on the user's device and pass to the Create Onramp Order endpoint. Valid for 60 days.
^onramp_verification_[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$"onramp_verification_a1b2c3d4-e5f6-7890-abcd-ef1234567890"
The date and time when this verification expires for order placement.
"2025-06-23T00:00:00Z"