Profile
Provides information about your current account.
Get Profile Information
The table given below describes the /api/v2/user.
Get Profile Data
GET
https://app.moota.co/api/v2/user
Path Parameters
{
"name": "moota co",
"email": "moota@mail.com",
"no_ktp": "12312111111",
"alamat": "Jl Terusan Cikutra Baru No. 3B Kel. Neglasari Kec. Cibeunying Kaler Bandung",
"email_verified_at": null,
"created_at": "2020-06-08T10:05:54.000000Z",
"updated_at": "2021-07-29T19:02:28.000000Z",
"user_id": "D1KkLE28zPQ",
"token": "D1KkLE28zPQ",
"point": 38338
}
{
"message" : "Invalid Credentials"
}
Update Profile Data
GET
https://app.moota.co/api/v2/user
Request Body
Alamat detail address current living
No Ktp for identification profile
Email is valid and active
{
"user" : {
"name": "moota co",
"email": "moota@mail.com",
"no_ktp": "12312111111",
"alamat": "Jl Terusan Cikutra Baru No. 3B Kel. Neglasari Kec. Cibeunying Kaler Bandung",
"email_verified_at": null,
"created_at": "2020-06-08T10:05:54.000000Z",
"updated_at": "2021-07-29T19:02:28.000000Z",
"user_id": "D1KkLE28zPQ",
"token": "D1KkLE28zPQ",
"point": 38338
}
}
{
"message": "The given data was invalid.",
"errors": {
"email": [
"Kolom email harus berisi email yang valid."
]
}
}