Skip to content
No description, website, or topics provided.
PHP
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Create create-check.php Nov 24, 2019
src Update index.php Nov 24, 2019
README.md Update README.md Nov 24, 2019
composer.json Update composer.json Nov 24, 2019

README.md

Onlinecheckwriter - Mail Check

onlinecheckwriter.com PHP Client is a simple but flexible wrapper for the onlinecheckwriter.com API. See full onlinecheckwriter.com documentation here.

Table of Contents

Getting Started

  • Complete registration
  • Get Token
  • Install package
  • You are ready to go.

Registration

Sandbox

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.

Live Enviorment

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.

Installation

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';

Usage

// 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");


Examples

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)

API Documentation

=======================

Mail Type

  • 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

You can’t perform that action at this time.