Tembo
  • Welcome!
  • Introduction
  • Reference
    • Merchant Virtual Accounts
      • Create Merchant Virtual Account
      • Get Account Balance
      • Get Account Statement
      • Webhook Callback
    • Banking & Wallets
      • Create Wallet
      • Deposit Funds
      • Withdraw Funds
      • Wallet to Wallet Transfer
      • Wallet Balance
      • Wallet Statement
      • Main Balance
      • Main Statement
      • List Wallets
    • Make Payment
      • Pay to Mobile
      • Pay to Other Banks
      • Utility Payments
      • Payment Status
    • Collect Money
      • Collect from Mobile Money
      • Collection Balance
      • Collection Statement
      • Payment Status
    • eKYC
      • Start Onboarding
      • Retrieve First Question
      • Reply to Question
    • Remittance
      • API Overview
      • Create Remittance
      • Transaction Status
      • Callback Notification
Powered by GitBook
On this page
  1. Reference
  2. Collect Money

Collection Statement

Use this endpoint to retrieve the statement of your collection account

Collection Statement

POST https://sandbox.temboplus.com/tembo/v1/wallet/collection-statement

Check the account statement of your collection account

Headers

Name
Type
Description

x-account-id*

string

Partner account id

x-secret-key*

string

Partner secret key

x-request-id*

string

A unique id identifying this request

Request Body

Name
Type
Description

startDate*

date string

Statement start date

endDate*

date string

Statement end date

[
    {
          "accountNo": "6682002103",
          "debitOrCredit": "CR",
          "tranRefNo": "P50ZEXA2014301CI",
          "narration": "CURRENT MONTH SALARY",
          "txnDate": "2020-05-22",
          "valueDate": "2020-05-22",
          "amountCredited": 2232745.15,
          "amountDebited": '',
          "balance": 2232745.15,
        },
        {
          "accountNo": "668200980",
          "debitOrCredit": "CR",
          "tranRefNo": "P50ZEXA2014301CI",
          "narration": "RENT PAYMENT FOR JUN 2022",
          "txnDate": "2020-05-22",
          "valueDate": "2020-05-22",
          "amountCredited": 1950000.00,
          "amountDebited": '',
          "balance": 2132745.15,
        }
]
{
    "statusCode": 401,
    "reason": "INVALID_CREDENTIALS"
}    
{
    "statusCode": 400,
    "reason": "VALIDATION_ERROR",
    "details": {
        "walletId": "walletId is required",
        "startDate": "startDate cannot be greater that endDate"
    }
}
curl --request POST \
  --url https://sandbox.temboplus.com/tembo/v1/wallet/collection-statement \
  --header 'content-type: application/json' \
  --header 'x-account-id: ff6IfxxVceIMM6oFAc9Zig' \
  --header 'x-secret-key: HYX5X4is3a4bnJJo4lXM936bFD6B8iMeAtXijNvHXMI==' \
  --header 'x-request-id: 546d7a200cd8cb45d8ac' \
  --data  '{
     "startDate": "2023-01-01",
     "endDate": "2023-01-31"
  }'

PreviousCollection BalanceNextPayment Status

Last updated 1 year ago