Get My VASP
Retrieve the current user's VASP information and details.
Endpoint
GET https://api.trpcontinuum.com/vasps/my-vasp
Headers
| Header | Value | Required |
|---|---|---|
x-api-key | {your-api-key} | Yes |
x-secret-key | {your-secret-key} | Yes |
Response
Success (200 OK)
{
"success": true,
"data": {
"id": "c8f61f62-1a20-41e9-9ac3-0ffb59bcf00e",
"name": "SecureWallet Inc",
"code": "SECWAL",
"status": "approved",
"type": "custodian",
"category": "verified",
"verificationLevel": "verified",
"verificationDate": "2025-08-25T03:02:33.142Z",
"jurisdiction": "United States",
"website": "https://securewallet.com",
"publicKey": null,
"trpInquiryEndpoint": "localhost:5001/trp/inquiry",
"trpConfirmationEndpoint": "localhost:5001/trp/confirmation",
"contactInformation": {
"email": "support@securewallet.com",
"phone": "+65-6123-4567"
},
"blockchainAddresses": {},
"metadata": {
"description": "Secure custody solution for digital assets"
},
"approvedTime": null,
"deniedReason": null,
"createdAt": "2025-08-24T20:02:33.144Z",
"updatedAt": "2025-08-24T20:02:33.144Z"
}
}
Error (404 Not Found)
{
"success": false,
"error": "VASP not found for user",
"code": "USER_VASP_NOT_FOUND"
}
VASP Status Values
| Status | Description |
|---|---|
pending | Awaiting approval |
approved | Approved and active |
rejected | Application rejected |
suspended | Temporarily suspended |
VASP Types
| Type | Description |
|---|---|
exchange | Cryptocurrency exchange |
custodian | Custody service provider |
broker | Digital asset broker |
wallet | Wallet service provider |
Example cURL
curl -X GET "{{baseUrl}}/vasps/my-vasp" \
-H "x-api-key: {your-api-key}" \
-H "x-secret-key: {your-secret-key}"
Use Cases
- Profile Display: Show VASP information in user dashboard
- API Configuration: Get TRP endpoints for integration
- Compliance Status: Check verification and approval status
- Contact Management: Display and update contact information
- Service Configuration: Configure available services and networks