Developer

API

API (Redirect v1.5)

User manual

Sample Code


<!DOCTYPE html> <html> 
<head>
<title>GB Prime Pay</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div>Merchant Payment</div> <div>
<form action="https://api.gbprimepay.com/gbp/gateway/pay" method="post"> <div>
<label>Token: </label>
<input type="text" name="token" value="xxxxx" /> </div>
<div>
<label>Amount: </label>
<input type="text" name="amount" value="10.00" />
</div> <div>
<label>Response URL: </label>
<input type="text" name="responseUrl" value="http://test.com" /> </div>
<div>
<label>Detail: </label>
<input type="text" name="detail" value="money" />
</div> <div>
<label>Reference No: </label>
<input type="text" name="referenceNo" value="2017112800001" /> </div>
<div>
<label>Pay Type: </label>
<input type="radio" name="payType" value="F" checked="checked" /> Full <input type="radio" name="payType" value="I" /> Installment
</div> <div>
<button type="submit">Pay</button> </div>
<div>
<label>Response URL: </label>
<input type="text" name="responseUrl" value="http://test.com" /> </div>
</form> </div>
</body> </html>

API (Direct message)

User manual

Sample Code


{
"token": "R0JQcmltZVBheQ==",
"amount": 100.00,
"referenceNo": "20171128001",
"detail": "t-shirt",
"customerName": "John",
"customerEmail": "example@gbprimepay.com", "merchantDefined1": "Promotion", "merchantDefined2": null,
"merchantDefined3": null,
"merchantDefined4": null,
"merchantDefined5": null,
"card": {
"number": "4242424242424242", "expirationMonth": "01", "expirationYear": "2025", "securityCode": "111",
"name": "Card Test" }
}

PrestaShop plugin

coming soon