v1

latestOpenAPI 3.1.02026-08-04490133.8 KB

Edit a card user

patch/cards/user

Request body

phonestring required

Enter user phone number in international format +23412345678

countrystring required

Enter user country code. e.g NG for Nigeria

statestring required

Enter user state or district. e.g. Lagos or Kampala

citystring required

Enter user city, e.g. Ikeja or Nakawa

addressstring required

Enter user address

zipCodestring required

Enter user zipcode

idTypestring required

Enter user ID type which should be a drop down of National ID Card, International Passport and Driver's License. The accepted values for these will be: "National_ID", "Passport", "Driving_License"

idNumberstring required

Enter the ID number of the selected ID Type. e.g. if you selected international passport, enter the international passport number

idstring required

Usually in the form CUI123, every ID that starts with AUI can't be edited

Response

201

codeinteger
successboolean

Example response

{
  "code": 201,
  "data": {
    "message": "Card user created successfully",
    "data": {
      "email": "john@dou.com",
      "firstName": "John",
      "lastName": "Dooe",
      "id": 22,
      "userId": "CUI22"
    }
  },
  "success": true
}