const response = await fetch('https://service.pcibooking.net/api/paymentGateway', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://service.pcibooking.net/api/paymentGateway',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print(response.json())
[
{
"Name": "The name of the payment gateway",
"Description": "A description of the payment gateway",
"CredentialsNames": [
"An array of parameters required by the specific payment gateway for authentication"
]
},
{
"Name": "The name of the payment gateway",
"Description": "A description of the payment gateway",
"CredentialsNames": [
"An array of parameters required by the specific payment gateway for authentication"
]
},
{...}
]
{
"code": -160,
"message": "Uri not found",
"moreInfo": "Payment gateway not found",
"errorList": null
}
Additional Functions
Get Payment Gateways
Retrieve a list of supported payment gateways and their credential descriptions.
GET
/
api
/
paymentGateway
const response = await fetch('https://service.pcibooking.net/api/paymentGateway', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://service.pcibooking.net/api/paymentGateway',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print(response.json())
[
{
"Name": "The name of the payment gateway",
"Description": "A description of the payment gateway",
"CredentialsNames": [
"An array of parameters required by the specific payment gateway for authentication"
]
},
{
"Name": "The name of the payment gateway",
"Description": "A description of the payment gateway",
"CredentialsNames": [
"An array of parameters required by the specific payment gateway for authentication"
]
},
{...}
]
{
"code": -160,
"message": "Uri not found",
"moreInfo": "Payment gateway not found",
"errorList": null
}
Universal Payment Gateway Guide
Route payments through any supported gateway
For a human-readable, always-current list of supported gateways without calling the API, see the Universal Payment Gateway page. If a gateway isn’t listed there, it isn’t currently supported.
Error Responses
| Code | HTTP Status | Condition |
|---|---|---|
-160 | 404 | A specific gateway name was requested but does not exist. |
This is a public endpoint. No authentication is required.
Parameters
const response = await fetch('https://service.pcibooking.net/api/paymentGateway', {
headers: {
'Authorization': 'APIKEY your-api-key'
}
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://service.pcibooking.net/api/paymentGateway',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print(response.json())
Response
[
{
"Name": "The name of the payment gateway",
"Description": "A description of the payment gateway",
"CredentialsNames": [
"An array of parameters required by the specific payment gateway for authentication"
]
},
{
"Name": "The name of the payment gateway",
"Description": "A description of the payment gateway",
"CredentialsNames": [
"An array of parameters required by the specific payment gateway for authentication"
]
},
{...}
]
{
"code": -160,
"message": "Uri not found",
"moreInfo": "Payment gateway not found",
"errorList": null
}
⌘I

