Account
Get account information
GET
https://api.vendex.app/api/account/info/
To get account information.
Headers
Api-Client-Token
string
Client token obtained from client authentication method.
Api-User-Token
string
User token obtained from user login method.
Get transaction record
GET
https://api.vendex.app/api/account/statement/?records=20
To get transaction record for current user.
Query Parameters
records
integer
This parameter can be use to filter transaction details. Default response will return last 10 records of transaction.
days
integer
This parameter can be use to filter transaction records by certain days.
Headers
Api-Client-Token
string
Client token obtained from client authentication method.
Api-User-Token
string
User token obtained from user login method.
Add money
POST
https://api.vendex.app/api/account/add_money/
To add money to user account. This API is called upon approval from payment gateway. Gateway reference is provided as a security measure and also use for validation.
Headers
Api-Client-Token
string
Client token obtained from client authentication method.
Api-User-Token
string
User token obtained from user login.
Content-Type
string
Content-type need to be set as application/json
Example of POST data (JSON)
Last updated
Was this helpful?