Canada Post NC Shipment Service Virtual Sandbox
SOAP-based service for managing non-contract shipment workflows.
The NCShipmentService provides a SOAP interface for managing non-contract shipments within the Canada Post ecosystem. It supports operations for creating shipments, retrieving shipment details, generating receipts, and requesting refunds, allowing developers to integrate shipping logistics into their applications.
Use this hosted sandbox to simulate Canada Post NC Shipment 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 service to validate shipment creation payloads, verify receipt generation, test refund request workflows, and handle shipment retrieval logic for non-contract mailing services without interacting with live Canada Post systems.
Canada Post NC Shipment Service virtual sandbox is up and running!
Use this sandbox URL as the API base in your code to simulate Canada Post NC Shipment Service responses instantly.
https://canada-ncshipment.mock.beeceptor.com
Operations:(7)
CreateNCShipment
View
SOAP Action: http://www.canadapost.ca/ws/soap/ncshipment/v4/CreateNCShipment
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><create-non-contract-shipment-request xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><mailed-by>{{faker 'string.numeric' '{"length":6}'}}</mailed-by><locale>{{oneOf 'fr' 'en'}}</locale><platform-id>{{faker 'string.numeric' '{"length":5}'}}</platform-id><non-contract-shipment><requested-shipping-point>{{faker 'string.alphanumeric' '{"length":6,"casing":"upper"}'}}</requested-shipping-point><delivery-spec><service-code>{{faker 'string.alpha' '{"length":1,"casing":"upper"}'}}</service-code><sender><name>{{faker 'person.fullName'}}</name><company>{{faker 'company.name'}}</company><contact-phone>{{faker 'phone.number' '{"style":"national"}'}}</contact-phone><address-details><address-line-1>{{faker 'location.streetAddress'}}</address-line-1><address-line-2>{{faker 'location.streetAddress'}}</address-line-2><city>{{faker 'location.city'}}</city><prov-state>{{faker 'location.state' '{"abbreviated":true}'}}</prov-state><postal-zip-code>{{faker 'location.zipCode'}}</postal-zip-code></address-details></sender><destination><name>{{faker 'person.fullName'}}</name><company>{{faker 'company.name'}}</company><additional-address-info>{{faker 'commerce.productAdjective'}}</additional-address-info><client-voice-number>{{faker 'phone.number' '{"style":"national"}'}}</client-voice-number><address-details><address-line-1>{{faker 'location.streetAddress'}}</address-line-1><address-line-2>{{faker 'location.streetAddress'}}</address-line-2><city>{{faker 'location.city'}}</city><prov-state>{{faker 'location.state' '{"abbreviated":true}'}}</prov-state><country-code>{{faker 'location.countryCode' '{"variant":"alpha-2"}'}}</country-code><postal-zip-code>{{faker 'location.zipCode'}}</postal-zip-code></address-details></destination><parcel-characteristics><weight>{{faker 'number.int' '{"min":1,"max":500}'}}</weight><document>{{oneOf 'true' 'false'}}</document><unpackaged>{{oneOf 'true' 'false'}}</unpackaged><mailing-tube>{{oneOf 'true' 'false'}}</mailing-tube></parcel-characteristics><notification><email>{{faker 'internet.email'}}</email><on-shipment>{{oneOf 'true' 'false'}}</on-shipment><on-exception>{{oneOf 'true' 'false'}}</on-exception><on-delivery>{{oneOf 'true' 'false'}}</on-delivery></notification><preferences><show-packing-instructions>{{oneOf 'true' 'false'}}</show-packing-instructions><show-postage-rate>{{oneOf 'true' 'false'}}</show-postage-rate><show-insured-value>{{oneOf 'true' 'false'}}</show-insured-value></preferences><references><cost-centre>{{faker 'string.alphanumeric' '{"length":8}'}}</cost-centre><customer-ref-1>{{faker 'string.alphanumeric' '{"length":10}'}}</customer-ref-1><customer-ref-2>{{faker 'string.alphanumeric' '{"length":10}'}}</customer-ref-2></references><customs><currency>{{faker 'finance.currencyCode'}}</currency><conversion-from-cad>{{faker 'number.float' '{"min":0.5,"max":2.0,"fractionDigits":2}'}}</conversion-from-cad><reason-for-export>{{oneOf 'gift' 'sale' 'return'}}</reason-for-export><other-reason>{{faker 'commerce.productDescription'}}</other-reason><duties-and-taxes-prepaid>{{faker 'number.float' '{"min":0,"max":100,"fractionDigits":2}'}}</duties-and-taxes-prepaid><certificate-number>{{faker 'string.alphanumeric' '{"length":8}'}}</certificate-number><licence-number>{{faker 'string.alphanumeric' '{"length":8}'}}</licence-number><invoice-number>{{faker 'string.alphanumeric' '{"length":8}'}}</invoice-number><ioss-id>{{faker 'string.alphanumeric' '{"length":7}'}}</ioss-id><us-declaration-id>{{faker 'string.alphanumeric' '{"length":5}'}}</us-declaration-id></customs><settlement-info><promo-code>{{faker 'string.alphanumeric' '{"length":6}'}}</promo-code></settlement-info></delivery-spec><create-public-key>{{oneOf 'true' 'false'}}</create-public-key><create-qr-code>{{oneOf 'true' 'false'}}</create-qr-code></non-contract-shipment></create-non-contract-shipment-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><create-non-contract-shipment-response xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><non-contract-shipment-info><shipment-id>{{faker 'string.uuid'}}</shipment-id><tracking-pin>{{faker 'string.numeric' '{"length":16}'}}</tracking-pin><artifacts>{{#repeat (faker 'number.int' '{"min":1,"max":3}') comma=false}}<artifact type="self"><artifact-id>{{faker 'string.uuid'}}</artifact-id><page-index>{{faker 'number.int' '{"min":1,"max":5}'}}</page-index></artifact>{{/repeat}}</artifacts></non-contract-shipment-info></create-non-contract-shipment-response></soap:Body></soap:Envelope>GetNCShipment
View
SOAP Action: http://www.canadapost.ca/ws/soap/ncshipment/v4/GetNCShipment
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipment-request xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><mailed-by>{{faker 'number.int' '{"min":1,"max":9}'}}</mailed-by><locale>{{oneOf 'eN' 'fR'}}</locale><platform-id>{{faker 'string.numeric' '{"length":8}'}}</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":10}'}}</shipment-id></get-non-contract-shipment-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipment-response xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><non-contract-shipment-info><shipment-id>{{faker 'string.alphanumeric' '{"length":10}'}}</shipment-id><tracking-pin>{{faker 'string.numeric' '{"length":16}'}}</tracking-pin><artifacts>{{#repeat (faker 'number.int' '{"min":1,"max":3}') comma=false}}<artifact type="self"><artifact-id>{{faker 'string.uuid'}}</artifact-id><page-index>{{faker 'number.int' '{"min":1,"max":5}'}}</page-index></artifact>{{/repeat}}</artifacts></non-contract-shipment-info></get-non-contract-shipment-response></soap:Body></soap:Envelope>GetNCShipmentDetails
View
SOAP Action: http://www.canadapost.ca/ws/soap/ncshipment/v4/GetNCShipmentDetails
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipment-details-request xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><mailed-by>{{faker 'string.numeric' '{"length":6}'}}</mailed-by><locale>{{oneOf 'Fr' 'En'}}</locale><platform-id>{{faker 'string.numeric' '{"length":10}'}}</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":12}'}}</shipment-id></get-non-contract-shipment-details-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipment-details-response xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><non-contract-shipment-details><final-shipping-point>{{faker 'location.zipCode'}}</final-shipping-point><tracking-pin>{{faker 'string.numeric' '{"length":16}'}}</tracking-pin><refund-request-info><service-ticket-date>{{now 'iso'}}</service-ticket-date><service-ticket-id>{{faker 'string.alphanumeric' '{"length":8}'}}</service-ticket-id></refund-request-info></non-contract-shipment-details></get-non-contract-shipment-details-response></soap:Body></soap:Envelope>GetNCShipmentReceipt
View
SOAP Action: http://www.canadapost.ca/ws/soap/ncshipment/v4/GetNCShipmentReceipt
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipment-receipt-request xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><mailed-by>{{faker 'string.numeric' '{"length":10}'}}</mailed-by><locale>{{oneOf 'en-CA' 'fr-CA'}}</locale><platform-id>{{faker 'string.numeric' '{"length":6}'}}</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":10}'}}</shipment-id></get-non-contract-shipment-receipt-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipment-receipt-response xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><non-contract-shipment-receipt><final-shipping-point>{{faker 'location.zipCode'}}</final-shipping-point><shipping-point-name>{{faker 'location.city'}}</shipping-point-name><shipping-point-id>{{faker 'string.alphanumeric' '{"length":8}'}}</shipping-point-id><mailed-by-customer>{{faker 'string.numeric' '{"length":5}'}}</mailed-by-customer><service-code>{{faker 'string.alpha' '{"length":3,"casing":"upper"}'}}</service-code><rated-weight>{{faker 'number.float' '{"min":1,"max":50,"fractionDigits":2}'}}</rated-weight><base-amount>{{faker 'finance.amount' '{"min":10,"max":200,"dec":2}'}}</base-amount><pre-tax-amount>{{faker 'finance.amount' '{"min":10,"max":200,"dec":2}'}}</pre-tax-amount><gst-amount>{{faker 'finance.amount' '{"min":0,"max":20,"dec":2}'}}</gst-amount><pst-amount>{{faker 'finance.amount' '{"min":0,"max":20,"dec":2}'}}</pst-amount><hst-amount>{{faker 'finance.amount' '{"min":0,"max":20,"dec":2}'}}</hst-amount></non-contract-shipment-receipt></get-non-contract-shipment-receipt-response></soap:Body></soap:Envelope>GetNCShipments
View
SOAP Action: http://www.canadapost.ca/ws/soap/ncshipment/v4/GetNCShipments
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipments-request xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><mailed-by>{{faker 'number.int' '{"min":0,"max":999999}'}}</mailed-by><locale>{{oneOf 'En' 'Fr'}}</locale><platform-id>{{faker 'string.numeric' '{"length":6}'}}</platform-id><from>{{now '{days:-7}' 'iso'}}</from><to>{{now 'iso'}}</to><tracking-pin>{{faker 'string.alphanumeric' '{"length":16}'}}</tracking-pin></get-non-contract-shipments-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipments-response xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><non-contract-shipments>{{#repeat (faker 'number.int' '{"min":1,"max":5}') comma=false}}<shipment-id>{{faker 'string.alphanumeric' '{"length":16}'}}</shipment-id>{{/repeat}}</non-contract-shipments></get-non-contract-shipments-response></soap:Body></soap:Envelope>RequestNCShipmentRefund
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v4/RequestNCShipmentRefund
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><request-non-contract-shipment-refund-request xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><mailed-by>904508</mailed-by><locale>EN</locale><platform-id>5</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":10}'}}</shipment-id><non-contract-shipment-refund-request><email>{{faker 'internet.email'}}</email></non-contract-shipment-refund-request></request-non-contract-shipment-refund-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><request-non-contract-shipment-refund-response xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><non-contract-shipment-refund-request-info><service-ticket-date>{{now 'iso'}}</service-ticket-date><service-ticket-id>{{faker 'string.uuid'}}</service-ticket-id></non-contract-shipment-refund-request-info></request-non-contract-shipment-refund-response></soap:Body></soap:Envelope>GetNCShipmentPublicKeyInfo
View
SOAP Action: http://www.canadapost.ca/ws/soap/shipment/v4/GetNCShipmentPublicKeyInfo
Request Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipment-public-key-info-request xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><mailed-by>{{faker 'string.numeric' '{"length":6}'}}</mailed-by><mobo>{{faker 'string.numeric' '{"length":6}'}}</mobo><locale>{{oneOf 'en' 'fr'}}</locale><platform-id>{{faker 'string.numeric' '{"length":9}'}}</platform-id><shipment-id>{{faker 'string.alphanumeric' '{"length":12}'}}</shipment-id></get-non-contract-shipment-public-key-info-request></soap:Body></soap:Envelope>Response Envelope
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><get-non-contract-shipment-public-key-info-response xmlns="http://www.canadapost.ca/ws/soap/ncshipment/v4"><non-contract-shipment-public-key-info><expiry-date>{{now '{days:7}' 'iso'}}</expiry-date><url>{{faker 'internet.url'}}</url><qr-code>{{faker 'string.alphanumeric' '{"length":20}'}}</qr-code></non-contract-shipment-public-key-info></get-non-contract-shipment-public-key-info-response></soap:Body></soap:Envelope>canada-postshippingsoapwsdllogistics