Wallets
Get All Wallet

Get All Wallets

The Get All Wallets fetches all cryptocurrency wallets associated with the user.

Endpoint:

GET : {{baseURL}}/v1/ramp/wallet

Headers

NameValueDescription
Content-Typeapplication/jsonSpecifies the media type
x-api-key{{API_KEY}}Your API authentication key

Example Request

curl --request GET \
  --url {{baseURL}}/v1/ramp/wallet \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: {{API_KEY}}'

Example Response (200 OK):

{
    "message": "fetch wallet successfully",
    "status": "success",
    "data": [
        {
            "id": "ad14b5f8-bf59-4300-8749-xxxxxxxxxx",
            "address": "0xc21324y5d31c914a87c6611c1xxxxxxxxxxxxxxx",
            "network": "MATIC"
        },
        {
            "id": "4gh4cab2-xxxx-48d5-99c1-xxxxxxxxxx",
            "address": "0x3c499cxxxxef5e3811e1192cexxxxxxxxxxxxxxxxx",
            "network": "ERC20"
        }
    ]
}

Response Fields

FieldTypeDescription
idstringUnique wallet identifier
addressstringBlockchain wallet address
networkstringNetwork the wallet is on (e.g. MATIC, ERC20)

Error Codes

CodeMessageMeaning
401UnauthorizedMissing or invalid API key
500Internal Server ErrorServer-side issue fetching wallet