Skip to main content

Get My VASP

Retrieve the current user's VASP information and details.

Endpoint

GET https://api.trpcontinuum.com/vasps/my-vasp

Headers

HeaderValueRequired
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

StatusDescription
pendingAwaiting approval
approvedApproved and active
rejectedApplication rejected
suspendedTemporarily suspended

VASP Types

TypeDescription
exchangeCryptocurrency exchange
custodianCustody service provider
brokerDigital asset broker
walletWallet 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

  1. Profile Display: Show VASP information in user dashboard
  2. API Configuration: Get TRP endpoints for integration
  3. Compliance Status: Check verification and approval status
  4. Contact Management: Display and update contact information
  5. Service Configuration: Configure available services and networks