Grant KYC access
Endpoints
Grant KYC Access
UI endpoint for users to grant KYC data access to an OCID. Its recommended to onboard third party OCIDs who need KYC access from your users. see how merchant gateways onboard merchants
GET
Grant KYC access
This is a redirect endpoint, not a JSON API. Gateways redirect users here to request KYC permissions.
Flow
- Gateway redirects user to your
/kyc/grant/{ocid}URL with query parameters - You display a consent UI showing which permissions are requested
- User reviews and grants/denies each permission
- You redirect user back to the
callback_urlwith the result
URL Parameters
Example Request URL
Consent UI Requirements
Your consent UI must:- Clearly show which OCID is requesting access (fetch their metadata to display name/icon)
- List each requested permission with a clear description
- Allow users to grant or deny individual permissions
- Show what data will be shared for each permission
- Require explicit user action (no auto-approve)
Callback Response
After the user makes their decision, redirect to thecallback_url with query parameters:
Successful Grant
Partial Grant
Denied
Implementation
Path Parameters
The OCID requesting KYC access
Query Parameters
Comma-separated list of permissions requested
The end user's OCID whose KYC is being requested
URL to redirect user after grant decision
Opaque state parameter returned in callback
Response
Redirect to KYC consent UI