# Simulate approve provisioning

**POST** `/simulate/issuing/cards/tokens/{card_token_id}/approve-provisioning`

Simulate a digital wallet's provisioning request for a card token in `pending_activation` status, as returned by the
token eligibility check. Set `wallet_type` to `apple_pay`, `google_pay`, or `samsung_pay` to attribute the token to a
wallet.

Set `action_code` to `approve`, `decline`, or `step_up` to force the decision without calling your
`decision.issuing.card_token` endpoint. When it is omitted, the decision flows through Column's real provisioning
decisioning, including that endpoint. A `step_up` decision also simulates the step-up methods and send passcode
callbacks when the cardholder has contact info on file, leaving the token ready for step-up completion.

### Path Parameters

- `card_token_id` `string` _(required)_ — Unique identifier for the card token.

### Body Parameters

- `action_code` `string` — Network-specific action code to apply to the provisioning decision.
- `device_name` `string` — A human-readable identifier for the device requesting provisioning.
- `device_type` `enum` — The category of device requesting provisioning.
  Possible values: `mobile_phone`, `tablet`, `watch`
- `token_requestor_name` `string` — Name of the entity that initiated the provisioning request.
- `token_type` `string` — The type of payment token being provisioned.
- `wallet_type` `string` — The wallet provider (e.g. `apple_pay`, `google_pay`).

**Request**

```shell
curl 'https://api.column.com/simulate/issuing/cards/tokens/<card_token_id>/approve-provisioning' \
  -XPOST \
  -u :<YOUR API KEY> \
  -H 'Content-Type: application/json' \
  -d '{
  "action_code": "example_action_code",
  "device_name": "Example device name",
  "device_type": "mobile_phone",
  "token_requestor_name": "Example token requestor name",
  "token_type": "example_token_type",
  "wallet_type": "example_wallet_type"
}'
```

**Response 200**

```json
{
  "card_account_id": "cacc_2x8gszy5folpA9s0TOCseE9ABDM",
  "card_id": "card_2x8gszy5folpA9s0TOCseE9ABDM",
  "card_program_id": "cpgm_2x8gszy5folpA9s0TOCseE9ABDM",
  "created_at": "2024-01-15T09:30:00Z",
  "device_name": "iPhone",
  "device_type": "mobile_phone",
  "id": "ctkn_2x8gszy5folpA9s0TOCseE9ABDM",
  "network_token_reference_id": "DNITHE302312345678901234",
  "status": "active",
  "token_type": "wallet",
  "wallet_type": "apple_pay"
}
```
