GET
/
wallets
/
search
/
mobile
curl --request GET \
  --url https://waas-staging.cafeone.ng/api/v1/wallets/search/mobile \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "mobNum": "<string>"
}'

Query Parameters

mobNum
string
required

Mobile number associated with the wallet. Example: “2345678880”

Response

✅ Success Response

Status Code: 200 OK

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

❌ 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
}