API Documentation

POST /consents

Send us the consumer’s consent. Note that this request does not have a JWT in the headers, and must be executed from your frontend application.

Note: Multiple calls with the same “usecase” for the same Person will result in only the most recent consent to be stored.

Headers

NAME VALUE
Content-type application/json

Body

NAME VALUE
signature string. Must be generated from GET /consents/signature.
usecase string. Valid are: “banking”, “auth”, “income”, “paymeback”.
text string. The language the consumer has accepted.

Response status

CODE VALUE
200 OK
403 Not authorized (signature not valid).
400 Bad input (usecase or text).