Account Full Statement API Documentation
Overview

This API endpoint allows a merchant to retrieve the full transaction history for a specific account within a defined date range.

  • Purpose: Retrieve a detailed statement for reconciliation, reporting, or auditing.
  • Target Audience: All developers and businesses integrating with BobPlus Africa APIs.

Quickstart: Fetch Full Account Statement
  1. Obtain your Bearer Token and generate the required signature.
  2. Send a POST request to the statement endpoint with the required parameters.
  3. Parse the response to get the transaction history.

Endpoint Reference
HTTP MethodPOST
Endpoint URL/api/v2/wallet/statement
Base URLhttps://base-url-here
DescriptionFetch the full transaction statement for a wallet within a date range.
Request Body
FieldTypeDescriptionRequired
wallet_nostringWallet account numberYes
from_datedateStart date of the statement period in 'YYYY-MM-DD' formatYes
to_datedateEnd date of the statement period in 'YYYY-MM-DD' formatYes
limitnumericMaximum number of transactions returned (max: 5000)Yes
Request Headers
HeaderTypeDescriptionRequired
AuthorizationstringBearer token for API authenticationYes
SignaturestringSHA-256 signature. Concatenate wallet_no+to_date+limit, sign with your private key, and Base64 encode.Yes

Example Request
curl --location 'https://base-url-here/api/v2/wallet/statement' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Signature: XXCCCXXXXXXXXX' \
--data '{
    "wallet_no":"7XXXXXXXXX48",
    "from_date":"2024-01-01",
    "to_date":"2024-03-01",
    "limit":10
}'

Success Response
FieldTypeDescription
successbooleanIndicates if the request was successful
messagestringResponse message
dataarrayList of transactions
data.txnIdstringTransaction ID
data.typestringTransaction type (Debit or Credit)
data.amountnumericTransaction amount
data.balancenumericNew balance after the transaction
data.descriptionstringTransaction description
data.confirmedbooleanIndicates if the transaction is confirmed
data.datestringTransaction timestamp
{
    "success": true,
    "message": "Successfully fetched",
    "data": [
        {
            "txnId": "375829475809",
            "type": "Credit",
            "amount": "10",
            "balance": 20,
            "description": "Credited KES10.00 as new payment received.",
            "confirmed": true,
            "date": "2024-02-12 19:36:29 PM"
        },
        {
            "txnId": "067198135548",
            "type": "Credit",
            "amount": "10",
            "balance": 10,
            "description": "Credited KES10.00 as new payment received.",
            "confirmed": true,
            "date": "2024-02-12 19:32:32 PM"
        }
    ]
}

Security Best Practices
  • Always use HTTPS for all API requests.
  • Keep your private key secure and never share it.
  • Verify the signature on the server side for every request.

Support & Feedback

For help, contact support@bobplus.africa.
Feedback on this documentation? Let us know.


Terms of Use & Legal

By using this API, you agree to our Terms of Service and Privacy Policy. Do not share sensitive data or credentials.