For AI agents: visit https://docs.transfi.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
- Create Individual User (API link):
curl --location 'https://sandbox-api.transfi.com/v3/users/individual' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--header 'mid: SAH1N3_NA_NA' \
--header 'Authorization: Basic ==' \
--data-raw '{
"firstName": "TestKYC user",
"lastName": "test",
"email": "[email protected]",
"phone": "77766668899",
"phoneCode": "+66",
"country": "CA",
"gender": "female",
"date": "12-04-2003",
"address": {
"street": "859 epic garden",
"city": "Los Angles",
"state": "CA",
"postalCode": "85912"
}
}'
{
"status": "success",
"data": {
"userId": "UX-250930062608488"
}
}
- Submit Standard KYC (API link):
curl --location 'https://sandbox-api.transfi.com/v3/kyc/standard' \
--header 'mid: SAH1N3_NA_NA' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ==' \
--data '{
"userId": "UX-260302072906658",
"redirectUrl": "https://example.com/standard-kyc-success"
}'
{
"status": "success",
"data": {
"userId": "UX-250910053447199",
"kycUrl": "https://sandbox-pay-widget.transfi.com/user/initiate-kyc?token=293f52-8408-234234-d5622342845"
}
}
- Create business user (API link):
curl --location 'https://sandbox-api.transfi.com/v3/users/business' \
--header 'accept: application/json' \
--header 'mid: SAH1N3_NA_NA' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ==' \
--data-raw '{
"businessName": "Natraj LLC",
"regNo": "8465476457",
"date": "25-12-2009",
"email": "[email protected]",
"phone": "999999666663",
"phoneCode": "+1",
"country": "TH",
"address": {
"street": "456 Oak Avenue",
"city": "Los Angeles",
"state": "CA",
"postalCode": "90210"
}
}'
{
"status": "success",
"data": {
"userId": "UX-250923133206832"
}
}
- Submit standard kyb (API link):
curl --location 'https://sandbox-api.transfi.com/v3/kyb/standard' \
--header 'Content-Type: application/json' \
--header 'mid: SAH1N3_NA_NA' \
--header 'Authorization: Basic ==' \
--data '{
"userId": "UX-260302073516534"
}
'
{
"status": "success",
"data": {
"userId": "UX-250923133206832",
"kybUrl": "https://sandbox-verify.transfi.com/?token=kyb-656f8eab-b4929655f6d81",
"expiresIn": "12h"
}
}