const response = await fetch('https://service.pcibooking.net/api/eWalletAccounts', {
method: 'GET',
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const credentials = await response.json();
credentials.forEach(cred => {
console.log(cred.credentialsId, cred.name);
});
import requests
response = requests.get(
'https://service.pcibooking.net/api/eWalletAccounts',
headers={'Authorization': 'APIKEY your-api-key'}
)
credentials = response.json()
for cred in credentials:
print(cred['credentialsId'], cred['name'])
[
{
"credentialsId": "my-googlepay",
"name": "GooglePay"
},
{
"credentialsId": "my-applepay",
"name": "ApplePay"
}
]
{
"code": -125,
"message": "Bad input data",
"moreInfo": "...",
"errorList": null
}
Library Account Management
List Digital Wallet Credentials
Retrieve a list of all stored digital wallet credential IDs.
GET
/
api
/
eWalletAccounts
const response = await fetch('https://service.pcibooking.net/api/eWalletAccounts', {
method: 'GET',
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const credentials = await response.json();
credentials.forEach(cred => {
console.log(cred.credentialsId, cred.name);
});
import requests
response = requests.get(
'https://service.pcibooking.net/api/eWalletAccounts',
headers={'Authorization': 'APIKEY your-api-key'}
)
credentials = response.json()
for cred in credentials:
print(cred['credentialsId'], cred['name'])
[
{
"credentialsId": "my-googlepay",
"name": "GooglePay"
},
{
"credentialsId": "my-applepay",
"name": "ApplePay"
}
]
{
"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, or user type is not Booker. |
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/eWalletAccounts', {
method: 'GET',
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const credentials = await response.json();
credentials.forEach(cred => {
console.log(cred.credentialsId, cred.name);
});
import requests
response = requests.get(
'https://service.pcibooking.net/api/eWalletAccounts',
headers={'Authorization': 'APIKEY your-api-key'}
)
credentials = response.json()
for cred in credentials:
print(cred['credentialsId'], cred['name'])
Response
[
{
"credentialsId": "my-googlepay",
"name": "GooglePay"
},
{
"credentialsId": "my-applepay",
"name": "ApplePay"
}
]
{
"code": -125,
"message": "Bad input data",
"moreInfo": "...",
"errorList": null
}

