Consent

Read consent (business)

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.

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

Request body

businessIdstring uuid required

The business to read consent for.

Example request

{
  "businessId": "1c2f6f0a-9c1e-4f57-9f1e-6a2b7c1d0e2f"
}

Response

The stored consent record, or null when never recorded.

businessIdstring uuid required

Example response

{
  "businessId": "1c2f6f0a-9c1e-4f57-9f1e-6a2b7c1d0e2f",
  "paymentAccountConsent": {
    "accepted": true,
    "dateAccepted": "2026-09-11T12:00:00.000Z",
    "ip": "198.51.100.9",
    "termsUri": "https://yourapp.example/legal/payment-account-terms",
    "termsVersion": "2026-08-v1"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.