Session
Get new session for payments management
Endpoint Details
POST
/users/session
Headers
Content-Type
application/json
Authorization
Bearer <YOUR_ACCESS_TOKEN>
Body
email
string
User's email address
firstName
string
User's first name
lastName
string
User's last name
company
string
User's company name
phone
string
User's phone number in E.164 format
profileImage
string
URL of user's profile image
birthDate
string
User's birth date in YYYY-MM-DD format
id
string
Existing user identifier (for updates only), email becomes optional
Response Details
statusCode
number
HTTP status code of the response
message
string
A brief message describing the result of the API call
metadata
Contains metadata about the API call
auth
Authentication object
data
User session
Metadata Object
User Session
id
string
User's identifier
email
string
User's email address
firstName
string
User's first name
lastName
string
User's last name
phone
string
User's phone number
company
string
User's company
profileImage
string
URL to user's profile image
birthDate
string
Users's birth date
createdAt
date
Account creation timestamp
updatedAt
date
Last update timestamp
addresses
User's saved addresses
savedPayments
User's saved payment methods
session
User's current session information
Session
key: string
session key
secret: string
session secret
createdAt: Date
session creation timestamp
Sample Request and Response
Last updated