Api Documentation

Complete guide to integrating Max-Apis into your application.

Authentication

Three ways to authenticate the API by key:

Total Gateways and Their Usage :

GATE 1 : AUTHORIZE.NET 0$ AUTH

It Validate a card using card data and proxy.

Parameters

ParameterRequiredDescription
keyYesServer API key
ccYesccn/mm/yy/cvv
pxYesProxy: host:port

Example 1 : Query Parameter Authentication

GET /check?key=YOUR_KEY&cc=4532123456789010&px=127.0.0.1:8080 HTTP/1.1 Host: xapis.pro

Example 2 : X-API-Key Header Authentication

GET /check?cc=4532123456789010&px=127.0.0.1:8080 HTTP/1.1 Host: xapis.pro X-API-Key: YOUR_KEY

Live Response

{ "proxy_ip": "192.126.138.127", "result": { "member": { "memberusername": "NatureLover" } }, "status": "ok" }

Decline Response

{ "proxy_ip": "192.126.138.127", "result": { "message": "[E00027] This transaction has been declined." }, "status": "ok" }

Proxy Not Working Response [ 400 ]

{ "status": "error", "message": "Proxy is not working or format mismatch." }

GATE 2 : STRIPE KEY BASED

Advanced Card Validation using Stripe Keys.

Live Response

{ "success": true, "status": "succeeded", "setup_intent": "seti_1234567890abcdef" }

3ds Response

{ "success": false, "status": "requires_action", "setup_intent": "seti_1234567890abcdef", "client_secret": "seti_1234567890abcdef_secret_key", "requires_action": true }

Dead Response

{"error":"Your card was declined.","type":"Stripe\\Exception\\CardException"}