Required at least 1 Filter Condition
curl --location --request POST 'https://oteapi.webnic.cc/domain/v2/exts/pricing' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"filters": [
{
"field": "productKey",
"value": "my,id,com.sg,vn"
}
,
{
"field": "transtype",
"value": "register,transfer"
}
]
,
"pagination": {
"page": 1,
"pageSize": 10
}
}'{
"code": "1000",
"message": "Command completed successfully.",
"data": {
"pageSize": 2,
"totalPages": 1,
"totalItems": 2,
"items": [
{
"productKey": "my",
"productPricing": {
"price": {
"register": {
"ascii": {
"1": 40.28,
"2": 80.56,
"3": 120.84,
"4": 161.12,
"5": 201.4
},
"idn": {
"1": 40.28,
"2": 80.56,
"3": 120.84,
"4": 161.12,
"5": 201.4
}
},
"renewal": {
"ascii": {
"1": 40.28,
"2": 80.56,
"3": 120.84,
"4": 161.12,
"5": 201.4
},
"idn": {
"1": 40.28,
"2": 80.56,
"3": 120.84,
"4": 161.12,
"5": 201.4
}
},
"transfer": {
"ascii": {
"1": 40.28,
"2": 80.56,
"3": 120.84,
"4": 161.12,
"5": 201.4
},
"idn": {
"1": 40.28,
"2": 80.56,
"3": 120.84,
"4": 161.12,
"5": 201.4
}
},
"restore": {
"ascii": {
"1": 0.0
},
"idn": {
"1": 0.0
}
},
"proxy": {
"ascii": {
"1": 10.0,
"2": 20.0,
"3": 30.0,
"4": 40.0,
"5": 50.0
},
"idn": {}
},
"whois": {
"ascii": {},
"idn": {}
},
"rereg": {
"ascii": {
"1": 40.28
},
"idn": {
"1": 40.28
}
}
},
"localPrice": {
"myr": {
"register": {
"ascii": {
"1": 84.8,
"2": 169.6,
"3": 254.4,
"4": 339.2,
"5": 424.0
},
"idn": {
"1": 84.8,
"2": 169.6,
"3": 254.4,
"4": 339.2,
"5": 424.0
}
},
"renewal": {
"ascii": {
"1": 84.8,
"2": 169.6,
"3": 254.4,
"4": 339.2,
"5": 424.0
},
"idn": {
"1": 84.8,
"2": 169.6,
"3": 254.4,
"4": 339.2,
"5": 424.0
}
},
"transfer": {
"ascii": {
"1": 0.0
},
"idn": {
"1": 0.0
}
},
"restore": {
"ascii": {
"1": 0.0
},
"idn": {
"1": 0.0
}
},
"proxy": {
"ascii": {
"1": 10.0,
"2": 20.0
},
"idn": {}
},
"whois": {
"ascii": {},
"idn": {}
},
"rereg": {
"ascii": {
"1": 84.8
},
"idn": {
"1": 84.8
}
}
}
}
}
},
{
"productKey": "com",
"productPricing": {
"price": {
"register": {
"ascii": {
"1": 20.0,
"2": 40.0,
"3": 60.0,
"4": 80.0,
"5": 100.0,
"6": 120.0,
"7": 140.0,
"8": 160.0,
"9": 180.0,
"10": 200.0
},
"idn": {
"1": 17.0,
"2": 34.0,
"3": 51.0,
"4": 68.0,
"5": 85.0,
"6": 102.0,
"7": 119.0,
"8": 136.0,
"9": 153.0,
"10": 170.0
}
},
"renewal": {
"ascii": {
"1": 10.99,
"2": 21.98,
"3": 32.97,
"4": 43.96,
"5": 54.95,
"6": 65.94,
"7": 76.93,
"8": 87.92,
"9": 98.91,
"10": 109.9
},
"idn": {
"1": 11.99,
"2": 23.98,
"3": 35.97,
"4": 47.96,
"5": 59.95,
"6": 71.94,
"7": 83.93,
"8": 95.92,
"9": 107.91,
"10": 119.9
}
},
"transfer": {
"ascii": {
"1": 9.99,
"2": 19.98,
"3": 29.97,
"4": 39.96,
"5": 49.95,
"6": 59.94,
"7": 69.93,
"8": 79.92,
"9": 89.91,
"10": 99.9
},
"idn": {
"1": 10.49,
"2": 20.98,
"3": 31.47,
"4": 41.96,
"5": 52.45,
"6": 62.94,
"7": 73.43,
"8": 83.92,
"9": 94.41,
"10": 104.9
}
},
"restore": {
"ascii": {
"1": 80.0
},
"idn": {
"1": 80.0
}
},
"whois": {
"ascii": {
"1": 0.0,
"2": 0.0,
"3": 0.0,
"4": 0.0,
"5": 0.0,
"6": 0.0,
"7": 0.0,
"8": 0.0,
"9": 0.0,
"10": 0.0
},
"idn": {}
},
"rereg": {
"ascii": {
"1": 20.0
},
"idn": {
"1": 17.0
}
}
},
"localPrice": {}
}
}
]
}
}