Login

Simpan/Update Data Pengguna

POST https://tukar.co.id/api/v1/login

Headers

Name
Type
Description

Authorization

string

Token Otentikasi

Request Body

Name
Type
Description

login_oauth_uid

string

ID Pengguna

first_name

string

Nama

last_name

string

Nama

email_address

string

Email Pengguna

profile_picture

string

Foto Profile

time

string

Format time()

{
    "data": {
        "code": 200,
        "status": "update", //update atau insert
        "login_oauth_uid": "123456789", //google_client ID
        "first_name": "ENDO", //google_client name
        "last_name": "SUGENTO", //google_client name
        "email_address": "enddwer@gmail.com", //google_client email
        "profile_picture": "https://lh3.googleusercontent.com/a-/MsvdkkeqdfJw_GpSSapQ=s96-c", //google_client picture
        "time": "2021-06-21 16:16:55"
    }
}

Mengambil Data Pengguna

GET https://tukar.co.id/api/v1/login

Path Parameters

Name
Type
Description

login_oauth_uid

string

ID pengguna

Headers

Name
Type
Description

Authorization

string

Token Otentikasi

{
    "data": {
        "code": 200,
        "login_oauth_uid": "123456789",
        "first_name": "ENDO",
        "last_name": "SUGENTO",
        "email_address": "enddwer@gmail.com",
        "profile_picture": "https://lh3.googleusercontent.com/a-/MsvdkkeqdfJw_GpSSapQ=s96-c",
        "count_trx": 6
    }
}

Last updated

Was this helpful?