Skip to main content
POST
/
v1
/
auth
/
erc-4361
/
address_book
/
complete_challenge
Complete SIWE Address Book Challenge
curl --request POST \
  --url https://api.ondoperps.xyz/v1/auth/erc-4361/address_book/complete_challenge \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "chg_ab12cd34ef56",
  "signature": "d5ee68784479z8n5utzebecfbd6926a89d7e24e9z5nut313611186z0da4206be4e57b809cbb3372d52b865bda7f372ea0808286009e572a66c8ab717cf85cdbc1b",
  "addressLabel": "My Ledger Nano X"
}
'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required

The ID of the challenge

Example:

"chg_ab12cd34ef56"

signature
string
required

The signed challenge proving wallet ownership

Example:

"d5ee68784479z8n5utzebecfbd6926a89d7e24e9z5nut313611186z0da4206be4e57b809cbb3372d52b865bda7f372ea0808286009e572a66c8ab717cf85cdbc1b"

addressLabel
string

Optional label for the withdrawal address

Example:

"My Ledger Nano X"

Response

Result

success
boolean
required

Whether the request was successful

Example:

true

error
string

Error message, present only on failure

Example:

""

error_code
string

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecated
string

Deprecation notice, if applicable

Example:

""