Skip to content

Simulate a sanction case

Request

Simulates the creation or closure of a sanction case for testing partner integrations.

When status is OPEN, a new sanction case is created with the specified type and subtype. When status is CLOSE, an existing case (identified by caseId) is closed with the specified reason.

This endpoint is only available in sandbox environments.

Security
UserToken
Headers
X-External-Correlation-Idstring, (uuid), <= 36 characters

Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.

Example:f47ac10b-58cc-4372-a567-0e02b2c3d479
Bodyapplication/jsonrequired
transferIdinteger, (int64)required

The ID of the transfer associated with the sanction case.

profileIdinteger, (int64)required

The profile ID linked to the transfer.

sanctionTypestringrequired

The type of sanction. Currently only SANCTION is supported.

Value:"SANCTION"
simulationSanctionSubTypestring

The specific subtype of sanction case to simulate. Required when sanctionType is SANCTION.

  • REFERENCE_SANCTION_HIT: Sanction hit on the transfer reference/sender
  • RECIPIENT_SANCTION_HIT: Sanction hit on the recipient
  • REFERENCE_LOCATION_HIT: Location-based hit on the reference/sender
  • RECIPIENT_LOCATION_HIT: Location-based hit on the recipient
  • DEPOSIT_SANCTION_HIT: Sanction hit on an incoming deposit
Enum:"REFERENCE_SANCTION_HIT""RECIPIENT_SANCTION_HIT""REFERENCE_LOCATION_HIT""RECIPIENT_LOCATION_HIT""DEPOSIT_SANCTION_HIT"
statusstringrequired

The action to perform.

  • OPEN: Create a new sanction case
  • CLOSE: Close an existing sanction case
Enum:"OPEN""CLOSE"
caseIdinteger, (int64)

The self-service case ID to close. Required when status is CLOSE. When status is OPEN, this can optionally be provided to specify the case ID; otherwise, one will be auto-generated.

closingReasonstring

The reason for closing the case. Required when status is CLOSE.

  • EXPIRED: The case expired without resolution
  • INVALIDATED: The case was determined to be invalid
  • ABORTED: The case was aborted/cancelled
  • COMPLETED: The case was successfully resolved
Enum:"EXPIRED""INVALIDATED""ABORTED""COMPLETED"
curl -i -X POST \
  https://api.wise.com/2026Q4/simulation/sanction-cases \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-External-Correlation-Id: f47ac10b-58cc-4372-a567-0e02b2c3d479' \
  -d '{
    "transferId": 12345678,
    "profileId": 98765432,
    "sanctionType": "SANCTION",
    "simulationSanctionSubType": "REFERENCE_SANCTION_HIT",
    "status": "OPEN"
  }'

Responses

Sanction case successfully closed.

Headers
X-External-Correlation-Idstring, (uuid), <= 36 characters

Echoed back when X-External-Correlation-Id was included in the request. Learn more.

Example:"f47ac10b-58cc-4372-a567-0e02b2c3d479"
x-trace-idstring

Unique trace identifier assigned by Wise. Useful when contacting support about a specific request.

Example:"fba501b6d453b96789f52338f019341f"
Bodyapplication/json
eventIdstring, (uuid)

The unique identifier for this simulation event.

caseIdinteger, (int64)

The ID of the case in the partner support system. May be null if the case hasn't been fully processed yet.

Example:
{ "eventId": "550e8400-e29b-41d4-a716-446655440000", "caseId": 42 }
Response
{ "eventId": "550e8400-e29b-41d4-a716-446655440001", "caseId": 42 }