How to Send Mail via OnlineCheckWriter.com: A Step-by-Step Guide

How to Send Mail via OnlineCheckWriter.com: A Step-by-Step Guide

Sending mail through OnlineCheckWriter.com is a straightforward process. Here's how you can do it:

1. Create a Payee

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:

  1. {
  2.     "payees": [
  3.         {  
  4.             "name": "Alison Gambala k",
  5.             "nickName": "",
  6.             "company": "",
  7.             "email": "email@test.com",
  8.             "phone": "900244400",
  9.             "address1": "95113 Mark Street Rod",
  10.             "address2": "",
  11.             "city": "Sanjose",
  12.             "state": "CA",
  13.             "zip": "95113",
  14.             "country": "US"
  15.         }
  16.     ]
  17. }

2. Retrieve the Payee ID

After creating the payee, store the payeeId in your database for future transactions.


3. If you don't know bank account id

GET {{baseUrl}}/bankAccounts



3. Create a Check

Use the retrieved payeeId and your bankaccount_id to create a check:

This will return a checkId, for example, RJ6qGAm5lJGE1rD.

4. Add Attachments (Optional)

If you need to add any attachments to the check, use this API:

Add Attachment API


5. Mail the Check

To mail the check, call the following endpoint:

Mail Check API

  1. {
  2.     "mailChecks": [
  3.         {
  4.             "checkId": "RJ6qGAm5lJGE1rD"
  5.         }
  6.     ]
  7. }