This page gives the short answer first, then every step.
Short answer: Send POST /quickpay/mailpdf with the address, a shipping type, and a link to your PDF. The steps are below.
Step 1
Get your API key
Step 2
Pick the web address (base URL)
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/jsonAccept: application/jsonAuthorization: Bearer YOUR_API_KEYYOUR_API_KEY with your key.Step 4
Send the request
shippingTypeId. Give attachmentUrl, the link to your PDF, and attachmentTitle, a name for it. You can also add a fromAddress.POST /quickpay/mailpdf
Send this in the body of the request:
{
"name": "New Payee",
"company": "Tyler Payment Technologist",
"address1": "5007 richmond rd",
"address2": "",
"city": "Tyler",
"state": "TX",
"zip": "75701",
"phone": "111111111",
"email": "support@onlinecheckwriter.com",
"shippingTypeId": 3,
"attachmentUrl": "https://www.onlinecheckwriter.com/samples/invoice/invoicesample.pdf",
"attachmentTitle": "Invoice 1244",
"fromAddress": {
"name": "David Abraham",
"company": "David LLC",
"address1": "450 Sutter Street",
"address2": "",
"city": "San Francisco",
"state": "CA",
"zip": "94108",
"phone": "987564128"
}
}You get a reply like this:
{
"success": true,
"data": {
"id": "pNlkQ4rzd4wnOV0",
"title": "Invoice 1244",
"status": "Pending",
"shippingType": 3,
"toAddress": {
"id": "rWQ8GpJPkAjD0Zz",
"name": "New Payee",
"company": "Tyler Payment Technologist",
"phone": "111111111",
"email": "support@onlinecheckwriter.com",
"address1": "5007 richmond rd",
"address2": "",
"city": "Tyler",
"state": "TX",
"zip": "75701",
"country": null
},
"fromAddress": {
"id": "w6YmZjq0Pe5MXrx",
"name": "David Abraham",
"address1": "450 Sutter Street",
"address2": "",
"city": "San Francisco",
"state": "CA",
...What if I do not give a return address?
Use fromAddress to give your own return address. If you leave it out, the account address is used.
What is shipping type 1?
Shipping type 1 is regular USPS First Class mail.
Is there a way to send more advanced documents?
Yes. Use the Mail Document requests. They also mail HTML documents and track them.
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.
Want help? Book a demo. Our team will answer your questions.
This page gives general information. It is not legal advice.