Wallet Transactions
curl --request GET \
--url https://nini.monieswitch.com/transaction/wallet \
--header 'Authorization: Bearer <token>'import requests
url = "https://nini.monieswitch.com/transaction/wallet"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nini.monieswitch.com/transaction/wallet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nini.monieswitch.com/transaction/wallet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://nini.monieswitch.com/transaction/wallet"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://nini.monieswitch.com/transaction/wallet")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://nini.monieswitch.com/transaction/wallet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": true,
"message": "Operation is successful",
"data": {
"size": 50,
"page": 1,
"totalRecords": 5,
"totalPages": 1,
"totalDebitAmount": 4140,
"totalCreditAmount": 25000,
"totalTransactionValue": 29140,
"totalTransactionVolume": 5,
"transactions": [
{
"id": "38dbc51c-883b-47df-832b-cb55d20f905d",
"type": "DEBIT",
"status": "SUCCESS",
"charges": 10,
"reference": "YWQzqeS3uhJW3X1u77m92UpV6qKIJiSnSBwD",
"category": "BANK_TRANSFER",
"amount": 1500,
"sessionId": "999270240830025526133060132300",
"description": "₦1,500.00 transferred to SIMI MICHELLE",
"settledAmount": 1510,
"createdAt": "2024-08-30T01:55:25.414Z",
"originatorBankCode": "999270",
"originatorBankName": "Xpress Wallet",
"beneficiaryBankCode": "000014",
"beneficiaryBankName": "ACCESS BANK",
"originatorAccountName": "Kazeem Folorunsho",
"beneficiaryAccountName": "SIMI MICHELLE",
"originatorAccountNumber": "4473366072",
"beneficiaryAccountNumber": "0055443344"
},
{
"id": "382f7cd3-049a-4440-9d1f-5f1d80260c42",
"type": "DEBIT",
"status": "SUCCESS",
"charges": 0,
"reference": "wdOgavf2YFe8rMBt38wXicZhceUrvcoVqX6N",
"category": "MERCHANT_DEBIT",
"amount": 640,
"sessionId": null,
"description": "₦640.00 transfer to the merchant",
"settledAmount": 640,
"createdAt": "2024-08-30T01:53:13.450Z",
"narration": "Testing debit",
"originatorBankCode": "999270",
"originatorBankName": "Xpress Wallet",
"beneficiaryBankCode": "999270",
"beneficiaryBankName": "Xpress Wallet",
"originatorAccountName": "Kazeem Folorunsho",
"beneficiaryAccountName": "Nwoko",
"originatorAccountNumber": "4473366072",
"beneficiaryAccountNumber": "4439862547"
},
{
"id": "286d4b1c-a2ee-4b7f-a406-eeb0843693b0",
"type": "CREDIT",
"status": "SUCCESS",
"charges": 0,
"reference": "0p4SIgQtyWU317fUT3aqSpjvHQ7TCegDRMjK",
"category": "MERCHANT_CREDIT",
"amount": 5000,
"sessionId": null,
"description": "₦5,000.00 received from the merchant",
"settledAmount": 5000,
"createdAt": "2024-08-30T01:50:34.425Z",
"narration": "Testing credit wallet",
"originatorBankCode": "999270",
"originatorBankName": "Xpress Wallet",
"beneficiaryBankCode": "999270",
"beneficiaryBankName": "Xpress Wallet",
"originatorAccountName": "Nwoko",
"beneficiaryAccountName": "Kazeem Folorunsho",
"originatorAccountNumber": "4439862547",
"beneficiaryAccountNumber": "4473366072"
},
{
"id": "ef36d86d-ebe8-41d3-836f-c27d8a205927",
"type": "DEBIT",
"status": "SUCCESS",
"charges": 10,
"reference": "2xsYE8FU828nJiALcYgMRAFgamG60BMTBJG2",
"category": "BANK_TRANSFER",
"amount": 2000,
"sessionId": "999270240827235625100764951531",
"description": "₦2,000.00 transferred to SIMI MICHELLE",
"settledAmount": 2010,
"createdAt": "2024-08-27T22:56:24.321Z",
"originatorBankCode": "999270",
"originatorBankName": "Xpress Wallet",
"beneficiaryBankCode": "090267",
"beneficiaryBankName": "KUDA MICROFINANCE BANK",
"originatorAccountName": "Kazeem Folorunsho",
"beneficiaryAccountName": "SIMI MICHELLE",
"originatorAccountNumber": "4473366072",
"beneficiaryAccountNumber": "2394934332"
},
{
"id": "97894f63-a616-4272-a1a6-478c5f4aa583",
"type": "CREDIT",
"status": "SUCCESS",
"charges": 350,
"reference": "dhUfb1IwCX15kaYmkh1zcwBePXaaSDCndX2e",
"category": "BANK_FUNDING",
"amount": 20000,
"sessionId": "999270240827234323757461135918",
"description": "₦20,000.00 received from Emmanuel",
"settledAmount": 19650,
"createdAt": "2024-08-27T22:43:24.154Z",
"paidAt": "2024-08-27T22:43:23.132Z",
"userId": "6e7b8096-bf89-496a-badd-1ed5acf17280",
"narration": "Customer account funding",
"walletType": "STATIC",
"channelCode": "2",
"originatorBankCode": "999270",
"originatorBankName": "JUJU Test Bank",
"beneficiaryBankCode": "999270",
"beneficiaryBankName": "XpressWallet",
"transactionReference": "dhUfb1IwCX15kaYmkh1zcwBePXaaSDCndX2e",
"originatorAccountName": "Emmanuel",
"beneficiaryAccountName": "Kazeem Folorunsho",
"originatorAccountNumber": "0167421242",
"beneficiaryAccountNumber": "4473366072",
"originatorBankVerificationNumber": "",
"beneficiaryBankVerificationNumber": ""
}
]
}
}Transactions
Wallet Transactions
GET
/
transaction
/
wallet
Wallet Transactions
curl --request GET \
--url https://nini.monieswitch.com/transaction/wallet \
--header 'Authorization: Bearer <token>'import requests
url = "https://nini.monieswitch.com/transaction/wallet"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://nini.monieswitch.com/transaction/wallet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://nini.monieswitch.com/transaction/wallet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://nini.monieswitch.com/transaction/wallet"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://nini.monieswitch.com/transaction/wallet")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://nini.monieswitch.com/transaction/wallet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status": true,
"message": "Operation is successful",
"data": {
"size": 50,
"page": 1,
"totalRecords": 5,
"totalPages": 1,
"totalDebitAmount": 4140,
"totalCreditAmount": 25000,
"totalTransactionValue": 29140,
"totalTransactionVolume": 5,
"transactions": [
{
"id": "38dbc51c-883b-47df-832b-cb55d20f905d",
"type": "DEBIT",
"status": "SUCCESS",
"charges": 10,
"reference": "YWQzqeS3uhJW3X1u77m92UpV6qKIJiSnSBwD",
"category": "BANK_TRANSFER",
"amount": 1500,
"sessionId": "999270240830025526133060132300",
"description": "₦1,500.00 transferred to SIMI MICHELLE",
"settledAmount": 1510,
"createdAt": "2024-08-30T01:55:25.414Z",
"originatorBankCode": "999270",
"originatorBankName": "Xpress Wallet",
"beneficiaryBankCode": "000014",
"beneficiaryBankName": "ACCESS BANK",
"originatorAccountName": "Kazeem Folorunsho",
"beneficiaryAccountName": "SIMI MICHELLE",
"originatorAccountNumber": "4473366072",
"beneficiaryAccountNumber": "0055443344"
},
{
"id": "382f7cd3-049a-4440-9d1f-5f1d80260c42",
"type": "DEBIT",
"status": "SUCCESS",
"charges": 0,
"reference": "wdOgavf2YFe8rMBt38wXicZhceUrvcoVqX6N",
"category": "MERCHANT_DEBIT",
"amount": 640,
"sessionId": null,
"description": "₦640.00 transfer to the merchant",
"settledAmount": 640,
"createdAt": "2024-08-30T01:53:13.450Z",
"narration": "Testing debit",
"originatorBankCode": "999270",
"originatorBankName": "Xpress Wallet",
"beneficiaryBankCode": "999270",
"beneficiaryBankName": "Xpress Wallet",
"originatorAccountName": "Kazeem Folorunsho",
"beneficiaryAccountName": "Nwoko",
"originatorAccountNumber": "4473366072",
"beneficiaryAccountNumber": "4439862547"
},
{
"id": "286d4b1c-a2ee-4b7f-a406-eeb0843693b0",
"type": "CREDIT",
"status": "SUCCESS",
"charges": 0,
"reference": "0p4SIgQtyWU317fUT3aqSpjvHQ7TCegDRMjK",
"category": "MERCHANT_CREDIT",
"amount": 5000,
"sessionId": null,
"description": "₦5,000.00 received from the merchant",
"settledAmount": 5000,
"createdAt": "2024-08-30T01:50:34.425Z",
"narration": "Testing credit wallet",
"originatorBankCode": "999270",
"originatorBankName": "Xpress Wallet",
"beneficiaryBankCode": "999270",
"beneficiaryBankName": "Xpress Wallet",
"originatorAccountName": "Nwoko",
"beneficiaryAccountName": "Kazeem Folorunsho",
"originatorAccountNumber": "4439862547",
"beneficiaryAccountNumber": "4473366072"
},
{
"id": "ef36d86d-ebe8-41d3-836f-c27d8a205927",
"type": "DEBIT",
"status": "SUCCESS",
"charges": 10,
"reference": "2xsYE8FU828nJiALcYgMRAFgamG60BMTBJG2",
"category": "BANK_TRANSFER",
"amount": 2000,
"sessionId": "999270240827235625100764951531",
"description": "₦2,000.00 transferred to SIMI MICHELLE",
"settledAmount": 2010,
"createdAt": "2024-08-27T22:56:24.321Z",
"originatorBankCode": "999270",
"originatorBankName": "Xpress Wallet",
"beneficiaryBankCode": "090267",
"beneficiaryBankName": "KUDA MICROFINANCE BANK",
"originatorAccountName": "Kazeem Folorunsho",
"beneficiaryAccountName": "SIMI MICHELLE",
"originatorAccountNumber": "4473366072",
"beneficiaryAccountNumber": "2394934332"
},
{
"id": "97894f63-a616-4272-a1a6-478c5f4aa583",
"type": "CREDIT",
"status": "SUCCESS",
"charges": 350,
"reference": "dhUfb1IwCX15kaYmkh1zcwBePXaaSDCndX2e",
"category": "BANK_FUNDING",
"amount": 20000,
"sessionId": "999270240827234323757461135918",
"description": "₦20,000.00 received from Emmanuel",
"settledAmount": 19650,
"createdAt": "2024-08-27T22:43:24.154Z",
"paidAt": "2024-08-27T22:43:23.132Z",
"userId": "6e7b8096-bf89-496a-badd-1ed5acf17280",
"narration": "Customer account funding",
"walletType": "STATIC",
"channelCode": "2",
"originatorBankCode": "999270",
"originatorBankName": "JUJU Test Bank",
"beneficiaryBankCode": "999270",
"beneficiaryBankName": "XpressWallet",
"transactionReference": "dhUfb1IwCX15kaYmkh1zcwBePXaaSDCndX2e",
"originatorAccountName": "Emmanuel",
"beneficiaryAccountName": "Kazeem Folorunsho",
"originatorAccountNumber": "0167421242",
"beneficiaryAccountNumber": "4473366072",
"originatorBankVerificationNumber": "",
"beneficiaryBankVerificationNumber": ""
}
]
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
⌘I