---
title: "Read consent (business)"
method: POST
path: "/business/payment-account/consent/get"
tags: ["Consent"]
---

# Read consent (business)

`POST /business/payment-account/consent/get`

## Request

- Base URL: `https://www.sandbox.striga.com/api/v1`
- URL: `https://www.sandbox.striga.com/api/v1/business/payment-account/consent/get`
- Auth: API key in header `api-key` and API key in header `Authorization`

Returns the stored Payment Account consent record for a business. `paymentAccountConsent` is `null` when consent has never been recorded.

Note this read endpoint is a `POST`, like the rest of the Striga API. Send the real `businessId` — not a sub-admin id.

## Request body

- object
  - `businessId` string, uuid, required: The business to read consent for.

## Response `200`

The stored consent record, or `null` when never recorded.

- BusinessConsentNullableResponse
  - `businessId` string, uuid, required
  - `paymentAccountConsent` ConsentRecord, required: The stored consent record. Optional fields are present only when they were supplied (or defaulted) on the recording call.
    - `accepted` boolean, required
    - `dateAccepted` string, date-time, required
    - `ip` string
    - `termsUri` string, uri
    - `termsVersion` string

## Other responses

- `400`: Validation failure (`errorCode` `00002`), or the business does not exist (`errorCode` `30005`).
- `401`: Missing or invalid `api-key` or HMAC signature.
- `403`: `errorCode` `30042`: your application does not have the `BUSINESS_GET_PAYMENT_ACCOUNT_CONSENT` permission. `errorCode` `30043` / `32017`: the business's account status blocks the call (inaccessible / terminated).
- `404`: `errorCode` `30005`: the business was not found in this application.

---

[API](https://skmtc.dev/striga/apis/payment-accounts-third-party-payments.md) - [All operations](https://skmtc.dev/striga/apis/payment-accounts-third-party-payments/llms.txt) - [OpenAPI document](https://skmtc.dev/striga/apis/payment-accounts-third-party-payments/revisions/61bef9935c6d?raw)
