Creating a Bank Account Using a Template ID

Creating a Bank Account Using a Template ID

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

Short answer: Get the list of check designs, copy the id of the design you want, and send it as templateId when you create the bank account. 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

Get the list of check designs

This request lists every check design you can use. Each design has an id, a category_name, a design_name, and a picture link.

GET /bankAccounts/templates

You get a reply like this:

{
  "success": true,
  "data": [
    {
      "id": "qx5NrWjymj2n3l6",
      "category_name": "Payroll Check",
      "design_name": "payroll-final",
      "image": "https://ocw-local-s3.s3.amazonaws.com/3/payroll-final.png",
      "premium": false,
      "price": "0.00"
    },
    {
      "id": "rz6VoW41dj589lK",
      "category_name": "Personal Checks",
      "design_name": "personal-final",
      "image": "https://ocw-local-s3.s3.amazonaws.com/2/personal-final.png",
      "premium": false,
      "price": "0.00"
    },
    {
      "id": "OYxZqXGKdeRzVvJ",
      "category_name": "Business Checks",
      "design_name": "Business checks two",
      "image": "https://ocw-local-s3.s3.amazonaws.com/1/Business%20checks%20two.png",
      "premium": true,
      "price": "0.50"
    }
  ]
}

Step 5

Make the bank account

Copy the id of the design you want. Put it in templateId. You can make up to 20 bank accounts in one request. The fields name, accountNumber, addressLine1, city, state, and zip are required.

POST /bankAccounts

Send this in the body of the request:

{
  "bankAccounts": [
    {
      "name": "Maple Street Bakery LLC",
      "nickName": "Primary Operating Account",
      "accountNumber": "10029841",
      "addressLine1": "1250 Market Street",
      "addressLine2": "Suite 400",
      "phone": "4155550123",
      "city": "San Francisco",
      "state": "CA",
      "zip": "94103",
      "bankName": "JPMorgan Chase Bank",
      "bankRoutingNumber": "021000021",
      "bankAddress1": "270 Park Avenue",
      "bankCity": "New York",
      "bankState": "NY",
      "bankZip": "10017",
      "bankIdentity": "58756985",
      "templateId": "qx5NrWjymj2n3l6"
    }
  ]
}

You get a reply like this:

{
  "success": true,
  "message": "Successfully created",
  "data": {
    "bankAccounts": [
      {
        "bankAccountId": "EXw2lx482or0eMzWyDp",
        "name": "Maple Street Bakery LLC",
        "nickName": "Operating Account",
        "accountNumber": "123456789012",
        "isVerified": false,
        "bankId": "bz3Aj30n0w4Vw6E",
        "addressLine1": "1250 Market Street",
        "addressLine2": "Suite 400",
        "city": "San Francisco",
        "state": "CA",
        "zip": "94103",
        "phone": "4155550123",
        "walletId": "c7a9d9d4-00c1-43e6-84e0-420c73f9648c",
        "createdDate": "08-13-2024"
      },
      {
        "bankAccountId": "8X0Kmz47z5kgjLOM27d",
  ...

Common questions

What is the template ID?

It is the id of a check design from the list in Step 4.

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.