1. COD Wallet
Treek-Public
  • Authentication
    • User login with email and password
      POST
  • Orders
    • Create Order
      POST
    • List Orders
      GET
    • Order Details
      GET
    • Update Order
      PUT
    • Cancel Order
      POST
    • Reset Order
      POST
    • Get Statuses
      GET
    • Verify Item
      POST
    • Verify Order
      POST
    • Order Price
      GET
  • Shipments
    • Create Shipment
      POST
    • Return Shipment
      POST
    • Print Invoice
      GET
    • Get Pickup id
      GET
  • Packages
    • Create Package
      POST
    • Get Packages
      GET
    • Package Details
      GET
    • Update Package
      PUT
  • Merchants
    • Merchants Details
      GET
  • Profile
    • User Details
      GET
    • Update User
      PUT
    • Change Password
      PUT
  • Utilities
    • Countries List
    • Cities List
    • Couriers List
  • Warehouses
    • Warehouses List
    • Create warehouse
    • warehouse Details
  • Price Calculator
    • Price Calculator
  • Packaging Type
    • Packaging Types List
    • Packaging Type Details
  • COD Wallet
    • List COD wallets
      GET
    • Debit COD wallet
      POST
    • Get COD wallet summary
      GET
  • Wallet Transactions
    • List wallet transactions
  • Schemas
    • LoginRequest
    • CreateOrderRequest
    • UpdateOrderRequest
    • Price Calculator
    • VerifyItem
    • CreateWarehouseRequest
    • Shipment Package
    • Create Reverse Shipment
    • OrderPackages
    • OrderItem
    • Order
    • ErrorResponse
    • City
    • AutomationRuleCondition
    • Country
    • AutomationRule
    • User
    • PaginationMeta
    • OrderItem
    • PaginatedAutomationRules
    • SuccessResponse
    • CreateOrderItemRequest
    • CalculateRatesRequest
    • BoxDimensions
    • OrderShippingRate
    • RateCalculationParams
    • Warehouse
    • Box
    • CreateBoxRequest
    • UpdateBoxRequest
    • ValidationError
    • NotFoundError
    • UnauthorizedError
    • ForbiddenError
    • PaginationLinks
  1. COD Wallet

Get COD wallet summary

GET
https://api.gotreek.com/api/cod-wallets/summary
COD Wallet
Last modified:2026-08-21 10:31:59
Returns the authenticated merchant’s COD Wallet dashboard summary, including the next payment, current COD balance, withdrawn amount, and debit limit.
πŸ’‘
Authentication
Bearer token authentication is required.
Only summary information belonging to the authenticated merchant is returned.
The token must be obtained using POST /api/auth/login and sent as Authorization: Bearer {token}.
πŸ’‘
Filtering
Optionally filter the summary by COD wallet creation date using:
?created_at_from=YYYY-MM-DD
?created_at_to=YYYY-MM-DD
Both parameters can be combined to filter the summary by a specific creation date range.
The debit_maximum_allowed value is always calculated from the full COD Wallet and is not affected by the date filters.
πŸ“Œ
Summary Information
The endpoint returns the following dashboard figures:
next_amount β†’ Next payment amount for the merchant.
next_date β†’ Expected date of the next payment.
balance β†’ Current COD Wallet balance.
available_balance β†’ Available COD Wallet balance.
withdrawn β†’ Total amount withdrawn through bank payouts and wallet debits.
cod_total β†’ Total accepted COD collections.
paid_bank β†’ Total amount already paid through bank payouts.
wallet_total β†’ Total amount transferred to the merchant shipping wallet.
in_progress_bank β†’ Amount currently pending through bank payout.
debit_maximum_allowed β†’ Maximum amount that can currently be debited from the COD Wallet.
πŸ’‘
Amount
All monetary values returned by this endpoint are expressed in SAR.
next_amount, balance, withdrawn, cod_total, paid_bank, wallet_total, in_progress_bank, and debit_maximum_allowed are returned as decimal amounts in SAR.
next_date contains the expected next payment date.

Request

Authorization
OAuth 2.0
Client Credentials
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Token URL: https://app.gotreek.com/api/auth/login
or
Query Params

Responses

🟒200
application/json
COD wallet summary
Bodyapplication/json

🟠401
🟠403
🟠422
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.gotreek.com/api/cod-wallets/summary?created_at_from=undefined&created_at_to=undefined' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{}
Modified atΒ 2026-08-21 10:31:59
Previous
Debit COD wallet
Next
List wallet transactions
Built with