🗝️Adding alias

Banks participating in the DCM platform can encourage their users to add phone numbers as aliases to the Alias Database. At the same time, the rule "one phone number = one IBAN account " at any given time is always enforced.

A bank client can change the account number linked to their phone number (alias) at any time using the functionality of the bank’s mobile application.

If a user links a different account number to their phone number, the DCM platform will notify the previous bank about the change in the linked account number.

Method: "Linking/Unlinking" an Account Number to an Alias

Endpoint: PUT /update_alias_db

{ 
"phone": "+380991234567",
"account": "UA41003506518366713636167", 
"linked": true/ false
}

Response 200 OK Response 4хх ERROR

{ 
"code": "SOME_CODE", 
"message": "some code description" 
}