User creation
Individual user creation
- 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" }
Business user creation
- 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" }
Updated 4 days ago