cURL
curl --request POST \ --url https://demoapi.saasphereltd.com/api/v1/accounts/send-account-statement-to-email \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "account_number": "1234567890", "email": "john.doe@example.com", "start_date": "2025-01-01", "end_date": "2025-11-26" } '
{ "status": "00", "message": "Account statement email has been sent successfully" }
Paste only the token (no "Bearer " prefix).
The account number.
"1234567890"
The email address to send the statement to.
"john.doe@example.com"
The start date for the statement.
"2025-01-01"
The end date for the statement.
"2025-11-26"
"00"
"Account statement email has been sent successfully"