Xtrempay Api Documentation
Authorization: Bearer ********************
{
"firstName": "Ushie",
"lastName": "John",
"gender": "Male",
"dateOfBirth": "1985-07-13",
"address": "24 Selewu Road"
}
curl --location --request PATCH 'https://mock.apidog.com/m1/918700-0-default/v1/user/profile/me' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{Token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"firstName": "Ushie",
"lastName": "John",
"gender": "Male",
"dateOfBirth": "1985-07-13",
"address": "24 Selewu Road"
}'
{
"timestamp": "2025-05-21T14:05:00Z",
"status": 200,
"success": true,
"message": "Profile updated",
"data": {
"userId": "1fe4ce39-7087-4b33-a9f0-0cd23216da60",
"firstName": "Isaac",
"lastName": "John",
"mobileNumber": "08062536273",
"gender": "Male",
"email": "paul.ogechukwu@example.com",
"dateOfBirth": "1985-07-13",
"address": "24 Selewu Road",
"avatarUrl": "https://cdn.xtrempay.com/avatars/u1.png"
}
}