Skip to main content

Update Customer Details

Overview

The Update Customer Details endpoint allows you to modify an existing customer's contact information such as email address and phone number.

This endpoint is typically used:

  • After wallet creation when contact details weren't initially captured
  • When customers change their email or phone number
  • To correct errors in customer contact information
  • To update incomplete customer profiles
Prerequisites
  • Existing wallet with valid account number
  • At least one field to update (email or phone number)

Endpoint

POST /waas/Onboarding/updateCustomerDetails

Request Parameters

Required Headers

HeaderValue
AuthorizationBearer <access_token>
Ocp-Apim-Subscription-KeyYour access subscription key
Content-Typeapplication/json

Request Body Fields

FieldTypeRequiredDescription
requestIdstringYesUnique client-side reference for tracking
accountNostringYesCustomer's wallet/account number (10 digits)
emailstringConditional*Customer's email address (valid email format)
phoneNumberstringConditional*Customer's phone number (including country code)

* Conditional = At least one of email or phoneNumber must be provided. Both can be updated in a single request.

Update Behavior
  • If only email is provided, only the email is updated
  • If only phoneNumber is provided, only the phone number is updated
  • If both are provided, both are updated simultaneously
  • If neither is provided, the request will fail

Response

Success Response

{
"succeeded": true,
"code": "200",
"message": "successful request",
"data": {},
"pageMeta": {},
"errors": {}
}
Verification

Always verify that the update was successful by checking succeeded: true in the response.


Error Handling

Common Errors

CodeMessageCauseResolution
400Bad RequestMissing both email and phoneProvide at least one field
400Bad RequestInvalid email formatCheck email syntax
400Bad RequestInvalid phone formatInclude country code
31Invalid account numberAccount doesn't existVerify account number
404Not FoundWallet not foundCheck if wallet exists
Next Steps
  • Implement Wallet Funding to enable transactions
  • Set up Wallet Enquiry to retrieve updated details
  • Configure notifications for contact detail changes