Get Wallet Transactions
post
https://api.payant.ng/wallets/transactions/:reference_code
Get Wallet Transactions

Request

1
curl https://api.payant.ng/wallets/transactions/PMojL342gd \
2
-H "Content-Type: application/json" \
3
-H "Authorization: Bearer SECRET_KEY" \
4
-d '{ "period": "custom",
5
"start": "01/07/2017",
6
"end": "31/07/2017" }' \
7
-X POST
Copied!

Response

1
{
2
"status": "success",
3
"data": {
4
"period": "custom",
5
"start": "01/07/2017",
6
"end": "31/07/2017",
7
"transactions": [
8
{
9
"company_id": "1",
10
"client_id": "",
11
"invoice_id": "",
12
"expense_id": "",
13
"wallet_id": "1",
14
"payment_id": "4342323",
15
"transaction_date": "2017-07-26T19:51:31.000Z",
16
"wallet_reference_code": "PMojL342gd",
17
"amount": "5000.00",
18
"currency": "NGN",
19
"reference_code": "HeK01bEwiVRzcnAUGLf2",
20
"referrer": "",
21
"gateway_response": "Successful",
22
"message": "",
23
"channel": "Card",
24
"disburse_status": "1",
25
"disburse_ref": "",
26
"disburse_response": "Successful",
27
"settlement_bank": "",
28
"account_number": "",
29
"account_name": "",
30
"type": "Funding",
31
"status": "1",
32
"created_at": "2016-12-21 18:46:30",
33
"updated_at": "2016-12-21 18:46:30",
34
"id": 1
35
},
36
{
37
"company_id": "1",
38
"client_id": "",
39
"invoice_id": "",
40
"expense_id": "",
41
"wallet_id": "1",
42
"payment_id": "",
43
"transaction_date": "2017-07-26T19:50:31.000Z",
44
"wallet_reference_code": "PMojL342gd",
45
"amount": "1500.00",
46
"currency": "NGN",
47
"reference_code": "v0rX5GbWsH4FZB63tnjh",
48
"referrer": "",
49
"gateway_response": "Successful",
50
"message": "",
51
"channel": "Card",
52
"disburse_status": "1",
53
"disburse_ref": "TTMW000345454546",
54
"disburse_response": "Successful",
55
"settlement_bank": "044",
56
"account_number": "0000000000",
57
"account_name": "Test",
58
"type": "Withdrawal",
59
"status": "1",
60
"created_at": "2016-12-21 18:50:30",
61
"updated_at": "2016-12-21 18:50:30",
62
"id": 2
63
}
64
]
65
}
66
}
Copied!
Last modified 2yr ago