新一代智能网关
一次快速简单的集成
只需几日而非几周就能接入全球最先进的网关
最高质量的服务
高可用、可扩展、可靠且兼备专家支持
最新的支付产品
简易、安全并能提高您的承兑率
一个懂你的API
更短的集成时间意味着您能拥有更多研发产品的时间。Access Worldpay易于开发,拥有您熟悉的编程语言的代码示例。
// Use our Checkout SDK to securely capture card details
// Initialize web SDK example
(function () {
var form = document.getElementById("card-form");
var clear = document.getElementById("clear");
Worldpay.checkout.init(
{
id: "MerchantID",
form: "#card-form",
fields: {
pan: {
selector: "#card-pan",
placeholder: "4444333322221111"
},
cvv: {
selector: "#card-cvv",
placeholder: "123"
},
expiry: {
selector: "#card-expiry",
placeholder: "MM/YY"
}
},
styles: {
"input": {
"color": "black",
"font-weight": "bold",
"font-size": "20px",
"letter-spacing": "3px"
},
"input#pan": {
"font-size": "24px"
},
"input.is-valid": {
"color": "green"
},
"input.is-invalid": {
"color": "red"
},
"input.is-onfocus": {
"color": "black"
}
},
accessibility: {
ariaLabel: {
pan: "my custom aria label for pan input",
expiry: "my custom aria label for expiry input",
cvv: "my custom aria label for cvv input"
},
lang: {
locale: "en-GB"
},
title: {
enabled: true,
pan: "my custom title for pan",
expiry: "my custom title for expiry date",
cvv: "my custom title for security code"
}
},
acceptedCardBrands: ["amex", "diners", "discover", "jcb", "maestro", "mastercard", "visa"]
},
function (error, checkout) {
if (error) {
console.error(error);
return;
}
form.addEventListener("submit", function (event) {
event.preventDefault();
checkout.generateSessionState(function (error, sessionState) {
if (error) {
console.error(error);
return;
}
// session state for card details
alert(sessionState);
});
});
clear.addEventListener("click", function(event) {
event.preventDefault();
checkout.clearForm(function() {
// trigger desired behaviour on cleared form
console.log('Form successfully cleared');
});
});
}
);
})();
// Take mobile wallet payments such as Apple Pay
// Apple Pay authorization request example
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace"
},
"value": {
"currency": "GBP",
"amount": 250
},
"paymentInstrument": {
"type": "card/wallet+applepay",
"walletToken": "{
\"version\": \"EC_v1\",
\"data\": \"kdHd..GQ==\",
\"signature\": \"MIAGCSqGSIb3DQEH...AAA\",
\"header\": {
\"transactionId\": \"d3b28af..f8\",
\"ephemeralPublicKey\": \"MFkwE..Q==\",
\"publicKeyHash\": \"dxCK..6o=\"
}
}"
}
}
}
// Set up and take recurring payments
// Recurring authorization example
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"narrative": {
"line1": "Mind Palace"
},
"paymentInstrument": {
"type": "card/plain",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 12,
"year": 2026
}
},
"value": {
"currency": "GBP",
"amount": 250
},
"intent": "subscription"
}
}
// Use tokens to minimize exposure of sensitive card details
// Create token request example
{
"description": "token-132435-abcdef",
"paymentInstrument": {
"type": "card/front",
"cardHolderName": "Sherlock Holmes",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 5,
"year": 2026
},
"billingAddress": {
"address1": "221B Baker Street",
"address2": "Marylebone",
"address3": "Westminster",
"postalCode": "NW1 6XE",
"city": "London",
"state": "Greater London",
"countryCode": "GB"
}
}
}
// Use our 3DS API to minimize fraud and benefit from liability shift
// 3DS authentication request example
{
"transactionReference": "Memory265-13/08/1876",
"merchant": {
"entity": "MindPalaceLtd"
},
"instruction": {
"paymentInstrument": {
"type": "card/front",
"cardHolderName": "Sherlock Holmes",
"cardNumber": "4444333322221111",
"cardExpiryDate": {
"month": 12,
"year": 2026
},
"billingAddress": {
"address1": "221B Baker Street",
"address2": "Marylebone",
"address3": "Westminster",
"postalCode": "NW1 6XE",
"city": "London",
"countryCode": "GB"
}
},
"value": {
"currency": "GBP",
"amount": 250
}
},
"deviceData": {
"collectionReference": "0_3XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX6b5",
"acceptHeader": "text/html",
"userAgentHeader": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0)"
},
"challenge": {
"returnUrl": "http://payment.mindpalace.com"
}
}
试用ACCESS WORLDPAY
可靠是我们的代名词
容错架构
全球故障转移网络为我们的系统增添了无与伦比的可靠性。一旦一台支付处理服务器出现故障,我们将立即运用我们全球网络中的另一台服务器处理支付。
可扩展的架构
无需为季节性高峰或业务性增长而烦恼。弹性的可扩展服务可以实时满足增长需求。
高可用的微服务
Access Worldpay拥有可分隔的结构,能在保留原功能正常使用的情况下添加新功能。
专家支持
实施经理、专属客户经理和其他支持人员为您提供服务。
DevOps原则
由开发人员为开发人员运维。没有尴尬的交接以及额外的跨团队沟通,只有可持续的开发进程以及更少的技术负累。
高可用、可扩展、可靠且兼备专家支持
浏览简介资料