
Consent Management
Fayda national ID consent capture and the inbound registry webhook. Served through the Kong API gateway: sign in with POST /v1/auth/login (A2C - Identity & Access) and send 'Authorization: Bearer <token>'.
Endpoints
8 APIs- Sign in to try
Search for a farmer by national ID
GET/v1/consent/farmers - Sign in to try
List approved consent reasons
GET/v1/consent/reasons - Sign in to try
List the partner's allowed data fields
GET/v1/consent/allowed-fields - Sign in to try
Get allowed field ids
GET/v1/consent/partners/me/allowed-field-ids - Sign in to try
Request a verification code
POST/v1/consent/otp - Sign in to try
Verify a one-time code
POST/v1/consent/otp/verify - Sign in to try
Submit a signed consent request
POST/v1/consent/requests - Sign in to try
Receive a consent decision
POST/v1/webhooks/consent-data