How to sent pdf to your recipient easily

How to sent pdf to your recipient easily


Sandbox url  : https://test.onlinecheckwriter.com/api/v3/quickpay/mailpdf
Production urlhttps://app.onlinecheckwriter.com/api/v3/quickpay/mailpdf

Simple Method 1
  1. {

        "name": "New Payee 21",

        "company": "Tyler Payment Technologist",

        "address1": "5007 richmond rd",

        "address2": "",

        "city": "Tyler",

        "state": "TX",

        "zip": "75701",

        "phone": "9032457713",

        "email": "support@onlinecheckwriter.com",

        "shippingTypeId": 3,

        "attachmentUrl": "https://onlinecheckwriter/samples/invoice/invoicesample.pdf",

        "attachmentTitle": "Invoice 1244",

       }


If you don't provide a return address, we will use the OnlineCheckWriter address as the return address, and it will be printed on the top of the first page of your document.


If you need to provide a return address, this is ideal if you have multiple locations or are sending a PDF on behalf of a customer.

  1. {

        "name": "New Payee 21",

        "company": "Tyler Payment Technologist",

        "address1": "5007 richmond rd",

        "address2": "",

        "city": "Tyler",

        "state": "TX",

        "zip": "75701",

        "phone": "0000000000",

        "email": "support@onlinecheckwriter.com",

        "shippingTypeId": 3,

        "attachmentUrl": "https://onlinecheckwriter/samples/invoice/invoicesample.pdf",

        "attachmentTitle": "Invoice 1244",

        "fromAddress": {

            "name": "David Abraham 12",

            "company": "Tyler Payment Technologist",

            "address1": "5007 richmond rd",

            "address2": "",

            "city": "Tyler",

            "state": "TX",

            "zip": "75701",

            "phone": "9032457713"

        }

    }


If you prefer not to pass the "from" address every time, you can create it once and reuse it as needed.
  1. {

        "name": "New Payee 21",

        "company": "Tyler Payment Technologist",

        "address1": "5007 richmond rd",

        "address2": "",

        "city": "Tyler",

        "state": "TX",

        "zip": "75701",

        "phone": "0000000000",

        "email": "support@onlinecheckwriter.com",

        "shippingTypeId": 3,

        "attachmentUrl": "https://onlinecheckwriter/samples/invoice/invoicesample.pdf",

        "attachmentTitle": "Invoice 1244",

       "from_address_id":XAXFEE100

    }