Show Menu

Fetch Company Wallet Transactions

Fetch Company Wallet Transactions

This call allows you to get all the wallet transactions. There can be one or more wallets.

post/API/v4/Wallet/GetCompanyWalletTransactions

Header Parameters

Authorizationstring

bearer access_token

Content-typestring

application/json

Request Parameters

IssuerAccountNumberstring

String length: inclusive between 1 and 25

WalletIDint

String length: inclusive between 1 and 10. Use 'GetCompanyWallets' to get WalletID.

Reponse Parameters

GetCompanyWalletTransactionsResultstring

Returned if successful List of transactions found. For each transaction the following parameters are returned:
TransactionID—Transaction ID
TransactionDate—Transaction Date
Currency—Currency
ProgramName—Program Name
Description—Description
Type—Type
Amount—Amount
Balance—Balance
PaymentType—Payment Type

OperationStatusstring

Always returned Indicates the status of the operation. Allowed parameters are:
Errors - Displays an error message if the Property name Obligation Definition/value operation was unsuccessful. For more information, see API Error Message Appendix.
Success—Indicates whether the operation was successful. Returns True if the action was successful or False if it was not successful.

Sample Request:

sandbox.xapi.xtrm.com/API/v4/Wallet/GetCompanyWalletTransactions

{
  "GetCompanyWalletTransactions": {
    "Request": {
      "IssuerAccountNumber": "SPN Account Number",
      "WalletID": "Wallet ID",
     "Pagination": {
        "RecordsToSkip": "1",
        "RecordsToTake": "10"
      }
    }
  }
}
						

Sample Response:


{
	"GetCompanyWalletTransactionsResponse": {
		"GetCompanyWalletTransactionsResult": {
			"Transactions": [
				{
					"TransactionID": 13528,
					"TransactionDate": "2017-11-08T05:56:55.967",
					"Currency": "INR",
					"ProgramName": "-",
					"Description": "Account Funded via Credit or Debit Card",
					"Type": "Credit",
					"Amount": 101,
					"Balance": 15221,
					"PaymentType": ""
				},
				{
					"TransactionID": 13527,
					"TransactionDate": "2017-11-08T05:53:39.937",
					"Currency": "INR",
					"ProgramName": "-",
					"Description": "Account Funded via Credit or Debit Card",
					"Type": "Credit",
					"Amount": 100,
					"Balance": 15120,
					"PaymentType": ""
				},
				{
					"TransactionID": 13444,
					"TransactionDate": "2017-10-13T01:25:52.707",
					"Currency": "INR",
					"ProgramName": "-",
					"Description": "Account Funded via Credit or Debit Card",
					"Type": "Credit",
					"Amount": 10,
					"Balance": 15020,
					"PaymentType": ""
				}
			],
			"OperationStatus": {
				"Success": true,
				"Errors": null
			},
			"PaginationTotal": {
				"RecordsToSkip": 1,
				"RecordsToTake": 10,
				"RecordsTotal": 5
			}
		}
	}
}