Statements
Statements are generated automatically and gradually at the start of each month, and providing them to your customer is a regulatory requirement. This allows your customers to keep track of money movements and act on any fraudulent charges or mistakes.
While Mansar generates statements for both deposit and credit accounts in line with detailed regulatory requirements, you will be responsible for distributing those statements to your customers. Statements must be enabled by Mansar for credit accounts.
Statements are also available as a pdf, and support both English and French.
List
List statement resources. Filtering and paging can be applied.
Verb
GET
Url
https://api.s.usemansar.xyz/statements
Required Scope
statements
Timeout (Seconds)
5
Query Parameters
page[limit]
integer
100
Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.
page[offset]
integer
0
Optional. Number of resources to skip.
filter[accountId]
string
(empty)
Optional. Filters the results by the specified account id.
filter[customerId]
string
(empty)
Optional. Filters the results by the specified customer id.
filter[period]
ISO8601 Date string
(empty)
Optional. Filters the results for a specific month. e.g. 2021-01
sort
string
sort=period
Optional. Leave empty or provide sort=period for ascending order. Provide sort=-period (leading minus sign) for descending order.
Response
Response is a JSON:API document.
200 OK
data
Array of Statement
Array of statement resources.
Example Response:
Get HTML by Id
Get a statement HTML output by id.
Verb
GET
Url
https://api.s.usemansar.xyz/statements/{id}/html
Required Scope
statements
Timeout (Seconds)
5
Query Parameters
filter[customerId]
string
(empty)
Optional. Verify that the statements belongs to the customer.
language
"en" or "es"
"en"
Optional. Select the statement language. en - English, es - Spanish
Response
Response is a HTML document.
Get PDF by Id
Get a statement PDF output by id.
Verb
GET
Url
https://api.s.usemansar.xyz/statements/{id}/pdf
Required Scope
statements
Timeout (Seconds)
240
Query Parameters
filter[customerId]
string
(empty)
Optional. Verify that the statements belongs to the customer.
language
"en" or "es"
"en"
Optional. Select the statement language. en - English, es - Spanish
Response
Response is a PDF document.
Get Bank verification PDF
Customers may be required, for various reasons, to provide a proof that they hold a bank account with a certain financial institution. This is typically provided by the bank in a letter called "Bank verification letter", which includes the customer, account, and financial institution information. If the customer is required to prove the availability of funds, the letter may also include the available balance on the account.
The API returns a white-label bank verification letter. The white label configuration including the logo, representative name, email, and phone is done through the Mansar Dashboard settings. Verification letters can be accessed immediately after an account is approved.
Verb
GET
Url
https://api.s.usemansar.xyz/statements/{accountId}/bank/pdf
Required Scope
statements
Timeout (Seconds)
180
Query Parameters
includeProofOfFunds
boolean
false
Optional. include customer proof of funds
Response
Response is a PDF document.
Last updated