Skip to main content
POST
Create an onramp iOS attestation challenge

Authorizations

Authorization
string
header
required

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.

Response

Attestation challenge created successfully.

A cryptographic challenge for iOS App Attest attestation. Used only by iOS clients - Android uses a different flow with Play Integrity Standard API tokens.

challenge
string
required

Base64-encoded cryptographically secure random challenge (32 bytes). This challenge is one-time use and must be included in the iOS attestation request.

Required string length: 44
Pattern: ^[A-Za-z0-9+/]+=*$
Example:

"YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY="

expiresAt
string<date-time>
required

Timestamp when the challenge expires. Challenges are valid for 5 minutes.

Example:

"2026-02-03T10:35:00Z"