Profiles routes
Last updated
Last updated
Profiles play a central role, acting as the core for wallets, addresses, and transactions. When integrating a user into your system for blockchain interaction, having a wallet is key.
Profiles establish a direct link between your system's users and their corresponding wallets in ours. Creating a profile involves sending the user type and a reference, such as a UUID or email. This reference is necessary for tasks like generating addresses and handling transactions.
Here are routes for profile management.
POST
https://sandbox.oumla.com/api/v1/profiles
x-api-key*
string
The API key generated from Oumla's dashboard
reference *
string
Any identifer for this user this could be the UUID for the user or profile
type*
ProfileType
One of the profile types.
User
| Department
| Merchant
Sample code of the request:
The expected response:
GET
https://sandbox.oumla.com/api/v1/profiles
skip
number
to skip a certain number of rows
limit
number
to get a certain number of rows
x-api-key*
string
The API key generated from Oumla's dashboard
Sample code of the request:
The expected response: