Consent
Read consent (consumer)
Returns the stored Payment Account consent record for a user. paymentAccountConsent is null when consent has never been recorded.
Note this read endpoint is a POST, like the rest of the Striga API.
post/user/payment-account/consent/get
Request
- Base URLhttps://www.sandbox.striga.com/api/v1
- URLhttps://www.sandbox.striga.com/api/v1/user/payment-account/consent/get
- AuthAPI key in header api-key and API key in header Authorization
Request body
Example request
{
"userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}Response
The stored consent record, or null when never recorded.
Example response
{
"userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"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.