Role Change
Change Individual User Role
Changed onStep 2 of the role change flow, for users created as individuals. Grants the user the additional role targetRole - for example promoting an individual recipient to a sender. Call POST /v3/role-change/mandatory-fields first and send the fields it names. Use POST /v3/role-change/business for users created as organizations.
post/v3/role-change/individual
Request
- Base URLhttps://sandbox-api.transfi.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
MIDstring required
Merchant or sub-merchant MID
Request body
Example request
{
"targetRole": "sender",
"userId": "UX-260326115551596837",
"currencyType": "fiat",
"email": "john.doe@example.com",
"phone": "9876543210",
"phoneCode": "+91",
"dob": "21-08-1994"
}Response
OK
Changes
- info
endpoint added
- info