Wallets

Wallets

Get a list of wallet for the organization

get
Query parameters
per_pageintegerOptional

Number of transactions per page

Example: 15
Responses
200

Successful response

application/json
get
/api/organizations/{organization}/wallets

Create a new wallet for the organization

post
Path parameters
organizationintegerRequired

Organization ID

Example: 1
Body
namestringRequired

Wallet Name

Example: 1
Responses
post
/api/organizations/{organization}/wallets

Get wallet details with assignments

get

Returns detailed information about a wallet including its assignments to workspaces and organization users

Authorizations
Path parameters
organizationstring · uuidRequired

Organization UUID

walletstring · uuidRequired

Wallet UUID

Responses
200

Wallet details retrieved successfully

application/json
get
/api/organizations/{organization}/wallets/{wallet}

Update wallet details

put
Path parameters
organizationintegerRequired

Organization ID

Example: 1
walletintegerRequired

Wallet ID

Example: 1
Body
namestringRequired

Wallet Name

Example: Updated Wallet Name
statusstringOptional

Wallet Status

Example: Active
Responses
200

Wallet updated successfully

application/json
put
/api/organizations/{organization}/wallets/{wallet}

Transfer amount between wallets within the same organization

post
Path parameters
organizationintegerRequired

Organization ID

Example: 1
Body
from_wallet_idintegerRequired

Source wallet ID

Example: 1
to_wallet_idintegerRequired

Destination wallet ID

Example: 2
servicestring · enumRequired

Type of service

Example: smsPossible values:
amountintegerRequired

Amount to transfer

Example: 100
Responses
200

Successful transfer

application/json
post
/api/organizations/{organization}/wallets/transfer

Get wallet transactions

get

Retrieves paginated list of wallet transactions ordered by ID descending

Authorizations
Path parameters
organizationinteger · int64Required

Organization ID

walletinteger · int64Required

Wallet ID

Query parameters
pageintegerOptional

Page number

Default: 1
Responses
200

Successful operation

application/json
get
/api/organizations/{organization}/wallets/{wallet}/transactions

Get wallet transactions

get

Retrieves paginated list of wallet transactions ordered by ID descending

Authorizations
Path parameters
organizationinteger · int64Required

Organization ID

walletinteger · int64Required

Wallet ID

Query parameters
pageintegerOptional

Page number

Default: 1
Responses
200

Successful operation

application/json
get
/api/organizations/{organization}/wallets/transactions

Assign wallet to an entity (workspace or organization user)

post

Assigns the specified wallet to either a workspace or organization user

Authorizations
Path parameters
organizationstring · uuidRequired

Organization UUID

walletstring · uuidRequired

Wallet UUID

Body
assignable_typestring · enumRequired

Type of entity to assign the wallet to

Possible values:
assignable_idstring · uuidRequired

ID of the entity to assign the wallet to

Responses
200

Wallet assigned successfully

application/json
post
/api/organizations/{organization}/wallets/{wallet}/assignment

Get all possible assignments for a wallet

get

Retrieves all workspaces and organization users with their wallet assignment status

Authorizations
Path parameters
organizationstring · uuidRequired

Organization UUID

walletstring · uuidRequired

Wallet UUID

Responses
200

Successfully retrieved assignments

application/json
get
/api/organizations/{organization}/wallets/{wallet}/assignments

Remove a wallet assignment

delete

Removes the assignment of a wallet from a workspace or organization user

Authorizations
Path parameters
organizationstring · uuidRequired

Organization UUID

walletstring · uuidRequired

Wallet UUID

Body
assignable_typestring · enumRequired

Type of entity to remove the wallet assignment from

Possible values:
assignable_idstring · uuidRequired

ID of the entity to remove the wallet assignment from

Responses
200

Assignment removed successfully

application/json
delete
/api/organizations/{organization}/wallets/{wallet}/assignments

Last updated