curl --location --request POST 'https://mock.apidog.com/m1/828215-0-defaultschedules' \
--header 'Idempotency-Key: {{$string.uuid}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"schedule_record": {
"mandate_id": "ba299d08-fa56-460f-8323-12b6dc5fb10e",
"total_amount": 15000,
"currency": "GBP",
"allow_post_due_date_deduction": false,
"instalments": [
{
"amount": 7500,
"due_date": "2026-07-30"
},
{
"amount": 7500,
"due_date": "2026-08-30"
}
],
"metadata": null
}
}'{
"schedule_record": {
"id": "25e9eb8e-f0af-476a-8cac-bf3a8c07f7f6",
"mandate_id": "cbbc95e8-58d0-4f32-a346-53b93c02bb1b",
"currency": "GBP",
"total_amount": 15000,
"instalments": [
{
"amount": 7500,
"due_date": "2027-01-24",
"payment_request_id": "3a345186-ff5e-413e-b1ae-6cbc2dc5bd1c"
},
{
"amount": 7500,
"due_date": "2027-02-24",
"payment_request_id": null
}
],
"schedule_status": "Provisioning",
"metadata": null
}
}