Show Menu

Fetch User Wallet Transactions by Remitter

Fetch User Wallet Transactions by Remitter

This call allows you to get list of transactions of a specific user and remitter. Records will contain amount sent by the remitter to the user.

post/API/v4/Wallet/GetUserWalletTransactionsByRemitter

Header Parameters

Authorizationstring

bearer access_token

Content-typestring

application/json

Request Parameters

IssuerAccountNumberstring

String length: inclusive between 1 and 25

UserIDstring

String length: inclusive between 1 and 25

RemitterAccountNostring

String length: inclusive between 1 and 25

WalletCurrencystring

String length: 3

Reponse Parameters

GetUserWalletTransactionsByRemitterResponsestring

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

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/GetUserWalletTransactionsByRemitter

{
  "GetUserWalletTransactionsByRemitter": {
    "Request": {
      "IssuerAccountNumber": "SPN17126699",
      "UserID": "PAT18128745",
      "RemitterAccountNo": "SPN17126699",
      "WalletCurrency": "USD",
     "Pagination": {
        "RecordsToSkip": "1",
        "RecordsToTake": "10"
      }
    }
  }
}
						

Sample Response:



{
	"GetUserWalletTransactionsByRemitterResponse": {
		"GetUserWalletTransactionsByRemitterResult": {
			"Transactions": [
				{
					"TransactionID": 15690,
					"CompanyName": "MTC Performance",
					"ProgramName": "-",
					"TransactionDate": "2018-05-22T06:14:20.06",
					"Description": "Test Reverse Transactions",
					"Amount": 75,
                    "Currency": "USD",                    
					"Type": "Credit",
					"PaymentMethod": "AnyPay"
				},
				{
					"TransactionID": 5399,
					"CompanyName": "MTC Performance",
					"ProgramName": "Test Program 2",
					"TransactionDate": "2018-03-14T13:59:29.403",
					"Description": "Reward ID 373255",
					"Amount": 5,
                    "Currency": "USD",    
					"Type": "Credit",
					"PaymentMethod": "AnyPay"
				}
			],
			"OperationStatus": {
				"Success": true,
				"Errors": null
			},
			"PaginationTotal": {
				"RecordsToSkip": 1,
				"RecordsToTake": 10,
				"RecordsTotal": 2
			}
		}
	}
}