Get User
Retrieve details for the currently logged user.
GET
https://apis.sandbox.flexshopper.com/v3/users/me
Returns user's details
Headers
Name | Type | Description |
---|---|---|
customer-token | string | Customer's authentication token |
Authorization | string | Authorization token |
Response Parameters
A successful request returns the HTTP 200 OK
status code and a JSON response body that shows user details.
Key | Type | Description |
userId | Number | Transaction id |
firstName | String | User's first name |
lastName | String | Users's last name |
createdAt | Date | Users creation date |
decision | Number | Total Shipping Cost |
decision.approved | Boolean | Determines if the customer was approved or not [TO BE DEPRECATED] |
decision.status | String | Determines the Application status. The possible values are: |
decision.spendingLimit | Number | The spending limit approved |
decision.availableBalance | Number | Available balance to spend |
decision.availableWeeklySpending | String | The available amount to spend in a weekly basis |
decision.createdAt | String | Decision's creation date |
verificationStatus | String | Verification status the possible status are: pending, failed, succeeded |
transactions | Array | List of transactions for current user |
transactions.id | String | Transaction's Id |
transactions.createdAt | Date | Transaction's creation date |
Last updated