API reference · Identity & onboarding

Crypto wallet addresses

POST Record a wallet address for an account holder

POST /accountholder/{type}/{value}/wallet/address

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Path parameters

Name
type
value

Example

Request body: CryptoWalletAddressRequest · Response: GenericResponseCryptoWalletAddressResponse

curl -X POST "https://api.bridgemoni.com/accountholder/value/value/wallet/address" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "chainCode": "string",
  "walletAddress": "string"
}'

Responses

StatusWhen
200A wallet address recorded successfully

GET List a wallet address for an account holder

GET /accountholder/{type}/{value}/wallet/addresses

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
type
value

Example

Response: GenericResponseListCryptoWalletAddressResponse

curl -X GET "https://api.bridgemoni.com/accountholder/value/value/wallet/addresses" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200A wallet address fetched successfully

GET Fetch one record

GET /wallet/address/{id}

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live

Path parameters

Name
id

Example

Response: GenericResponseCryptoWalletAddressResponse

curl -X GET "https://api.bridgemoni.com/wallet/address/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV"

Responses

StatusWhen
200A wallet address fetched successfully

PUT Update one record

PUT /wallet/address/{id}

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Path parameters

Name
id

Example

Request body: UpdateCryptoWalletAddressRequest · Response: GenericResponseCryptoWalletAddressResponse

curl -X PUT "https://api.bridgemoni.com/wallet/address/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "chainCode": "string",
  "walletAddress": "string",
  "active": "true"
}'

Responses

StatusWhen
200A wallet address updated successfully

PUT Prove control of a wallet address

PUT /wallet/address/{id}/control

A recorded address is a claim. A proved one is a fact, and the two are distinguishable on the response by controlsAddress rather than by the caller having to know.

Headers

NameNotes
AuthorizationBearer token
X-TenantYour tenant
X-Environmenttest or live
Content-Typeapplication/json

Path parameters

Name
id

Example

Request body: WalletControlProofRequest · Response: GenericResponseCryptoWalletAddressResponse

curl -X PUT "https://api.bridgemoni.com/wallet/address/b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e/control" \
  -H "Authorization: Bearer $BRIDGEMONI_TOKEN" \
  -H "X-Tenant: $BRIDGEMONI_TENANT" \
  -H "X-Environment: $BRIDGEMONI_ENV" \
  -H "Content-Type: application/json" \
  -d '{
  "proofMethod": "OAUTH",
  "proofReference": "b3f1c2d4-5e6a-4b7c-8d9e-0f1a2b3c4d5e"
}'

Responses

StatusWhen
200Wallet control proved successfully

Generated from the OpenAPI document. Branch on the HTTP status: there is no machine-readable error code on the wire. Errors