Users
Get User Account Type
Changed onRetrieves the account roles of an individual or business user as an array — SENDER, plus RECIPIENT_FIAT / RECIPIENT_CRYPTO derived from the user's payout account identifiers. A user can hold several roles at once. The user must belong to the MID in the header and must have been created through the sender or recipient creation APIs. Call it after a role change to confirm the new role took effect.
get/v3/users/account-type
Request
- Base URLhttps://sandbox-api.transfi.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
userIdstring required
TransFi user ID, starting with UX-.
Headers
MIDstring required
Merchant or sub-merchant MID
Response
OK
Changes
- info
endpoint added
- info