🗂️Get receiver's data
If the phone number provided in the order exists, the DCM platform initiates a request to the recipient's bank using the GET /creditor's_data method. The purpose of this request is to obtain the recipient's data necessary for the transfer.
Payload: absent
The GET request contains all the necessary parameters within the URL structure of the request. GET /{bank_url}?order_guid={{order_guid}}& account={{account}}& public_key={{public_key}}
order_guid – unique order identifier
account – recipient's account number
public_key – public key of the initiating bank in JWT format (used for encrypting the recipient's personal data)
Response 2хх OK signed JWT token with payload:
{
"name": "encrypted value",
"tax_number": "encrypted value",
"encryption": {
"nonce": "A1B2C3D4E5F6G7H8",
"encrypted_key": "a1b2c3d4e5f6g7h8i9j0"
}
}