Sending mail through OnlineCheckWriter.com is a straightforward process. Here's how you can do it:
First, you need to create a payee. Use the following API endpoint:
POST {{baseUrl}}/payees
If the payee information already exists in the system, a new payeeId will not be generated. Instead, the existing payeeId will be returned.
Sample Payload:
After creating the payee, store the payeeId in your database for future transactions.
GET {{baseUrl}}/bankAccounts
Use the retrieved payeeId and your bankaccount_id to create a check:
This will return a checkId, for example, RJ6qGAm5lJGE1rD.
If you need to add any attachments to the check, use this API:
To mail the check, call the following endpoint: