Methods described on this page:
POST /link_creditor
Callback "Creditor linked"
If the phone number is not found in the alias database, the DCM platform sends a request to participating banks to search for the recipient associated with this number and obtain the client’s consent to link it as an alias. The request is sent in JWT format using the POST /link_creditor method.
Payload:
Response 202 OK is provided immediately and indicates that the recipient exists as a client of the bank.
Response 400 "USER_NOT_FOUND" is provided immediately and indicates that the recipient is not found in the bank. After receiving the POST /link_creditor request and confirming the existence of the client (as indicated by the 202 OK response to the DCM platform), the bank must obtain the client's consent to link their phone number and IBAN account for receiving P2P transfers.
If the linking is successful, the bank initiates a callback to the DCM platform with information about the alias creation using the "Creditor linked" callback method.
Endpoint: POST/api/v1/p2p/callbacks Payload (if Success)
If the client refuses to link the IBAN account to the phone number (or does not respond to the request), the bank initiates a callback to the DCM platform with the corresponding status.
Payload (if Failure)