User creation and KYC
Create a user
- Create Individual User
curl --request POST \ --url https://sandbox-api.transfi.com/v2/users/individual \ --header 'accept: application/json' \ --header 'authorization: Basic YXNkZjo=' \ --header 'content-type: application/json' \ --data ' { "email": "[email protected]", "firstName": "John", "lastName": "Doe", "date": "20-01-1992", "country": "US", "gender": "male", "phone": "123412340" } '
{ "userId": "UX-123123123123" }
Submit KYC - Submit Standard KYC
curl --request POST \ --url https://sandbox-api.transfi.com/v2/kyc/standard \ --header 'accept: application/json' \ --header 'authorization: Basic YXNkZjo=' \ --header 'content-type: application/json' \ --data ' { "country": "US", "email": "[email protected]", "firstName": "John", "lastName": "Doe", "redirectUrl": "https://helloworld.co.in/kyc/success" } '
{ "redirectUrl": "https://pay-widget.transfi.com/user/initiate-kyc?token=TOKEN", "userId": "UX-1231231253213" }
Updated 2 days ago