Wallets
Manage and generate new wallets using the Masumi Payment Service API
/wallet
Gets wallet status
Authorizations
Query parameters
walletTypestring · enumRequiredPossible values:
The type of wallet to query
idstring · min: 1 · max: 250Required
The id of the wallet to query
includeSecretstringOptionalDefault:
Whether to include the decrypted secret in the response
false
Responses
200
Wallet status
application/json
get
GET /?walletType=Selling&id=text HTTP/1.1
Host: wallet
token: YOUR_API_KEY
Accept: */*
200
Wallet status
{
"status": "success",
"data": {
"walletVkey": "wallet_vkey",
"note": "note",
"PendingTransaction": null,
"walletAddress": "wallet_address",
"Secret": {
"createdAt": "1970-01-20T20:00:36.260Z",
"updatedAt": "1970-01-20T20:00:36.260Z",
"mnemonic": "decoded_secret"
}
}
}
Creates a wallet, it will not be saved in the database, please ensure to remember the mnemonic
Authorizations
Body
networkstring · enumRequiredPossible values:
The network the Cardano wallet will be used on
Responses
200
Wallet created
application/json
post
POST / HTTP/1.1
Host: wallet
token: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"network": "Preprod"
}
200
Wallet created
{
"walletMnemonic": "wallet_mnemonic",
"walletAddress": "wallet_address",
"walletVkey": "wallet_vkey"
}
Last updated
Was this helpful?