# Simulate card production state change

Simulates a card production status change in the sandbox environment.

{% admonition type="warning" %}
Please ensure that you have created a physical card order with KIOSK_COLLECTION delivery method and that you produce the card before calling this endpoint to simulate various card production statuses.
{% /admonition %}

Endpoint: POST /v1/simulation/spend/profiles/{profileId}/cards/{cardToken}/production
Security: UserToken

## Path parameters:

  - `profileId` (integer, required)
    The profile ID.

  - `cardToken` (string, required)
    The card token.

## Header parameters:

  - `X-External-Correlation-Id` (string)
    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"

## Request fields (application/json):

  - `status` (string)
    The intended production status of the card.
    Enum: "PRODUCED", "PRODUCTION_ERROR"

  - `errorCode` (string)
    The [error code](/api-reference/card-kiosk-collection/cardkioskcollectionproduce) to simulate. This field should be set only if the status is PRODUCTION_ERROR.


## Response 200 fields
