Skip to main content
DELETE
/
api
/
partner
/
v2
/
user
/
{userId}
/
wallets
/
{walletId}
cURL
curl --request DELETE \
  --url https://staging-api.capa.fi/api/partner/v2/user/{userId}/wallets/{walletId} \
  --header 'partner-api-key: <partner-api-key>'
{
  "success": true,
  "data": {
    "id": "8374f327-38bd-4b0b-b8a7-2524599eb903",
    "success": true
  }
}
Soft deletes (disables) a wallet for a user. The wallet will no longer be available for transactions.

Headers

partner-api-key
string
required

Api key for the affiliated partner that is performing the request

Path Parameters

userId
string
required

The userId of the user

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

walletId
string
required

The walletId of the wallet to delete

Example:

"8374f327-38bd-4b0b-b8a7-2524599eb903"

Response

200 - application/json

Soft deletes (disables) a wallet for a user

success
boolean
Example:

true

data
object