How to process server to server credit card payments

Use our API documentation to process a direct credit card payment.

What is 3D Secure

Debit / Credit cards Supported for server to server direct payments
Visa 3D verified by Visa and NON 3D
MASTERCARD 3D secure code and NON 3D
MAESTO Only 3D
American Express NON 3D = No Safekey
BANCONTACT Only 3D

POST - /v1/json/authorise3d

{
  "type": "direct",
  "gateway": "CREDITCARD",
  "order_id": "order-1",
  "currency": "EUR",
  "amount": 1000,
  "description": "product description",
  "payment_options": {
    "notification_url": "http://example.com/?type=notification",
    "redirect_url": "http://example.com/?type=redirect",
    "cancel_url": "http://example.com/?type=cancel",
    "close_window": true
  },
  "customer": {
    "locale": "nl",
    "ip_address": "127.0.0.1",
    "forwarded_ip": "",
    "first_name": "Testperson-nl",
    "last_name": "Approved",
    "address1": "Neherkade",
    "address2": "",
    "house_number": "XI",
    "zip_code": "2521VA",
    "city": "Gravenhage",
    "state": "",
    "country": "NL",
    "email": "[email protected]",
    "referrer": "http://example.com",
    "user_agent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36"
  },
  "gateway_info": {
    "card_number": "67034500054610005",
    "card_holder_name": "Test Holder Name",
    "card_expiry_date": "1612",
    "cvc": "123",
    "term_url": "http://example.com/?type=term"
  }
}

API Enrolled Success Responses

{
  "success": true,
  "data": {
    "html_3d": "<html>....</html>",
    "reference_id": "89UZWtGRtZQXX2VafI4fuO8ivgfF1DMfjBM",
    "enrolled": true,
    "params": {
      "MD": "XXXXXXXXXX",
      "PaReq": "XXXXXXXXXXXXXXXXXXXX",
      "TermUrl": "http://example.com/?type=term&reference_id=89UZWtGRtZQXX2VafI4fuO8ivgfF1DMfjBM",
      "AcsUrl": "https://creditacard-bank-url.com"
    }
  }
}