Submit consent artifact
POST/gstn/consent/:ver/:lang
This API is used for receiving the consent artifact as per REBIT's AA specifications.
The consent must be digitally signed and contain all mandatory parameters including:
- Customer address from verify API response
- Link reference number and masked account number
- FI data range and fetch type (must be ONETIME)
- Valid consent start and expiry dates
Request
Responses
- 200
- 400
- 401
- 422
- 500
Consent artifact accepted
Invalid consent artifact or missing mandatory parameters
Unauthorized or invalid auth token
Consent validation failed
Internal server error