Profiles routes

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 the profile management

Create a profile

This operation creates a profile

POST https://sandbox.oumla.com/api/v1/profiles

Headers

NameTypeDescription

x-api-key*

string

Request Body

NameTypeDescription

reference *

string

the id for that user

type*

ProfileType

it's the type of the user and it could be one of three types. User | Department | Merchant.

After the profile is created, a Bitcoin wallet is automaticity created. So no need to generate the wallet for bitcoin

Get Profiles

This operation creates a profile

GET https://sandbox.oumla.com/api/v1/profiles

Query Parameters

NameTypeDescription

skip*

number

to skip elements

limit*

number

to limit the return

Headers

NameTypeDescription

x-api-key*

string

After the profile is created, a Bitcoin wallet is automaticity created. So no need to generate the wallet for bitcoin

Last updated