Update customer account

Updates customer's registered account

Parameters

Path Parameters

customerId string Required
The ID of a customer registered at optile
accountID string Required
The ID of a registered for this customer account
cutomerDetails array Required
The details a registered for this customer account

name string Required
Customers name information in structured form.
company string Required
Information about company. Required by some PSPs when customer is a business.

Carries information for updating customer account

state string Required
Indicates the state of this account. Possible values:
ACTIVE, EXPIRED, INACTIVE BLOCKEDor BLACKLISTED.

PUT
/customers/{customerId}/accounts/{accountId}

Sandbox server
https://api.sandbox.oscato.com/api/customers/{customerId}/accounts/{accountId}

Live server
https://api.live.oscato.com/api/customers/{customerId}/accounts/{accountId}


  {
    "state":"BLOCKED"
  }

Customer's registered account


{
  "links": {
    "self": "https://api.sandbox.oscato.com/pci/v1/5fb254c5c4ffdf5cbab77723luv2g4f46tkplecjj7a2brv123"
  },
    ...
  "identification": {
    "longId": "5fb254c5c4ffdf5cbab77723luv2g4f46tkplecjj7a2brv123",
    ...
  }
}
                            {
  "links": {
    "self": "https://api.sandbox.oscato.com/pci/v1/5fb254c5c4ffdf5cbab77723luv2g4f46tkplecjj7a2brv123"
  },
    ...
  "identification": {
    "longId": "5fb254c5c4ffdf5cbab77723luv2g4f46tkplecjj7a2brv123",
    ...
  }
}

Internal Server Error


 Internal Server Error