cURL
User Wallets
/api/partner/v2/users/{userId}/wallets/{walletId}
DELETE
cURL
Soft deletes (disables) a wallet for a user. The wallet will no longer be available for transactions.
Error Codes
Common Errors
| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”API Key is missing” |
| 401 | UNAUTHORIZED | ”Invalid API Key format” |
| 401 | UNAUTHORIZED | ”Invalid API Key” |
| 403 | INVALID_PARTNER_FLOW | ”The partner has an invalid flow.” |
User Ownership Errors
| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”Partner information is required for this operation” |
| 401 | UNAUTHORIZED | ”User is not associated with the partner” |
Endpoint-Specific Errors
| HTTP Status | Code | Message |
|---|---|---|
| 400 | INVALID_USER_INPUT_ERROR | ”Invalid User Input” (invalid UUID) |
Headers
Api key for the affiliated partner that is performing the request
Path Parameters
The userId of the user
Example:
"8374f327-38bd-4b0b-b8a7-2524599eb903"
The walletId of the wallet to delete
Example:
"8374f327-38bd-4b0b-b8a7-2524599eb903"