Skip to main content
GET
/
account
/
{identifier}
Get Wallet ID
curl --request GET \
  --url https://api.changu.app/api/v1/account/{identifier} \
  --header 'Authorization: Bearer <token>'
{
  "walletId": "wallet_id_here"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using developer secret key. Format: Bearer sk_live_your_secret_key_here

Path Parameters

identifier
string
required

Username or phone number (e.g., 'john_doe' or '0988521023' or '988521023')

Response

Encrypted wallet ID retrieved successfully

walletId
string
required

Wallet ID for the user

Example:

"wallet_id_here"