Get Transactions

Retrieve paginated ledger transactions for a merchant virtual account

The Get Transactions API returns a paginated list of transactions for a merchant virtual account. It covers the same data as the Ledger page of the Admin Dashboard, and is useful for reconciliation or building your own reporting.

Before you start

You need the providerBankAccountId for the account you want to query. Retrieve this by calling the Get Corporate Accounts API, which returns the list of virtual accounts associated with your merchant.

Request

GET {{baseUrl}}/v2/corporate-account/transactions/{providerBankAccountId}

EnvironmentBase URL
Productionhttps://api.yaspa.com
Testhttps://testapi.yaspa.com

Headers

HeaderDescription
AuthorizationCitizenYour merchant private API key

Parameters

ParameterInTypeRequiredDescription
providerBankAccountIdpathstringYesThe virtual account identifier, from Get Corporate Accounts.
pagequeryintegerYesZero-based page number. Start at 0.
sizequeryintegerYesNumber of results per page.
dateFromquerystringNoStart of the date range (ISO 8601).
dateToquerystringNoEnd of the date range (ISO 8601).

Sample request

curl --request GET \
  --url 'https://api.yaspa.com/v2/corporate-account/transactions/abc123?page=0&size=20&dateFrom=2026-10-01&dateTo=2026-10-31' \
  --header 'AuthorizationCitizen: {private API key}'

Pagination

Results are returned one page at a time. Increment page to retrieve subsequent pages. If a page returns fewer results than size, you have reached the last page. The response does not include a total count, so iterate until you get an empty or short page.

For the full request and response definition, see the Get Transactions reference page.


Did this page help you?