Based on the solution to the problem earlier in the topic
https://crm-onebox.com/ru/support/logistics-and-delivery-services/8136-ttn-dzhas... (see the screenshot indicated in the comment topic) - Justin tech support pointed out that if you don't need an overlay, don't send the body of the order_amount payment and the sign that order_payment_is_required must be paid
Both parameters are sent according to your TTN and it is calculated that otherwise there will be a cash on delivery.
An example of the request parameters part:
array
(
[api_key] => [integration key]
[data] => array
(
[number] => 1160
[date] => 2021-10-17
[sender_city_id] => e156e3c8-dbfb-11e7-80c6-00155dfbfb00
[sender_company] => FOP Podolyanets Alexander Vasilyevich
[sender_contact] => Podolyanets Alexander Vasilyevich
[sender_phone] => +380982450939
[sender_pick_up_address] =>
[sender_branch] =>
[pick_up_is_required] => 1
[receiver] => Kurenya Anna Nikolaevna
[receiver_contact] =>
[receiver_phone] => +380979365812
[count_cargo_places] => 1
[branch] => 7100103173
[weight] => 7
[dimensional_weight] => 0.25
[volume] => 0.001
[declared_cost] => 1049
[delivery_amount] => 52.3
[redelivery_amount] => 36
[order_amount] => 1049
[redelivery_payment_is_required] =>
[redelivery_payment_payer] => 1
[delivery_payment_is_required] => 1
[add_description] =>
[delivery_payment_payer] => 1
[order_payment_is_required] => 1
[delivery_type] => 0
[code_transfer_type] => 2
)
)
I recommend that you contact Justin tech support to get an answer why you do not create a cash on delivery when the appropriate parameters are passed to them. Probably they either have some innovations, or different working conditions for different clients.