Wallet

Get signed banks

GET {{baseUrl}}/api/v2/client/wallet/signed_banks

Query Parameters

NameTypeDescription

country_code

String

The country code (NG, KE etc)

Headers

NameTypeDescription

client-id*

string

The client id that was generated

api-key*

string

The secret api key

```json
{
    "data": [
        {
            "id": 1,
            "name": "Access Bank",
            "slug": "access-bank",
            "code": "044",
            "longcode": "044150149",
            "vigipay_bank_id": null,
            "country_code": "NG"
        },
        {
            "id": 2,
            "name": "Access Bank (Diamond)",
            "slug": "access-bank-diamond",
            "code": "063",
            "longcode": "063150162",
            "vigipay_bank_id": 5,
            "country_code": "NG"
        },
        {
            "id": 3,
            "name": "ALAT by WEMA",
            "slug": "alat-by-wema",
            "code": "035A",
            "longcode": "035150103",
            "vigipay_bank_id": null,
            "country_code": "NG"
        },
        {
            "id": 4,
            "name": "ASO Savings and Loans",
            "slug": "asosavings",
            "code": "401",
            "longcode": "",
            "vigipay_bank_id": null,
            "country_code": "NG"
        },
        {
            "id": 5,
            "name": "Citibank Nigeria",
            "slug": "citibank-nigeria",
            "code": "023",
            "longcode": "023150005",
            "vigipay_bank_id": null,
            "country_code": "NG"
        }

    ],
    "message": "listed banks",
    "status": true,
    "status_code": 200
}
```

Get default wallet

GET {{baseUrl}}/api/v2/client/wallet/default

Query Parameters

NameTypeDescription

customer_id

number

phone_number

string

email

string

Headers

NameTypeDescription

client-id*

string

The client id that was generated

api-key*

string

The secret api key

```json
{
    "data": {
        "id": 24,
        "customerId": 716,
        "walletProvider": "Dojah",
        "walletProviderId": 2,
        "bankName": "VFD MFB",
        "bankCode": "VFD",
        "currency": "NGN",
        "accountNumber": "5712xxxxxx",
        "walletId": "1c04ec1a-bxx5-43e4-8850-xxxxxxxxxxxx",
        "accountName": "Lawrence Martin",
        "isDefault": true,
        "availableBalance": 59.49000000000001,
        "ledgerBalance": 59.49000000000001
    },
    "message": "Success",
    "status": true,
    "status_code": 200
}
```

Get wallet transactions

GET {{baseUrl}}/api/v2/client/wallet/wallet_transactions/{account_number}

Path Parameters

NameTypeDescription

account_number*

string

Headers

NameTypeDescription

client-id*

string

The client id that was generated

api-key*

string

The secret api key

```json
{
    "data": {
        "currency": "NGN",
        "accountNumber": "5483128721",
        "walletId": "94e136e2-9ac5-4cb3-8cad-c9619xxxxxxx",
        "accountName": null,
        "bankName": "VFD MFB",
        "availableBalance": 480,
        "ledgerBalance": 480,
        "transactions": [
            {
                "transactionDate": "2023-01-10T10:45:16",
                "accountNumber": "5483128721",
                "walletId": "94e136e2-9ac5-4cb3-8cad-c9619xxxxxxx",
                "transactionType": "Debit",
                "bishopGateWalletTransactionTypeObject": null,
                "transactionStatus": "COMPLETED",
                "transactionCharge": 0,
                "transactionRemarks": "test process",
                "transactionId": "Dojah-6eee5b55-25db-45eb-9a08-6e0eexxxxxxx",
                "amount": 20,
                "debitAmount": 20,
                "creditAmount": 0,
                "recipientAccountNumber": "0701xxxxx7",
                "recipientBankName": "Access Bank",
                "recipientBankCode": "044",
                "recipientAccountName": "Dojah Test Account",
                "senderAccountNumber": "5483128721",
                "senderBankName": "",
                "senderAccountName": "",
                "dateCreated": "2023-01-10T10:45:16.622494+01:00",
                "description": "0701xxxxx7",
                "initiatorUsername": null,
                "transactionCategory": null,
                "note": null,
                "runningBalance": null
            }
        ],
        "page": 1,
        "pageSize": 100,
        "totalPages": 1,
        "total": 1
    },
    "message": "Transaction(s) for wallet 94e136e2-9ac5-4cb3-8cad-c9619xxxxxxx found",
    "status": true,
    "status_code": 200
}
```

Last updated