Developer Center

Direct payments

Test Credit Card Account Numbers

Credit Card Type Credit Card Number
American Express419120198001016410
Visa4111111111111111
MasterCard5111111111111111
MasterCard5442728368495751

This table describes the request parameters to perform a payment

FieldValueRequirementNote
merchant_keyAlphanumeric API key (64 characters)RequiredAPI access key
fnameFirst NameRequiredex. Beverly
lnameLast NameRequiredex. Brower
emailEmail address (100 characters)RequiredEmail address
addressAddressRequiredex. 4987 Asylum Avenue
bdayDate of BirthRequiredex. 31/12/1984
countryCountryRequiredex. USA (2 characters)
card_holder_nameCard Holder NameRequiredex. Beverly C. Brower
card_typeCard TypeRequired1 - Visa
2 - Mastercard

card_noCardholder's Card NumberRequired
monthCardholder's Expiry Month (1-2 digits)Required
yearCardholder's Expiry Year (4 digits)Required
cvvCardholder's Security Code (3 digits)Required
phoneCardholder's Phone NumberRequiredThis field only accepts
numeric strings between
5 and 15 characters long
amountValid Dollar Amount (2 decimal places)Requiredex. 25.00
stateCardholder's StateRequiredThis field only accepts
numeric values.
cityCardholder's City of Residence (50 characters)Required
zip_codeCardholder's ZIP or Postal Code (10 characters)Required
orderidOrder number specified by you (100 characters)Optional
subscription_typeRECURRING FUNCTIONoptional - if you want to re-bill the client every X period
0=>'None',1=>'Monthly',2=>'Weekly',3=>'Daily',
4=>'Quarterly',5=>'Yearly',6=>'5 days',
7=>'100 days',8=>'180 days'
ipIPv4 Address of CustomerRequired
customNotes

The next table describes the fields returned in the responses.

FieldExample
orderid28550
statusDECLINED, APPROVED.
dateNov 30, 2017 8:44:45 AM
information_dataR0000:High risk
information_codeR0000
descriptorPay*systempro

Sample Code (PHP):

$url = “https://www.boltpay.nl/API_V2/make_transaction”;
$key = “38b8ccd5-3998-4ea5-a289-39aa7c380e7b”;
$data = array(
‘merchant_key’ => $key,
‘fname’ => “fname”,
‘lname’ => “lname”,
’email’ => “[email protected]”,
‘phone’ => “1234567891”,
‘country’ => “IN”,
‘state’ => “01”,
‘city’ => “Guntur”,
‘zip_code’ => “56001”,
‘bday’ => “28/08/1984”,
‘address’ => “Address 1”,
‘address2’ => “Address 2”,
‘subscription_type’ => “1”,
‘orderid’ => “198”,
“amount” => “50”,
“card_holder_name” => “demo”,
“card_no” => “4111111111111111”,
“card_type” => “Visa”,
“month” => “11”,
“year” => “2024”,
“cvv” => “123”,
“ip” => ”,
“custom”=>””
);

$ch= curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
print_r($response);
curl_close($ch);