const response = await fetch('https://service.pcibooking.net/api/credentials', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://service.pcibooking.net/api/credentials',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print(response.json())
[
"my-stripe-credentials",
"my-adyen-credentials",
"hotel-booking-gateway"
]
{
"code": -125,
"message": "Bad input data",
"moreInfo": "...",
"errorList": null
}
Gateway Credentials
List Payment Gateway Credentials
Retrieve a list of all stored payment gateway credentials.
GET
/
api
/
credentials
const response = await fetch('https://service.pcibooking.net/api/credentials', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://service.pcibooking.net/api/credentials',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print(response.json())
[
"my-stripe-credentials",
"my-adyen-credentials",
"hotel-booking-gateway"
]
{
"code": -125,
"message": "Bad input data",
"moreInfo": "...",
"errorList": null
}
Gateway Credentials Guide
Store and manage payment gateway credentials
Error Responses
| Code | HTTP Status | Condition |
|---|---|---|
-1003 | 401 | API key is missing or invalid. |
-1003 | 401 | User type is not Booker. |
-125 | 400 | Bad input data. |
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/credentials', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://service.pcibooking.net/api/credentials',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print(response.json())
Response
[
"my-stripe-credentials",
"my-adyen-credentials",
"hotel-booking-gateway"
]
{
"code": -125,
"message": "Bad input data",
"moreInfo": "...",
"errorList": null
}

