Skip to content

Instantly share code, notes, and snippets.

@kirkas
Created June 11, 2019 15:18
Show Gist options
  • Save kirkas/d6455d1b2b556edc70f2f4f48c27480e to your computer and use it in GitHub Desktop.
Save kirkas/d6455d1b2b556edc70f2f4f48c27480e to your computer and use it in GitHub Desktop.
API MOCK
# Request
GET 'api/v1/kyc_aml/identity_check'
params
secret: secret
identifier: {email: }
# alt: identifier: {twitter_handle: .. }
# alt: identifier: {id: .. }
# Response
{
id: integer,
identity_state: ['not_started', 'pending', 'verified', 'fraudulent'],
verified_at: datetime,
created_at: datetime
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment