Role Change
Change Business User Role
Changed onStep 2 of the role change flow, for users created as organizations. Grants the user the additional role targetRole - for example promoting a business recipient to a sender. Call POST /v3/role-change/mandatory-fields first and send the fields it names. Use POST /v3/role-change/individual for users created as individuals.
post/v3/role-change/business
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": "finance@randombusiness.com",
"phone": "9876543210",
"phoneCode": "+91"
}Response
OK
Changes
- info
endpoint added
- info