Ramp
Submit KYC information
Changed onSubmits available KYC fields. The Chainrails KYC engine determines whether text validation, external verification, or both are required.
post/ramp/kyc
Request
- Base URLhttps://api.chainrails.io/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"provider": "YELLOW_CARD",
"userEmail": "user@example.com",
"countryCode": "NG",
"fiatCurrency": "NGN",
"fields": {
"first_name": "John",
"last_name": "Doe",
"date_of_birth": "1990-01-01",
"BVN": "12345678901"
},
"callbackUrl": "https://app.example.com/kyc/complete",
"cryptoAmount": 25
}Response
Updated KYC state after submission
Changes
- breaking
added the new required request property
- warning
removed the request property
- warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new
YELLOW_CARDenum value to the request property
- breaking
- info
endpoint added
- info