---
title: "Query OFAC"
method: POST
path: "/v1/clients/{ClientID}/ofac"
tags: ["OFAC"]
---

# Query OFAC

`POST /v1/clients/{ClientID}/ofac`

Returns the OFAC Match Codes.

## Path parameters

- `ClientID` string, required

## Request body

- QueryOfac
  - `name` object, required — Name of Entity
    - `first` string, required — First Name
    - `last` string, required — Last Name
  - `requestID` string, uuid, required — WatchDog Request Identifier. 1-32 characters.
  - `birthYear` string — Birth Year. YYYY format.
  - `country` string — [3-digit Country Code](https://developers.tabapay.com/reference/country-codes#/)

## Response `200`

The OFAC Match Codes are returned.

- QueryOfacResponse
  - `SC` integer — [HTTP Status Code](https://developers.tabapay.com/reference/http-status-codes#/)
  - `EC` string — Internal Error Code. This is used to help TabaPay team members trace an error.
  - `ofacMatchCodes` string — `N` for No Hit. `H` for Hit.
  - `ofacValue` string — To be used in [Create Transaction](https://developers.tabapay.com/reference/transactioncreate#/) (`ofacValue`)

## Other responses

- `207` — Unable to contact WatchDog.

---

[API](https://skmtc.dev/tabapay/apis/tabapay-apis.md) · [All operations](https://skmtc.dev/tabapay/apis/tabapay-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tabapay/tabapay-apis/revisions/154fa3d585cf/schema)
