GET
/
wallets
/
search
/
email
curl --request GET \
  --url https://waas-staging.cafeone.ng/api/v1/wallets/search/email \
  --header 'x-api-key: <api-key>'

Query Parameters

email
string
required

Email address to search for

Response

✅ Success Response

Status Code: 200 OK

{
  "code": "200",
  "success": true,
  "message": "Wallet found.",
  "data": {
    // Details of the wallet associated with the email
  }

❌ Error Responses

Status Code: 400 Bad Request

{
  "code": "400",
  "success": false,
  "message": "Invalid request data",
  "data": null
}

Status Code: 500 Internal Server Error

{
  "code": "500",
  "success": false,
  "message": "The key value at position 0 of the call to 'DbSet<VirtualAccountProvider>.Find' was of type 'int', which does not match the property type of 'Guid'.",
  "data": null
}