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

# POST /credit_card/{creditcard_id}/mock/

`POST /credit_card/{creditcard_id}/mock/`

## Request

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

## Request body

- AddCreditCardMocksParameters
  - `mock` string, nullable, required

## Response `200`

Request fulfilled, document follows

- CreditCardMock
  - `mock` string, required
  - `id` integer, required

## Other responses

- `422`: Success

---

[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)
