const requestID = 'ITGdnzZuR7hQOI583EUB8U9vC3aPjuoV';
const response = await fetch(
`https://service.pcibooking.net/api/capturecard/${requestID}`,
{
method: 'DELETE',
headers: {
'Authorization': 'APIKEY your-api-key'
}
}
);
console.log('Deleted:', response.status === 200);
import requests
request_id = 'ITGdnzZuR7hQOI583EUB8U9vC3aPjuoV'
response = requests.delete(
f'https://service.pcibooking.net/api/capturecard/{request_id}',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print('Deleted:', response.status_code == 200)
Card entry form deleted successfully. No content returned.
Empty response body.
Authentication failed: the API key, session token or access token is missing or was not accepted.
See "Authentication and Permission Failures" on the Error Handling page.
Session-Based Card Entry Form
Delete Card Entry Form
Delete a card entry form session created via the API.
DELETE
/
api
/
capturecard
/
{RequestID}
const requestID = 'ITGdnzZuR7hQOI583EUB8U9vC3aPjuoV';
const response = await fetch(
`https://service.pcibooking.net/api/capturecard/${requestID}`,
{
method: 'DELETE',
headers: {
'Authorization': 'APIKEY your-api-key'
}
}
);
console.log('Deleted:', response.status === 200);
import requests
request_id = 'ITGdnzZuR7hQOI583EUB8U9vC3aPjuoV'
response = requests.delete(
f'https://service.pcibooking.net/api/capturecard/{request_id}',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print('Deleted:', response.status_code == 200)
Card entry form deleted successfully. No content returned.
Empty response body.
Authentication failed: the API key, session token or access token is missing or was not accepted.
See "Authentication and Permission Failures" on the Error Handling page.
Hosted Card Entry Form Guide
API session approach for embedded card capture
Error Responses
| Code | HTTP Status | Condition |
|---|---|---|
| none | 401 | Missing or invalid API key in the Authorization header. The response body is empty. |
| N/A | 403 | The session belongs to a different user than the authenticated API key. |
| N/A | 404 | Card entry form session with the specified RequestID was not found. |
Parameters
Authentication
API key only. This endpoint does not accept access tokens or session tokens.string
required
Your API key prefixed with
APIKEY. Example: APIKEY your-api-key. The x-pcibooking-api-key header is also accepted. See the Authentication guide.Path Parameters
string
required
The request ID returned from Create Card Entry Form session.
const requestID = 'ITGdnzZuR7hQOI583EUB8U9vC3aPjuoV';
const response = await fetch(
`https://service.pcibooking.net/api/capturecard/${requestID}`,
{
method: 'DELETE',
headers: {
'Authorization': 'APIKEY your-api-key'
}
}
);
console.log('Deleted:', response.status === 200);
import requests
request_id = 'ITGdnzZuR7hQOI583EUB8U9vC3aPjuoV'
response = requests.delete(
f'https://service.pcibooking.net/api/capturecard/{request_id}',
headers={
'Authorization': 'APIKEY your-api-key'
}
)
print('Deleted:', response.status_code == 200)
Response
200 - Session deleted successfully. 404 - Session not found.Card entry form deleted successfully. No content returned.
Empty response body.
Authentication failed: the API key, session token or access token is missing or was not accepted.
See "Authentication and Permission Failures" on the Error Handling page.

