onlinecheckwriter.com PHP Client is a simple but flexible wrapper for the onlinecheckwriter.com API. See full onlinecheckwriter.com documentation here.
- Complete registration
- Get Token
- Install package
- You are ready to go.
First, you will need to create an account at sandbox.onlinecheckwriter.com and obtain your Test API Key.
Once you have created an account, you can access your API Keys from the Developer Panel.
First, you will need to create an account at app.onlinecheckwriter.com and obtain your Live API Key.
Once you have created an account, you can access your API Keys from the Developer Panel.
The recommended way to install onlinecheckwriter.com PHP Client is through Composer.
// Install Composer
curl -sS https://getcomposer.org/installer | php
// Add onlinecheckwriter.com PHP client as a dependency
composer require onlinecheckwriter/mailcheck
After installing, you need to require Composer's autoloader:
require_once __DIR__ . '/vendor/autoload.php';
// setToken
// setEnviorment : SANDBOX
use onlinecheckwriter\MailCheck\Index;
$ocw = (new Index());
$ocw->setToken("G5LoP94QISpOvk6i072yXDFBPwSjRS01foqlYPdVdYJ7li2NRkvzuHvYIzif")
$ocw->setEnviorment("SANDBOX");
// setToken
// setEnviorment : LIVE
use onlinecheckwriter\MailCheck\Index;
$ocw = (new Index());
$ocw->setToken("YOUR API TOKEN")
$ocw->setEnviorment("LIVE");
We've provided various examples for you to try out here.
There are simple scripts to demonstrate how to create all the core onlinecheckwriter objects (checks, sent mail)
=======================
- 1 = First Class Mail
- 2 = First Class with Tracking
- 4 = USPS Priority Mail
- 5 = USPS Express Mail
- 6 = Fedex express saver
- 11 = Fedex 2 days shipping
- 11 = Fedex Standard Overnight
- 13 = Fedex Priority Overnight
Copyright © 2019 onlinecheckwriter.com