curl --request GET \
--url https://api.example.com/customer/{id}/portfolio[
{
"id": "customer_c7a968e665d9",
"object": "customer",
"verificationStatus": "IN_PROGRESS",
"wallets": [
{
"address": "0x1234567890123456789012345678901234567890",
"object": "wallet",
"balances": {
"token": "0x4dad19801eff64eaaa7c78e466ce3678d0b1fd94",
"total": "1000",
"available": {
"amount": "0"
},
"frozen": {
"amount": "1000"
}
}
}
],
"type": "INDIVIDUAL",
"countryCode": "US",
"hasCompletedMoneriumSetup": true,
"referralCode": "REF123456",
"createdAt": "2023-10-01T12:00:00Z",
"username": "john_doe",
"name": "John Doe",
"email": "[email protected]",
"phone": "+1234567890",
"metadata": {
"userId": "2b634b51-7f4a-470b-9bd6-c7a968e665d9"
},
"address": {
"line1": "1234 Main St",
"line2": "Suite 200",
"city": "Anytown",
"state": "CA",
"postalCode": "12345",
"countryCode": "US"
}
}
]Get customer portfolio by customerId
curl --request GET \
--url https://api.example.com/customer/{id}/portfolio[
{
"id": "customer_c7a968e665d9",
"object": "customer",
"verificationStatus": "IN_PROGRESS",
"wallets": [
{
"address": "0x1234567890123456789012345678901234567890",
"object": "wallet",
"balances": {
"token": "0x4dad19801eff64eaaa7c78e466ce3678d0b1fd94",
"total": "1000",
"available": {
"amount": "0"
},
"frozen": {
"amount": "1000"
}
}
}
],
"type": "INDIVIDUAL",
"countryCode": "US",
"hasCompletedMoneriumSetup": true,
"referralCode": "REF123456",
"createdAt": "2023-10-01T12:00:00Z",
"username": "john_doe",
"name": "John Doe",
"email": "[email protected]",
"phone": "+1234567890",
"metadata": {
"userId": "2b634b51-7f4a-470b-9bd6-c7a968e665d9"
},
"address": {
"line1": "1234 Main St",
"line2": "Suite 200",
"city": "Anytown",
"state": "CA",
"postalCode": "12345",
"countryCode": "US"
}
}
]The customer portfolio has been successfully retrieved
Unique identifier for the customer object.
"customer_c7a968e665d9"
A string that specifies the type of the object. All objects of the same type share this value.
"customer"
The verification status of the customer
INCOMPLETE, IN_PROGRESS, COMPLETED "IN_PROGRESS"
The wallet associated with the customer
Show child attributes
The address associated with the user’s wallet.
"0x1234567890123456789012345678901234567890"
A string that specifies the type of the object. All objects of the same type share this value.
"wallet"
Token balances held by the wallet
Show child attributes
The token address.
"0x4dad19801eff64eaaa7c78e466ce3678d0b1fd94"
Total balance of the token.
"1000"
This is the type of the customer
INDIVIDUAL, ORGANIZATION "INDIVIDUAL"
The country code of the address, following the ISO 3166-1 alpha-2 standard
"US"
Indicates whether the customer has completed the Monerium setup
true
The unique referral code associated with the customer
"REF123456"
The date and time when the customer was created
"2023-10-01T12:00:00Z"
The username of the customer
"john_doe"
The name of the customer
"John Doe"
The email of the customer
The phone number of the customer
"+1234567890"
The metadata of the customer
{
"userId": "2b634b51-7f4a-470b-9bd6-c7a968e665d9"
}The address of the customer
Show child attributes
The first line of the address
"1234 Main St"
The second line of the address
"Suite 200"
The city of the address
"Anytown"
The state of the address
"CA"
The postal code of the address
"12345"
{
"line1": "1234 Main St",
"line2": "Suite 200",
"city": "Anytown",
"state": "CA",
"postalCode": "12345",
"countryCode": "US"
}