Agency Ancillaries Service Virtual Sandbox
Manage and process ancillary service refunds for travel agency bookings.
The Agency Ancillaries API allows travel agents to service ancillary documents, specifically focusing on EMD (Electronic Miscellaneous Document) refund workflows.
Use this hosted sandbox to simulate Agency Ancillaries Service APIs without authentication, API keys, or extra dependencies. Point your code or SDK to the Beeceptor base URL, preferably through an environment variable or feature flag, and switch back to the production API when ready.
This keeps your integration code consistent across local development, QA, demos, and production.
Use cases:
Use this sandbox to validate ancillary refund requests, EMD document processing, refund eligibility logic, and error handling for service-related financial transactions before integrating with live Sabre ticketing systems.
Refund Ancillaries
POST
{
"documents": [
{
"document": {
"pnrTicketingItem": {
"pnrLocator": "oVumiI",
"ticketingItemLineNumber": 73
}
},
"documentRefId": "DOC-0",
"refundQualifiers": {
"cancelPenalty": {
"amount": "250.75",
"currencyCode": "GHS"
},
"commission": {
"percentage": "20.00"
},
"waiverCode": "1TLVs8RPeAMP"
}
}
],
"transactionId": "YUDUDWAX-10487909"
}{
"errors": [
{
"category": "BAD_REQUEST",
"description": "Document not found in PNR.",
"fieldName": "amount",
"fieldPath": "documents.documentRefId",
"fieldValue": "FOgIi",
"type": "49002"
},
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Invalid request data provided.",
"fieldName": "currencyCode",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "lbrPn",
"type": "40004"
},
{
"category": "UNAUTHORIZED",
"description": "Currency code invalid.",
"fieldName": "amount",
"fieldPath": "documents.documentRefId",
"fieldValue": "rGCqN",
"type": "49001"
}
],
"results": [
{
"documentRefId": "DOC-5",
"errors": [
{
"category": "BAD_REQUEST",
"description": "Document not found in PNR.",
"fieldName": "currencyCode",
"fieldPath": "documents.documentRefId",
"fieldValue": "YWhK2",
"type": "49002"
},
{
"category": "UNAUTHORIZED",
"description": "Invalid request data provided.",
"fieldName": "documentRefId",
"fieldPath": "documents.documentRefId",
"fieldValue": "E1pnD",
"type": "50001"
},
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Internal processing error.",
"fieldName": "pnrLocator",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "RdgUq",
"type": "49001"
},
{
"category": "UNAUTHORIZED",
"description": "Currency code invalid.",
"fieldName": "pnrLocator",
"fieldPath": "documents.documentRefId",
"fieldValue": "BslB7",
"type": "49001"
},
{
"category": "UNAUTHORIZED",
"description": "Currency code invalid.",
"fieldName": "transactionId",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "gx3yF",
"type": "49001"
}
],
"informational": [
{
"domainId": "PriceRefund",
"messageText": "EMD REFUND TRANSACTION PROCESSED",
"reasonId": "REQ Validation: 94520"
},
{
"domainId": "AncillaryHandling",
"messageText": "EMD REFUND TRANSACTION PROCESSED",
"reasonId": "REQ Validation: 43037"
}
],
"newPnrLocator": "EqYHcf",
"status": "Not Processed"
},
{
"documentRefId": "DOC-5",
"errors": [
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Document not found in PNR.",
"fieldName": "documentRefId",
"fieldPath": "documents.documentRefId",
"fieldValue": "r8PW2",
"type": "50001"
},
{
"category": "UNAUTHORIZED",
"description": "Internal processing error.",
"fieldName": "documentRefId",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "PPu21",
"type": "40004"
},
{
"category": "BAD_REQUEST",
"description": "Internal processing error.",
"fieldName": "currencyCode",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "3sTXs",
"type": "49002"
},
{
"category": "BAD_REQUEST",
"description": "Currency code invalid.",
"fieldName": "documentRefId",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "9wX0H",
"type": "50001"
}
],
"informational": [
{
"domainId": "AgencyService",
"messageText": "EMD REFUND TRANSACTION PROCESSED",
"reasonId": "REQ Validation: 89923"
},
{
"domainId": "AncillaryHandling",
"messageText": "EMD REFUND TRANSACTION PROCESSED",
"reasonId": "REQ Validation: 08842"
},
{
"domainId": "AncillaryHandling",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 16406"
},
{
"domainId": "PriceRefund",
"messageText": "TRANSACTION SUCCESSFUL",
"reasonId": "REQ Validation: 02062"
}
],
"newPnrLocator": "peanMO",
"status": "Not Processed"
}
],
"transactionId": "{{transactionId}}"
}Service Homepage: developer.sabre.com/rest-api/agency-ancillaries-service-api/1.0
sabretravelancillariesrefundsticketing