User creation and KYC/KYB

Individual user

Create 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 'MID: ABCDEF_NA_NA' \
         --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 'MID: ABCDEF_NA_NA' \
         --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"
    }


Business user

Create User

  • Create business user
    curl --request POST \
         --url https://sandbox-api.transfi.com/v2/users/business \
         --header 'accept: application/json' \
         --header 'authorization: Basic dHJhbnNmaV9x=' \
         --header 'MID: ABCDEF_NA_NA' \
         --header 'content-type: application/json' \
         --data '
    {
      "email": "[email protected]",
      "businessName": "Tech Solutions LLC",
      "country": "US",
      "regNo": "987654321",
      "date": "20-01-2001",
      "phone": "551234567"
    }
    '
    {
      "userId": "UX-2508191502353588576"
    }

Submit KYB

  • Submit standard kyb
    curl --request POST \
         --url https://sandbox-api.transfi.com/v2/kyb/standard \
         --header 'accept: application/json' \
         --header 'authorization: Basic dHJhbnNmaV9xYT=' \
         --header 'MID: ABCDEF_NA_NA' \
         --header 'content-type: application/json' \
         --data '
    {
      "email": "[email protected]"
    }
    '
    {
        "link": "https://sandbox-verify.transfi.com/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbnRpdHlJZCI6IlHDUSAIADJDO.DHHSS.VYLTI1MDgwNDExMjIy",
        "expiresIn": "12h"
    }