curl --location -g --request POST 'https://relay.exostack.cloud/{{relay_path}}/api/customer/terms/' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "string",
"settings": {
"rebate_days": 0,
"rebate_percent": 0,
"due_days": 0
},
"periodicity": {
"type": "string",
"number_of_payments": 0,
"days_between_payments": 0,
"first_payment": 0
},
"reference": {
"term_type_id": 0,
"periodicity_id": 0
},
"number": 0
}'{
"success": true,
"created_id": 0
}