v1

latestOpenAPI 3.1.02026-07-247328324.6 KB
Sales

Get statements

get/programs/{id}/statements

Path parameters

idstring required

An object id with prefix

Example:user_0123456789ABCDEFGHIJKLMNOPq

An object id with prefix

Query parameters

currencystring

currency of the transaction

Example:USD

currency of the transaction

ledger'payout' | 'payin' | 'reserve'

filter by type of ledger: payout is the ledger that tracks funds from sivo to the seller. payin is the ledger that tracks funds from the seller to sivo. reserve is the ledger that tracks deposit used for daily and minimum fees

filter by type of ledger: payout is the ledger that tracks funds from sivo to the seller. payin is the ledger that tracks funds from the seller to sivo. reserve is the ledger that tracks deposit used for daily and minimum fees

periodstring

the period for the statement

Example:2024-01

the period for the statement

Response

Successful operation

Example response

{
  "data": [
    {
      "currency": "USD",
      "period": "2024-01",
      "start_balance": 10000,
      "start_balance_usd": 10000,
      "end_balance": 10000,
      "end_balance_usd": 10000,
      "increases": 10000,
      "increases_usd": 10000,
      "decreases": 10000,
      "decreases_usd": 10000
    }
  ]
}