Skip to main content
POST
Register a device key for iOS App Attest

Body

application/json

Request to register device public key for iOS App Attest attestation. This endpoint is iOS-only. Android devices use Play Integrity Standard API tokens sent directly in request headers instead.

challenge
string
required

The challenge received from the challenge endpoint.

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

"YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXoxMjM0NTY="

ios
object
required

iOS App Attest payload for verification.

Example:

Response

Attestation verified successfully. Device public key registered for assertion validation.

Response confirming successful attestation verification and device key registration. The device public key is now stored for validating future assertion signatures.

keyId
string
required

The key identifier that was registered. Include this value in subsequent Create Onramp Mobile Session requests as ios.keyId.

Example:

"abc123def456"

platform
enum<string>
required

The mobile platform that was attested (iOS only).

Available options:
ios
Example:

"ios"

appId
string
required

The verified Apple application identifier in teamID.bundleID format. This is not a CDP project ID.

Example:

"ABCDE12345.com.example.myapp"

attestedAt
string<date-time>
required

Timestamp when the attestation was performed.

Example:

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