Consent
Record consent (business)
Records the business's acceptance of the Payment Account terms, given by its director / primary user in your application. Consent is recorded once for the business entity, not per member.
Send the real businessId — not a sub-admin id.
Semantics match the consumer endpoint: re-posting replaces the record wholesale, "accepted": false withdraws consent, ip defaults to the request's source IP (pass the end user's IP explicitly from your backend), and dateAccepted defaults to the server time.
post/business/payment-account/consent
Request
- Base URLhttps://www.sandbox.striga.com/api/v1
- URLhttps://www.sandbox.striga.com/api/v1/business/payment-account/consent
- AuthAPI key in header api-key and API key in header Authorization
Request body
Example request
{
"businessId": "1c2f6f0a-9c1e-4f57-9f1e-6a2b7c1d0e2f",
"accepted": true,
"termsVersion": "2026-08-v1",
"termsUri": "https://yourapp.example/legal/payment-account-terms",
"dateAccepted": "2026-09-11T12:00:00.000Z",
"ip": "198.51.100.9"
}Response
Consent recorded. The response echoes the stored record.
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.