POST
/
api
/
v1
/
accounts
/
send-account-statement-to-email
Send account statement to email.
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": "<any>",
  "end_date": "<any>"
}
'
{
  "status": "00",
  "message": "Account statement email has been sent successfully"
}

Authorizations

Authorization
string
header
required

Paste only the token (no "Bearer " prefix).

Body

application/json
account_number
string
required

The account number.

Example:

"1234567890"

email
string
required

The email address to send the statement to.

Example:

"john.doe@example.com"

start_date
any
end_date
any

Response

200 - application/json
status
string
Example:

"00"

message
string
Example:

"Account statement email has been sent successfully"