Skip to main content
PATCH
/
v1
/
bank
/
customer
Update Bank Customer
curl --request PATCH \
  --url https://api.peere.network/v1/bank/customer \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "update": {
    "firstname": "<string>",
    "middlename": "<string>",
    "lastname": "<string>",
    "accountName": "<string>",
    "address": "<string>",
    "phone": "<string>",
    "displayPicture": "<string>"
  }
}
'
{
  "statusCode": 200,
  "success": true,
  "message": "Customer updated successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
update
object

Response

Customer updated successfully

statusCode
integer
Example:

200

success
boolean
Example:

true

message
string
Example:

"Customer updated successfully"

data
object