Developers
Be great, Integrate!
Demo
Account

Welcome to our new Developer Portal!

Our Developer Portal can be used to assist with programming integrations as well as for demo purposes. Shown below are some of the ways our Developer Portal can assist in getting integrated. Each request made to our sandbox servers using your assigned developer id will show up in the Developer Portal logs. This helps ensure your requests are being received as expected.

Request Inspector

Troubleshoot with ease.

Request

{
    "transaction": {
        "action": "authonly",
        "payment_method": "cc",
        "cvv": "999",
        "exp_date": "0525",
        "transaction_amount": "3935.784",
        "location_id": "11e642cdbf2b816ea0491742",
        "contact_id": "11e642d0c941b5949679c85e"
    }
}

Response

{
  "errors": {
    "account_number": [
      "Account number is required"
    ]
  }
}

Sample Code

Speed up your development.

PHP


$curl = curl_init();
$url = 'https://test.url/v2/transactions';
curl_setopt_array($curl, array(
    CURLOPT_URL => $url,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_POSTFIELDS => "{\n
    \"transaction\": {\n
            \"transaction_amount\": \"10\",\n
            \"location_id\": \"1111111111\",\n
            \"action\": \"sale\"\n
       }\n}",
    CURLOPT_HTTPHEADER => array(
        "content-type: application/json",
        "developer-id: dev-1234",
        "user-api-key: 2222222222222222",
        "user-id: 111111111111111"
    ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
    echo "cURL Error #:" . $err;
} else {
    echo $response;
}  

Work Together

Invite your team to collaborate.