Skip to content

A PHP interface implementation of the Blue Tarp Financial Authorization API.

License

Notifications You must be signed in to change notification settings

supplyhog/bt-auth-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bt-auth-php

A PHP interface implementation of the Blue Tarp Financial Authorization API.

Features

  • Use all current (as of V1) POST and GET methods of the Blue Tarp Financial Auth API.
  • All responses are in a PHP array, with only the relevant sections present.

Example Request

$bt = BlueTarp($yourMerchantNumber, $yourClientKey);

$auth = $bt->authorizeSale($purchaserTokenOrNumber, $dollarAmount);

$response = $auth['BT:MESSAGE'];

Auth Responses

[BT:CODE]
[BT:MESSAGE]
[BT:TRANSACTION]
[BT:AUTH-SEQ]
[BT:APPROVAL-CODE]

Customer Response

[BT:CUSTOMER] => Array
	[BT:NUMBER]
	[BT:NAME]
	[BT:STATUS]
	[BT:REASON]
	[BT:ADDRESS] => Array
		[BT:LINE1]
		[BT:CITY]
		[BT:STATE]
		[BT:ZIP]
	[BT:PURCHASERS] => Array
		[BT:PURCHASER] => Array
			[BT:LAST4]
			[BT:NAME]
			[BT:TOKEN]

Transaction Response

[BT:TRANSACTION] => Array
  [BT:AMOUNT]
  [BT:AUTH-SEQ]
  [BT:INVOICE]
  [BT:JOB-CODE]
  [BT:CUSTOMER] => Array
  	[BT:NUMBER]
  	[BT:NAME]
  	[BT:PURCHASERS] => Array
  		[BT:PURCHASER] => Array
  			[BT:LAST4]
  			[BT:NAME]
  			[BT:TOKEN]

Additional Information

About

A PHP interface implementation of the Blue Tarp Financial Authorization API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages