Account

Get account information

GET https://api.vendex.app/api/account/info/

To get account information.

Headers

Name
Type
Description

Api-Client-Token

string

Client token obtained from client authentication method.

Api-User-Token

string

User token obtained from user login method.

{
    "account_number": "1234567812345678", // Send as string since big integer does not support for statically-typed programming languages.
    "account_balance": "201.00",
    "transaction_limit": "2000.00",
    "currency_code": "USD"
}

Get transaction record

GET https://api.vendex.app/api/account/statement/?records=20

To get transaction record for current user.

Query Parameters

Name
Type
Description

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

Name
Type
Description

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

Name
Type
Description

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?