curl --location --request POST '/payment' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 100000,
"store_id": 6,
"invoice_id": "test",
"billing_id": 1122334455,
"callback_url": "https://",
"ofd": [
{
"qty": 1,
"vat": 12,
"price": 90000,
"mxik": "06401004002000000",
"total": 90000,
"package_code": "1506113",
"name": "кроссовки men'\''s low shoes",
"tin": "307578794"
},
{
"qty": 1,
"vat": 0,
"price": 10000,
"mxik": "10107002001000000",
"total": 10000,
"package_code": "1209885",
"name": "доставка заказа с маркетплейса",
"tin": "31105892390010"
}
],
"split": [
{
"type": "account",
"recipient": "5378f655-ae41-11ee-97a8-005056b4367d",
"amount": 88000,
"details": "Оплата товаров по заказу
},
{
"type": "account",
"recipient": "7bd7ad8e-b2d5-11ee-97a8-005056b4367d",
"amount": 10000,
"details": "Оплата за доставку по заказу #123"
}
]
}'