Frontend
Get user info
Endpoint used by our dashboard to fetch useful information in one request. Fetches the most useful information about the current user (balance, wallet, account).
Response Body
application/json
application/json
curl -X GET "https://api.invinciblepay.com/v1/user-info"{
"account": {
"brandId": "string",
"createdAt": 0,
"id": "string",
"referrerAccountId": "string",
"referrerAffiliateId": "string",
"status": "inactive",
"tenantId": "string",
"type": "personal"
},
"fiatFundingSources": [
{
"accountNumber": "string",
"balance": {
"currency": "string",
"value": "string"
},
"bankCountry": "string",
"bankNumber": "string",
"currency": "string",
"email": "string",
"id": "string",
"nickname": "string",
"status": "inactive",
"transitNumber": "string",
"walletReference": "string"
}
],
"totalBalance": {
"defaultCurrency": "string",
"representations": [
{
"amount": "string",
"currency": "string",
"currencySymbol": "string",
"displayText": "string"
}
]
},
"user": {
"type": "ongoingRegistration",
"user": {
"accountId": "string",
"brandId": "string",
"email": "string",
"id": "string",
"isPep": true,
"isUsPerson": true,
"phoneNumber": "string",
"referrerAccountId": "string",
"referrerAffiliateId": "string",
"roles": [
"owner"
],
"status": "pendingEmailVerification",
"tenantId": "string",
"type": "personal",
"username": "string"
}
}
}{
"error": "string",
"error_code": {}
}