---
title: "Create Scan Code"
method: POST
path: "/scan_codes"
tags: ["Scan Code"]
---

# Create Scan Code

`POST /scan_codes`

Called by the Independent Software Vendor. Returns a base64 encoded QR code.

## Headers

- `Authorization` string, api_id:api_token, required
- `Accept` string, required
- `Content-Type` string, required

## Response `201`

Success

- object
  - `id` string — identifier for the scan code in our system
  - `scan_code` string — base64 encode png image of scan code
  - `v` string — The API version that was used to handle the request.

## Other responses

- `4XX` — Possible errors - 1, 28, 29, 85, 106, 189, 223, 225, 226, 257, 259, 275, 276, 277, 278, 281, 282, 283, 284, 285
- `5XX` — Possible errors - 221

---

[API](https://skmtc.net/bankofamerica/apis/transaction-broker-api.md) · [All operations](https://skmtc.net/bankofamerica/apis/transaction-broker-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bankofamerica/transaction-broker-api/revisions/6097bc689e41/schema)
