Customers are created when you create a reserved account or initialise a transaction. This API can be used to update a customer's email and name.
Endpoint
PUT: https://sandbox.monnify.com/api/v1/customer/update/{currentCustomerEmail}
Please note that this endpoint is protected by OAuth 2.0 Bearer Token
Sample Request
Update Customer Details Request
{ "customerFullName":"Chidera Nwoke", "customerEmail":"chima@gmail.com" }
Sample Response
Get Transaction Status Request
{ "requestSuccessful": true, "responseMessage": "success", "responseCode": "0", "responseBody": { "customerFullName": "Chidera Nwoke", "customerEmail": "chima@gmail.com" } }
Field Reference
Request | ||
---|---|---|
Field | Description | Compulsory |
currentCustomerEmail | Current email for configured for the customer on Monnify. This email currently identifies the customer. | Yes |
customerEmail | Updated customer's email. Could be same thing as the current customer email. | Yes |
customerFullName | Updated customer's name. Could be the same if customer's name is not changing. | No |