Customers are created when you create a reserved account or initialise initialize a transaction. This API can be used to update a customer's email and name.
Info | ||
---|---|---|
| ||
PUT: https://sandbox.monnify.com This endpoint is protected with OAuth 2.0 Bearer token. To find out more about authorization for Monnify endpoints, check Here |
Endpoint URL: {{base_url}}/api/v1/customer/update/{currentCustomerEmail}
...
Please note that this endpoint is protected by OAuth 2.0 Bearer Token
HTTP Method: PUT
Info |
---|
The {{base_url}} for test is |
Sample Request
Update Customer Details Request
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "customerFullName":"Chidera Nwoke", "customerEmail":"chima@gmail.com" } |
Sample Response
Get Transaction Status Request
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "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 |