Using for Transactions

Using the Vault for Transactions

Charge a Vaulted Customer

$post = array(
    'security_key'      => YOUR_PRIVATE_KEY,
    'type'              => 'sale',
    'amount'            => '49.99',
    'customer_vault_id' => 'CUST-12345',
    'order_id'          => 'ORDER-' . time(),
);

Auth + Capture Pattern

// Authorize
$post = array('security_key' => YOUR_PRIVATE_KEY, 'type' => 'auth',
              'amount' => '49.99', 'customer_vault_id' => 'CUST-123');
$result = gateway_post($post);
$txid = $result['transactionid'];

// Capture later (within 30 days)
$post = array('security_key' => YOUR_PRIVATE_KEY, 'type' => 'capture',
              'transactionid' => $txid, 'amount' => '49.99');

Response Fields

FieldDescription
response1=Approved, 2=Declined, 3=Error
transactionidUnique transaction ID
authcodeCard network authorization code
avsresponseAddress Verification result
cvvresponseCVV check result

Take Your Business to the Next Level

Find out how our innovative payment solutions can benefit your business. Reach out to us for more information or to get started!

Let's Get Started