https://your-domain.com/api
All endpoints on this page require
Authorization: Bearer {token}.GET /get-user-profile
Returns full profile details for the authenticated user, including address, timezone, wallet list, and available countries.Request parameters
The authenticated user’s ID.
Response fields
POST /update-user-profile
Updates profile details including name, email, phone, address, timezone, and default wallet.Request parameters
The authenticated user’s ID.
First name.
Last name.
Email address.
Phone number. Spaces and hyphens are normalized.
Phone in international format (e.g.
+11234567890).ISO country code for the phone number.
Dial code prefix (e.g.
+1).Country ID from
/get-user-profile countries list.Street address.
City.
State or province.
PHP timezone string.
Wallet ID to set as default.
Response fields
POST /profile-image-upload
Uploads a profile picture. Accepted formats:png, jpg, jpeg, gif, bmp. The image is resized to 98×98 px (full) and 70×70 px (thumbnail).
Request parameters
The authenticated user’s ID.
Image file (multipart/form-data).
Response fields
The generated filename stored on the server.
POST /update-password
Changes the authenticated user’s password.Request parameters
The authenticated user’s ID.
Current password.
New password.
New password confirmation. Must match
password.Response fields
POST /profile/duplicate-email-check
Checks whether an email is already taken by another user, excluding the current user.Request parameters
The current user’s ID (excluded from the check).
Email address to check.
Response fields
true if the email is already taken by another user.Error message when
status is true.Success message when
status is false.GET /get-user-specific-details
Returns receiver or requester details based on a transaction reference. Used to show recipient info after a send or request-money action.Request parameters
The authenticated user’s ID.
Context type. One of
sendMoney, requestMoneyCreate, requestMoneyAccept.Transaction or request payment ID. Required when
type is sendMoney, requestMoneyCreate, or requestMoneyAccept.Email address lookup. Used when
type is not one of the above.