curl --request GET \
--url https://sg.sandbox.api.reap.global/accounts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'GET',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/accounts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/accounts/{id}"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "ACTIVE",
"ownerType": "USER",
"ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chainAddresses": [
{
"chainId": "ETHEREUM_MAINNET",
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f8fA21",
"acceptedAssets": [
{
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"logoUri": "<string>",
"assetId": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
}
]
}
],
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:35:00Z"
}{
"error": {
"code": "ACCOUNT_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}Get account
Retrieves account details and chain addresses, each listing the assets that address accepts - send only those, as a deposit of anything else fails with ASSET_NOT_ACCEPTED. List responses omit the accepted assets, so read them from here. Use GET /accounts/:id/balance to retrieve balance information.
curl --request GET \
--url https://sg.sandbox.api.reap.global/accounts/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Reap-Version: <reap-version>'const options = {
method: 'GET',
headers: {'Reap-Version': '<reap-version>', Authorization: 'Bearer <token>'}
};
fetch('https://sg.sandbox.api.reap.global/accounts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sg.sandbox.api.reap.global/accounts/{id}"
headers = {
"Reap-Version": "<reap-version>",
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "ACTIVE",
"ownerType": "USER",
"ownerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"chainAddresses": [
{
"chainId": "ETHEREUM_MAINNET",
"address": "0x742d35Cc6634C0532925a3b844Bc9e7595f8fA21",
"acceptedAssets": [
{
"symbol": "USDC",
"name": "USD Coin",
"decimals": 6,
"logoUri": "<string>",
"assetId": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
}
]
}
],
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-01-15T10:35:00Z"
}{
"error": {
"code": "ACCOUNT_NOT_FOUND",
"message": "<string>",
"detail": {}
}
}Authorizations
API key as Bearer token
Headers
API version (YYYY-MM-DD)
2025-02-14 "2025-02-14"
Path Parameters
Account ID
Response
Account resource with accepted deposit assets
Unique account identifier
Current account status
ACTIVE, RESTRICTED "ACTIVE"
Type of entity that owns this account
USER, COMPANY, PROJECT "USER"
Owner entity ID (user or company). Null for PROJECT-owned master accounts.
Deposit addresses by chain, each with the assets it accepts. Empty for accounts without provisioned wallets (user accounts on PROGRAM_FUNDED projects).
Show child attributes
Show child attributes
ISO 8601 timestamp of creation
"2024-01-15T10:30:00Z"
ISO 8601 timestamp of last update
"2024-01-15T10:35:00Z"