Skip to main content
GET
Grant KYC access
This is a redirect endpoint, not a JSON API. Gateways redirect users here to request KYC permissions.

Flow

  1. Gateway redirects user to your /kyc/grant/{ocid} URL with query parameters
  2. You display a consent UI showing which permissions are requested
  3. User reviews and grants/denies each permission
  4. You redirect user back to the callback_url with the result

URL Parameters

Example Request URL

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 the callback_url with query parameters:

Successful Grant

Partial Grant

Denied

Implementation

Path Parameters

ocid
integer
required

The OCID requesting KYC access

Query Parameters

grants
string
required

Comma-separated list of permissions requested

user_ocid
integer
required

The end user's OCID whose KYC is being requested

callback_url
string<uri>
required

URL to redirect user after grant decision

state
string

Opaque state parameter returned in callback

Response

Redirect to KYC consent UI