---
title: "Get ATM code status for a payment"
method: GET
path: "/atm/code/{paymentId}"
---

# Get ATM code status for a payment

`GET /atm/code/{paymentId}`

Retrieves the ATM code status and code (if generated) for a specific payment

## Path parameters

- `paymentId` string, required

## Response `200`

ATM code status and code (if generated)

- object
  - `status` 'DONE' | 'PENDING' — Status of the ATM code (PENDING, DONE)
  - `atmCode` string — The ATM code (if generated)
  - `paymentId` string — ID of the payment

## Other responses

- `400` — Invalid payment ID
- `404` — Payment not found
- `500` — Internal server error

---

[API](https://skmtc.net/open-finance/apis/auth.md) · [All operations](https://skmtc.net/open-finance/apis/auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open-finance/auth/versions/b4d401b65c3d/schema)
