Create price for the price list
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
".../PRICELIST-01/price""feeTypeCode": "TRANSACTION_FEE_OWN_CURRENCY""currencyCode": "EUR""calculationRule": "FIX""fixedAmount": "1.05""validityRange": {
"startDate": "2023-12-01",
"endDate": null }"transactionAmountRange": {
"startValue": "700.01",
"endValue": "1000.01" }{
"calculationRule": "FIX",
"fixedAmount": "1.05",
"validityRange": {
"startDate": "2023-12-01",
"endDate": null
},
"transactionAmountRange": {
"startValue": "700.01",
"endValue": "1000.01"
},
"currencyCode": "EUR",
"feeTypeCode": "TRANSACTION_FEE_OWN_CURRENCY"
}curl --location 'https://card-api.sandbox.tuumplatform.com/api/v1/cards/price-list/PRICELIST-001/price' \
--header 'x-auth-token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHBpcnlEVGltZSI6IjIwMjMtMDYtMjlUMTM6MTc6NTEiLCJyb2xlcyI6WyJBRE1JTiJdLCJuYW1lIjoiSm9obiBPZmZpY2VyIiwiZW1wbG95ZWVJZCI6IjEiLCJ0ZW5hbnRDb2RlIjoiTUIiLCJleHAiOjE2ODgwNDQ2NzF9.XU8rZzaH7SCkoYtEhiztY4blllz6-qwNNP-slrxguJY' \
--header 'x-channel-code: system' \
--header 'Content-Type: application/json' \
--data '{
"calculationRule": "FIX",
"fixedAmount": "1.05",
"validityRange": {
"startDate": "2023-12-01",
"endDate": null
},
"transactionAmountRange": {
"startValue": "700.01",
"endValue": "1000.01"
},
"currencyCode": "EUR",
"feeTypeCode": "TRANSACTION_FEE_OWN_CURRENCY"
}'{
"errors": null,
"validationErrors": null,
"data": null
}