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": "sMepIL",
"ticketingItemLineNumber": 2
}
},
"documentRefId": "DOC-1",
"refundQualifiers": {
"cancelPenalty": {
"amount": "200.00",
"currencyCode": "BDT"
},
"commission": {
"percentage": "20.00"
},
"waiverCode": "Q9XNazwa7XJ3"
}
}
],
"transactionId": "FQZTXHOY-37174551"
}{
"errors": [
{
"category": "NOT_FOUND",
"description": "Document not found in PNR.",
"fieldName": "transactionId",
"fieldPath": "documents.documentRefId",
"fieldValue": "kQ4u7",
"type": "49001"
},
{
"category": "NOT_FOUND",
"description": "Missing required parameter.",
"fieldName": "amount",
"fieldPath": "documents.documentRefId",
"fieldValue": "64Wo3",
"type": "49001"
},
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Invalid request data provided.",
"fieldName": "pnrLocator",
"fieldPath": "documents.documentRefId",
"fieldValue": "2x1uF",
"type": "49001"
}
],
"results": [
{
"documentRefId": "DOC-5",
"errors": [
{
"category": "NOT_FOUND",
"description": "Invalid request data provided.",
"fieldName": "transactionId",
"fieldPath": "documents.documentRefId",
"fieldValue": "qKpWi",
"type": "50001"
},
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Missing required parameter.",
"fieldName": "amount",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "wPyPW",
"type": "49002"
},
{
"category": "UNAUTHORIZED",
"description": "Internal processing error.",
"fieldName": "currencyCode",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "s9vZJ",
"type": "49002"
},
{
"category": "BAD_REQUEST",
"description": "Currency code invalid.",
"fieldName": "documentRefId",
"fieldPath": "documents.documentRefId",
"fieldValue": "c1u1O",
"type": "49001"
}
],
"informational": [
{
"domainId": "AgencyService",
"messageText": "EMD REFUND TRANSACTION PROCESSED",
"reasonId": "REQ Validation: 78196"
}
],
"newPnrLocator": "uZLfJZ",
"status": "Not Processed"
},
{
"documentRefId": "DOC-0",
"errors": [
{
"category": "BAD_REQUEST",
"description": "Missing required parameter.",
"fieldName": "amount",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "0GRBC",
"type": "49001"
},
{
"category": "BAD_REQUEST",
"description": "Internal processing error.",
"fieldName": "transactionId",
"fieldPath": "documents.documentRefId",
"fieldValue": "2pzWP",
"type": "49001"
},
{
"category": "BAD_REQUEST",
"description": "Currency code invalid.",
"fieldName": "documentRefId",
"fieldPath": "documents.documentRefId",
"fieldValue": "jToH5",
"type": "49001"
},
{
"category": "NOT_FOUND",
"description": "Internal processing error.",
"fieldName": "transactionId",
"fieldPath": "documents.documentRefId",
"fieldValue": "urOXZ",
"type": "40004"
},
{
"category": "UNAUTHORIZED",
"description": "Currency code invalid.",
"fieldName": "pnrLocator",
"fieldPath": "documents.documentRefId",
"fieldValue": "7Kcig",
"type": "49001"
}
],
"informational": [
{
"domainId": "PriceRefund",
"messageText": "TRANSACTION SUCCESSFUL",
"reasonId": "REQ Validation: 97226"
},
{
"domainId": "AncillaryHandling",
"messageText": "TRANSACTION SUCCESSFUL",
"reasonId": "REQ Validation: 91148"
}
],
"newPnrLocator": "TJdXEz",
"status": "Not Processed"
},
{
"documentRefId": "DOC-3",
"errors": [
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Currency code invalid.",
"fieldName": "amount",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "eL3w0",
"type": "50001"
},
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Invalid request data provided.",
"fieldName": "currencyCode",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "MynD8",
"type": "50001"
}
],
"informational": [
{
"domainId": "AgencyService",
"messageText": "TRANSACTION SUCCESSFUL",
"reasonId": "REQ Validation: 99375"
},
{
"domainId": "AgencyService",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 60015"
},
{
"domainId": "PriceRefund",
"messageText": "TRANSACTION SUCCESSFUL",
"reasonId": "REQ Validation: 56317"
},
{
"domainId": "AncillaryHandling",
"messageText": "EMD REFUND TRANSACTION PROCESSED",
"reasonId": "REQ Validation: 45295"
}
],
"newPnrLocator": "iYEomO",
"status": "Not Processed"
},
{
"documentRefId": "DOC-0",
"errors": [
{
"category": "INTERNAL_SERVER_ERROR",
"description": "Internal processing error.",
"fieldName": "amount",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "0PHWI",
"type": "49001"
}
],
"informational": [
{
"domainId": "PriceRefund",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 21060"
},
{
"domainId": "AncillaryHandling",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 61458"
},
{
"domainId": "AncillaryHandling",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 54886"
},
{
"domainId": "PriceRefund",
"messageText": "EMD REFUND TRANSACTION PROCESSED",
"reasonId": "REQ Validation: 92449"
},
{
"domainId": "PriceRefund",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 29202"
}
],
"newPnrLocator": "fphmXZ",
"status": "Success"
},
{
"documentRefId": "DOC-2",
"errors": [
{
"category": "UNAUTHORIZED",
"description": "Invalid request data provided.",
"fieldName": "documentRefId",
"fieldPath": "documents.documentRefId",
"fieldValue": "GbCae",
"type": "40004"
},
{
"category": "BAD_REQUEST",
"description": "Document not found in PNR.",
"fieldName": "currencyCode",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "N9IxM",
"type": "49001"
},
{
"category": "BAD_REQUEST",
"description": "Document not found in PNR.",
"fieldName": "amount",
"fieldPath": "documents.refundQualifiers.commission.amount.currencyCode",
"fieldValue": "LA0ND",
"type": "40004"
}
],
"informational": [
{
"domainId": "AgencyService",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 34330"
},
{
"domainId": "AncillaryHandling",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 17851"
},
{
"domainId": "AncillaryHandling",
"messageText": "REFUND REQUEST RECEIVED",
"reasonId": "REQ Validation: 40857"
}
],
"newPnrLocator": "SCCZdI",
"status": "Not Processed"
}
],
"transactionId": "{{transactionId}}"
}Service Homepage: developer.sabre.com/rest-api/agency-ancillaries-service-api/1.0
sabretravelancillariesrefundsticketing