Редагування плану та додавання нової версіі
POST /ecom/jws/scheduled_payments/plan/update_v1
Останнє оновлення
{
"merchantId":"{{merchantId}}",
"planId":"{{planId}}",
"name":"Premium",
"categorySubcategoryIndicator":"C103",
"description":"Installment plan123543521"
}{
"planId": "a9562240-10ca-42d7-8d90-bbd1ace3dc5a",
"merchantId": "137d9304-0368-11ed-b939-0242ac120002",
"name": "Premium",
"description": "Installment plan123543521",
"createdAt": "2026-07-09 17:12:00.14+03:00",
"updatedAt": "2026-07-10 11:36:39.35+03:00"
}{
"merchantId":"{{merchantId}}",
"planId":"{{planId}}",
"name":"Premium",
"categorySubcategoryIndicator":"C103",
"description":"Installment plan123543521",
"appliesDateTimeFrom":"2026-08-23 12:46:00.52+03:00",
"appliesDateTimeTo":"2026-09-23 12:46:00.52+03:00",
"rules":[
{
"paymentNumberFrom":1,
"paymentNumberTo":3,
"intervalValue":1,
"intervalUnit":"DAY",
"coinAmount":205,
"currency":"980"
},
{
"paymentNumberFrom":4,
"paymentNumberTo":6,
"intervalValue":1,
"intervalUnit":"MONTH",
"coinAmount":8000,
"currency":"980"
}
]
}{
"planId": "a9562240-10ca-42d7-8d90-bbd1ace3dc5a",
"versionId": 2,
"merchantId": "137d9304-0368-11ed-b939-0242ac120002",
"name": "Premium",
"description": "Installment plan123543521",
"rules": [
{
"paymentNumberFrom": 1,
"paymentNumberTo": 3,
"intervalValue": 1,
"intervalUnit": "DAY",
"coinAmount": 205,
"currency": "980"
},
{
"paymentNumberFrom": 4,
"paymentNumberTo": 6,
"intervalValue": 1,
"intervalUnit": "MONTH",
"coinAmount": 8000,
"currency": "980"
}
],
"appliesDateTimeFrom": "2026-08-23 12:46:00.52+03:00",
"appliesDateTimeTo": "2026-09-23 12:46:00.52+03:00",
"createdAt": "2026-07-09 17:12:00.14+03:00",
"updatedAt": "2026-07-10 11:33:08.87+03:00"
}{
"merchantId":"{{merchantId}}",
"planId":"{{planId}}",
"appliesDateTimeFrom":"2026-08-24 12:46:00.52+03:00",
"appliesDateTimeTo":"2026-09-23 12:46:00.52+03:00",
"rules":[
{
"paymentNumberFrom":1,
"paymentNumberTo":3,
"intervalValue":1,
"intervalUnit":"DAY",
"coinAmount":205,
"currency":"980"
},
{
"paymentNumberFrom":4,
"paymentNumberTo":6,
"intervalValue":1,
"intervalUnit":"MONTH",
"coinAmount":8000,
"currency":"980"
}
]
}{
"planId": "a9562240-10ca-42d7-8d90-bbd1ace3dc5a",
"versionId": 3,
"merchantId": "137d9304-0368-11ed-b939-0242ac120002",
"name": "Premium",
"description": "Installment plan123543521",
"rules": [
{
"paymentNumberFrom": 1,
"paymentNumberTo": 3,
"intervalValue": 1,
"intervalUnit": "DAY",
"coinAmount": 205,
"currency": "980"
},
{
"paymentNumberFrom": 4,
"paymentNumberTo": 6,
"intervalValue": 1,
"intervalUnit": "MONTH",
"coinAmount": 8000,
"currency": "980"
}
],
"appliesDateTimeFrom": "2026-08-24 12:46:00.52+03:00",
"appliesDateTimeTo": "2026-09-23 12:46:00.52+03:00",
"createdAt": "2026-07-09 17:12:00.14+03:00",
"updatedAt": "2026-07-10 11:40:19.68+03:00"
}