---
title: "GET /credit_card/{creditcard_id}"
method: GET
path: "/credit_card/{creditcard_id}"
tags: ["credit_card"]
---

# GET /credit_card/{creditcard_id}

`GET /credit_card/{creditcard_id}`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/credit_card/{creditcard_id}`
- Auth: API key in header `Authorization`

## Response `202`

Credit card was updated.

- DetailedCreditCardSchema
  - `id` integer
  - `card_number` string, required
  - `card_expiration_date` string, date, required
  - `card_holder_name` string, required
  - `card_type` 'VISA' | 'MASTER_CARD' | 'AMERICAN_EXPRESS' | 'UATP' | 'DINERS' | 'AIR_PLUS' | 'AMEX_BTA' | 'AMEX_BTA_GERMANY' | 'CARTE_BLANCHE' | 'CHINA_UNION_PAY' | 'DISCOVER' | 'EURO' | 'FORBRUGSFORENINGSKORT' | 'JAPANESE_CREDIT_BUREAU_CREDIT' | 'MAESTRO', required
  - `card_name` string, required
  - `card_data` CreditCardData (unresolved $ref)
  - `allow_use_my_card` boolean
  - `related_to` 'traveler' | 'company', required
  - `used_for_package_payment` boolean
  - `accounting_unit` boolean
  - `action_code` boolean
  - `internal_account` boolean
  - `cost_center` boolean
  - `department` boolean
  - `employee_id` boolean
  - `project_code` boolean
  - `purchase_order_number` boolean
  - `default_for_fees` boolean
  - `usage_allowed_for` 'country' | 'invoice_profile', required
  - `available_only_for_travel_arrangers` boolean, required
  - `permitted_for_flights` boolean, required
  - `permitted_for_hotels` boolean, required
  - `permitted_for_cars` boolean, required
  - `permitted_for_fees` boolean, required
  - `permitted_for_trains` boolean, required
  - `status` 'draft' | 'active' | 'invalid' | 'failed' | 'invalid_airplus'
  - `created_by` integer
  - `created_dt` string, date-time
  - `cvc_exist` boolean

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
