const response = await fetch('https://service.pcibooking.net/api/eWalletOperation', {
method: 'GET',
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const wallets = await response.json();
wallets.forEach(wallet => {
console.log(wallet.Name, wallet.MerchantAccountPropertyNames);
});
import requests
response = requests.get(
'https://service.pcibooking.net/api/eWalletOperation',
headers={'Authorization': 'APIKEY your-api-key'}
)
wallets = response.json()
for wallet in wallets:
print(wallet['Name'], wallet['MerchantAccountPropertyNames'])
[
{
"Name": "GooglePay",
"MerchantAccountPropertyNames": [
"MerchantId",
"MerchantName"
]
},
{
"Name": "ApplePay",
"MerchantAccountPropertyNames": [
"MerchantId",
"DomainName",
"DisplayName"
]
}
]
{
"code": -125,
"message": "Bad input data",
"moreInfo": "...",
"errorList": null
}
Library Account Management
Retrieve Digital Wallet Credential Structure
Retrieve the list of supported digital wallets and the required credential format for each.
GET
/
api
/
eWalletOperation
const response = await fetch('https://service.pcibooking.net/api/eWalletOperation', {
method: 'GET',
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const wallets = await response.json();
wallets.forEach(wallet => {
console.log(wallet.Name, wallet.MerchantAccountPropertyNames);
});
import requests
response = requests.get(
'https://service.pcibooking.net/api/eWalletOperation',
headers={'Authorization': 'APIKEY your-api-key'}
)
wallets = response.json()
for wallet in wallets:
print(wallet['Name'], wallet['MerchantAccountPropertyNames'])
[
{
"Name": "GooglePay",
"MerchantAccountPropertyNames": [
"MerchantId",
"MerchantName"
]
},
{
"Name": "ApplePay",
"MerchantAccountPropertyNames": [
"MerchantId",
"DomainName",
"DisplayName"
]
}
]
{
"code": -125,
"message": "Bad input data",
"moreInfo": "...",
"errorList": null
}
Payments Library Credentials Guide
Configure credentials for Payments Library integrations
Error Responses
| Code | HTTP Status | Condition |
|---|---|---|
-1003 | 401 | API key is missing or invalid. |
Parameters
Headers
string
required
Your API key prefixed with
APIKEY. Example: APIKEY your-api-key. See the Authentication guide.const response = await fetch('https://service.pcibooking.net/api/eWalletOperation', {
method: 'GET',
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const wallets = await response.json();
wallets.forEach(wallet => {
console.log(wallet.Name, wallet.MerchantAccountPropertyNames);
});
import requests
response = requests.get(
'https://service.pcibooking.net/api/eWalletOperation',
headers={'Authorization': 'APIKEY your-api-key'}
)
wallets = response.json()
for wallet in wallets:
print(wallet['Name'], wallet['MerchantAccountPropertyNames'])
Response
The response contains an object for each supported digital wallet, listing the required credential fields inMerchantAccountPropertyNames.
[
{
"Name": "GooglePay",
"MerchantAccountPropertyNames": [
"MerchantId",
"MerchantName"
]
},
{
"Name": "ApplePay",
"MerchantAccountPropertyNames": [
"MerchantId",
"DomainName",
"DisplayName"
]
}
]
{
"code": -125,
"message": "Bad input data",
"moreInfo": "...",
"errorList": null
}

