POST /change-of-supplier/v2/{mpid}/withdraw
Withdraws an eligible, validated Change of Supplier gain request.
Request
Method and path:
POST /change-of-supplier/v2/{mpid}/withdraw
Headers:
X-API-KEYorAuthorization: Bearer <token>(one required). API key takes precedence when both are supplied.X-IDEMPOTENCY-KEY(required): non-empty string.
Path parameters:
mpid(required): string supplier MPID authorized for the authenticated tenant.
Body schema:
ChangeOfSupplierWithdrawalPayload.
{
"mpan": "1234567890123",
"supplierProcessId": "72f30f06-afcc-4ad8-8c1f-78e556ea9cbc"
}
The original CoS request must be validated, have a CSS2300 registration ID and registration status Pending or Confirmed. An existing withdrawal pending submission, requested or validated prevents another active withdrawal.
Response
Success:
202 Accepted.- Body type:
ChangeOfSupplierWithdrawalResponseData, with supplier-process metadata and withdrawal identifiers.
{
"request_id": "72f30f06-afcc-4ad8-8c1f-78e556ea9cbc",
"request_type": "change-of-supplier-withdrawal",
"request_status": "Pending",
"initiated_by": null,
"description": "Change of Supplier Withdrawal Process",
"created_at": "2026-09-25T10:00:00Z",
"last_updated_at": "2026-09-25T10:00:00Z",
"mpan_core": 1234567890123,
"withdrawal_id": "ea12efad-051c-4f03-a076-b8729675bddb",
"withdrawal_status": "PendingSubmission"
}
Notes:
request_ididentifies the original CoS process.- Acceptance queues CSS2100. Subsequent CSS responses determine the withdrawal outcome.
Other documented responses:
401/403for authentication or supplier-access failures.404for a missing CoS process.409for an ineligible request or an already-active withdrawal.422for an invalid payload or ownership mismatch.428for a missing idempotency key.500for processing failure; the feature gate can return501or503.
Field-level constraints: