How to Use the QuickPay Feature to Mail a Check

How to Use the QuickPay Feature to Mail a Check

This page gives the short answer first, then every step.

Short answer: Send POST /quickpay/mailcheck with your bank account ID, the payee address, a shipping type, and the amount. The steps are below.

Before you start

Step 1

Get your API key

Sign in. Click SETTINGS, then More, then Developer Panel. On the API Settings tab, click the eye icon to show your API Key. Click the copy icon to copy it. Keep it private.

Step 2

Pick the web address (base URL)

For tests, use the sandbox: https://test.onlinecheckwriter.com/api/v3. For real payments, use the live site: https://app.onlinecheckwriter.com/api/v3. Before you go live, ask our support team to turn on the live API. If you do not, your requests can come back with Access Denied.

Step 3

Add three headers to every request

Content-Type: application/json
Accept: application/json
Authorization: Bearer YOUR_API_KEY
Replace YOUR_API_KEY with your key.

Steps

Step 4

Send the request

In source, give the accountId of your bank account. In destination, give the name and the full address of the person who gets the check. In payment_details, give the amount. The fields name, address1, city, state, zip, and shippingTypeId are required. Write the state with 2 letters, like TX.

POST /quickpay/mailcheck

Send this in the body of the request:

{
  "source": {
    "accountType": "bankaccount",
    "accountId": "{{bankAccountId}}"
  },
  "destination": {
    "name": "John Myres",
    "company": "Tyler Payment Technologist",
    "address1": "5007 richmond rd",
    "address2": "",
    "city": "Tyler",
    "state": "TX",
    "zip": "75701",
    "phone": "9032457713",
    "email": "support@onlinecheckwriter.com",
    "shippingTypeId": 1
  },
  "payment_details": {
    "amount": 984,
    "memo": "Invoice 1042",
    "note": "Note For Internal Purpose",
    "issueDate": "2024-07-01"
  }
}

You get a reply like this:

{
  "success": true,
  "message": "Successfully Sent",
  "data": {
    "checkId": "VPXre6L8pZ4zl9Z"
  }
}

Common questions

What are the shipping type IDs?

1 is First Class. 3 is First Class with Tracking. 4 is Priority Mail. 5 is Express Mail. 12 is FedEx Standard Overnight, by 3 pm the next business day.

Can I add my own reference?

Yes. referenceId is optional in payment_details.

Where is the full API guide?

Open apiv3.onlinecheckwriter.com. It lists every request, with examples.

I need more help.

Call (408) 775-7720, use the chat box in the lower right corner of the app, or email support@onlinecheckwriter.com.

Pay your vendors with Online Check Writer

Want help? Book a demo. Our team will answer your questions.

This page gives general information. It is not legal advice.