Ramp

Get user KYC state

Changed on

Returns the Chainrails KYC state and transaction requirements for a user.

get/ramp/kyc

Request

Query parameters

provider'FONBNK' | 'ONRAMP_MONEY' | 'GUARDARIAN' | 'YELLOW_CARD' required

The ramp provider to query KYC state for

userEmailstring required
Example:user@example.com

The end-user's email address

countryCodestring required
Example:NG

ISO 3166-1 alpha-2 transaction/corridor country. This does not update the user’s country of residence.

fiatCurrencystring required
Example:NGN

ISO 4217 fiat currency code

cryptoAmountnumber
Example:25

Amount of crypto (USDC) the user intends to receive. When provided, the response includes requiredKycType and canProceed.

Response

KYC state

Changes