User

GET Profile

{{url}}/users/profile

AUTHORIZATION Bearer Token

This request is using Bearer Token from collection Invalert

 curl --location -g --request GET '{{url}}/users/profile'

Profile/ Sample response

 {
    "success": true,
    "code": 200,
    "message": null,
    "result": {
        "user": {
            "id": 2436,
            "full_name": null,
            "first_name": "",
            "last_name": "",
            "email": "Youremail",
            "mobile": null,
            "username": "Youremail",
            "telegram_username": null,
            "telegram_id": "84***1396",
            "introducer": null,
            "referral_type": "point",
            "affiliate_code": "A***396911",
            "photo": null,
            "status": "active",
            "email_verified_at": "2021-11-11T20:47:56.000000Z",
            "products": {
                "id": 11,
                "name": "3 Months",
                "expired_at": "2023-03-05 07:40:46",
                "created_at": "2022-04-19T12:31:15.000000Z",
                "status": "active",
                "duration": 3,
                "duration_unit": "month",
                "price_btc": "0",
                "price_usd": "60",
                "price_point": 240,
                "description": "",
                "auto_renew": "active",
                "image": "http://panel.invalert.com/api/images/plans/free.svg",
                "features": {
                    "full_access": {
                        "title": "Full access",
                        "active": true
                    },
                    "telegram_notification": {
                        "title": "Telegram notifications",
                        "active": true
                    },
                    "early_access_new_features": {
                        "title": "Early access to new futures",
                        "active": false
                    }
                }
            },
            "wallets": [
                {
                    "name": "Bitcoin - BTC",
                    "type": "crypto",
                    "address": "invnR5Sn7GSEwH3DJKmSkAjfd7ypFGeAZga",
                    "balance": 0
                },
                {
                    "name": "Fiat",
                    "type": "fiat",
                    "address": "invuBtaVfD4pAGIWneQyXoyK6Jeg7quyiYK",
                    "balance": 0
                },
                {
                    "name": "Point",
                    "type": "point",
                    "address": "invnkJnPpA3JNHTDQROY7rQ3FYlY4saKzRw",
                    "balance": 260
                }
            ]
        },
        "info": [
            {
                "key": "STRIPE_USER_ID",
                "value": "cus_LOLSG6lqwUpkPA"
            }
        ],
        "products": {
            "id": 11,
            "name": "3 Months",
            "expired_at": "2023-03-05 07:40:46",
            "created_at": "2022-04-19T12:31:15.000000Z",
            "status": "active",
            "duration": 3,
            "duration_unit": "month",
            "price_btc": "0",
            "price_usd": "60",
            "price_point": 240,
            "description": "",
            "auto_renew": "active",
            "image": "http://panel.invalert.com/api/images/plans/free.svg",
            "features": {
                "full_access": {
                    "title": "Full access",
                    "active": true
                },
                "telegram_notification": {
                    "title": "Telegram notifications",
                    "active": true
                },
                "early_access_new_features": {
                    "title": "Early access to new futures",
                    "active": false
                }
            }
        }
    },
    "errors": null,
    "execute_time": 0.124531,
    "timestamp": 1650571390.370417
}

Last updated