After the order is placed and the customer selects the "Pay via DCM platform" option, the Merchant sends a JWT request using the POST method and redirects the customer to DCM platform’s payment page.
The {url_host} of the DCM platform provided during integration is used.
The value of {url_host} differs between testing and production environments.
When redirecting to the payment page, the parameter &mobile is automatically appended based on the device type:
"&mobile=1" – for mobile devices.
"&mobile=0" – for other device types.
Payload запиту
{
"sub": "623e460b-9ffd-41df", - Merchant identifier (uid)
"exp": 1719493881, - Order expiration time
"iat": 1707105971, - Order creation time
"amt": 1000, - Order amount
"cur": "UAH", - Order currency
"ref": "d4ee06f", - Order number in the Merchant's accounting system
"prp": "Payment for goods/services", - Payment purpose
"url": "https://www.city24.com", - Redirect URL for returning the buyer to the Merchant's website
"fri": { - Information about the ultimate beneficiary of the funds (optional)
"frn": "Kyivpark LLC", - Name
"frc": "0987654321", - Tax number
"fra": "UA55386780956567", - Account number (IBAN)
"frb": "300335", - Servicing bank's code
"frm": "7791" - Merchant category code
}
The "sub" field is provided by the Bank after the Merchant is registered with DCM platform
The "exp" and "iat" fields use the Unix Timestamp format. Can be used for convenience - https://www.unixtimestamp.com/
The "ref" field must contain a unique value.
The order is signed using the Merchant’s private key.