Jump to Content
Documentation
API reference
Log In
API reference
Log In
Documentation
API reference
Account sessions
Search
JUMP TO
Authentication
Headers
Common headers
Authentication headers for Setel partners
Authentication headers for Setel users
OAuth tokens
Retrieve the OAuth token
post
Responses
HTTP status codes
Success
Client errors
Server errors
Error codes
Checkout
Single sign-on
Retail
Fuel orders
Retrieve preset options for fuel orders
get
External orders
Create an external order
post
Retrieve an external order
get
Accounts
Account actions
Create an account with unverified phone number
post
Create a passcode for an account
post
Reset the passcode
patch
Account sessions
Create an account session using passcode
post
Create an OTP for an account session
post
Verify an account session using OTP
put
Create an account session using OTP
post
Delete an account session
delete
Checkouts
Checkout sessions
Create a checkout session
post
Create a checkout session that grants loyalty points to user
post
Finish a checkout session
patch
Cancel a checkout session
patch
Retrieve a checkout session
get
Retrieve a checkout session by reference ID
post
Payments
Payment intents
Capture a payment intent
post
Capture a payment intent and grant loyalty points based on product
post
Cancel a payment intent
post
Retrieve a payment intent
get
Refund a payment intent
post
Payment methods
Retrieve all payment methods of a user
get
Retrieve a payment code
get
Retrieve the remaining balance of a payment method
get
Settlements
Create a settlement
post
Wallets
Wallet transactions
Create a wallet transaction
post
Retrieve a wallet transaction
get
Retrieve a wallet transaction by referenceId
get
Loyalty
Loyalty card actions
Activate a Mesra card
put
Link a physical Mesra card
post
Retrieve a user's loyalty card details with access token
get
Retrieve a user's loyalty card details with Mesra card number
get
Electric vehicle charging
Charging events
Update a charging session's status event
post
Charging payments
Update a charging session's payment invoice
post
Parking
Parking sessions
Create a parking session
post
Retrieve a parking session
get
End a parking session
put
Cancel a parking session
put
Parking events
Update a parking status
post
Account sessions
This section explains the APIs involved when a user logs into their account.