Manage Wallet

Retrieve wallet balance via API calls before placing any LIVE booking request. This can be called directly with your API key.

Parameters

Name

Description

Accept

string

( header )

Must be application/json

Accept - Encoding

string

( header )

Must be gzip

Authorization

string

( header )

Must be Your API Key

action

string

( query )

Must be "GetWalletStatus" as parameter

Action methods in Web API controller can have one or more parameters of different types. It can be either primitive type or complex type. Web API binds action method parameters either with URL's query string or with request body depending on the parameter type.

apiKey

string

( query )

Must be a valid API Key

The API Key provided to you is critical to the security of your request data – treat it like a password. Never include the raw value in any publicly accessible site or app code. You will be provided with an API key when you are approved to integrate TPS API.

ModeType

string

( query )

Must be either "Test" or "LIVE"

Your application must be approved from Adivaha Personnel. All the transactions will be treated as LIVE once the parameter is set to LIVE.

Response

The API returns an HTTP response, which generally includes the result of the request invocation

{
    "Status": 200,
    "status_message": "Booking has been confirmed ",
    "responseData": {
        "wallet_id": 234131,
        "wallet_balance": "200000"
    }
}