Get Document

GET {{host}}/za/pb/v1/accounts/:accountId/documents/:documentId

Obtain a specified account's transactions.

Filtering is done using the postingDate

postingDate is the date at which the transaction affects your balance.

transactionDate is the date at which the transaction took place. The day the card was physically swiped.

Card transactions that are currently pending will not show in the transaction list.

There is no limits on the returned results

Request Params

KeyDatatypeRequiredDescription
fromDatestringRefers to the date range filter's start date. Will default to today's date, minus 180 days, if not specified. postingDate is used.
toDatestringRefers to the date range filter's end date. Will default to today's date if not specified. postingDate is used for filtering.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":{"transactions":[{"accountId":"3353431574710163189587446","type":"DEBIT","transactionType":"CardPurchases","status":"POSTED","description":"KURUMAN FRESH PRODUCE H KURUMAN ZA","cardNumber":"402261xxxxxx0011","postedOrder":11049,"postingDate":"2023-04-13","valueDate":"2023-04-30","actionDate":"2023-04-12","transactionDate":"2023-04-11","amount":53.6,"runningBalance":34679.66},{"accountId":"3353431574710163189587446","type":"DEBIT","transactionType":"CardPurchases","status":"POSTED","description":"YOCO   *ARUKAH HEALTH KURUMAN ZA","cardNumber":"402261xxxxxx0018","postedOrder":11050,"postingDate":"2023-04-13","valueDate":"2023-04-30","actionDate":"2023-04-12","transactionDate":"2023-04-12","amount":374,"runningBalance":34305.66},{"accountId":"3353431574710163189587446","type":"DEBIT","transactionType":"CardPurchases","status":"POSTED","description":"24 CENTRAL            ENT joeNESBURG ZA","cardNumber":"402261xxxxxx0011","postedOrder":11053,"postingDate":"2023-04-14","valueDate":"2023-04-30","actionDate":"2023-04-12","transactionDate":"2023-04-12","amount":10,"runningBalance":34295.66},{"accountId":"3353431574710163189587446","type":"DEBIT","transactionType":"CardPurchases","status":"POSTED","description":"SUPERSPAR KURUMAN KURUMAN ZA","cardNumber":"402261xxxxxx0018","postedOrder":11054,"postingDate":"2023-04-14","valueDate":"2023-04-30","actionDate":"2023-04-12","transactionDate":"2023-04-12","amount":688.5,"runningBalance":33607.16}]},"links":{"self":"https://openapisandbox.investec.com/za/pb/v1/accounts/3353431574710163189587446/transactions"},"meta":{"totalPages":1}}