Dears,
I hope all are doing well,
How can I select the MINT_BILLING_TYPE as both? What I detect in Apigee, if I set the MINT_BILLING_TYPE wrong as below, the response is as below
Request
{
"apps": [
"test-dev-app"
],
"companies": [],
"email": "sample@sample",
"developerId": "xxxxxxxxx",
"firstName": "sample",
"lastName": "sample",
"userName": "sample",
"organizationName": "preprod",
"status": "active",
"attributes": [
{
"name": "MINT_BILLING_TYPE",
"value": "ddddd"
},
{
"name": "MINT_DEVELOPER_LEGAL_NAME",
"value": "sample@sample"
}
],
"createdAt": 1747822867801,
"createdBy": "sample@sample",
"lastModifiedAt": 1758011438104,
"lastModifiedBy": "sample@sample"
}
Response is showing me that you can select [PREPAID, POSTPAID, BOTH]
{
"code": "mint.invalidAttribute",
"message": "Invalid attribute [EdgeAttributeConverter{attribute=MINT_BILLING_TYPE}]: 'BOTHs' must be one of [PREPAID, POSTPAID, BOTH]",
"contexts": [],
"cause": {
"message": "Invalid attribute [EdgeAttributeConverter{attribute=MINT_BILLING_TYPE}]: 'BOTHs' must be one of [PREPAID, POSTPAID, BOTH]",
"contexts": [],
"cause": {
"message": "'BOTHs' must be one of [PREPAID, POSTPAID, BOTH]",
"contexts": []
}
}
}
Then, if I send the put request again and select BOTH, I got the following errorDeveloper can only select billing type [PREPAID | POSTPAID]
{
"apps": [
"test-dev-app"
],
"companies": [],
"email": "sample@sample",
"developerId": "xxxxxxxxx",
"firstName": "sample",
"lastName": "sample",
"userName": "sample",
"organizationName": "preprod",
"status": "active",
"attributes": [
{
"name": "MINT_BILLING_TYPE",
"value": "BOTH"
},
{
"name": "MINT_DEVELOPER_LEGAL_NAME",
"value": "sample@sample"
}
],
"createdAt": 1747822867801,
"createdBy": "sample@sample",
"lastModifiedAt": 1758011438104,
"lastModifiedBy": "sample@sample"
}
Response
{
"code": "mint.invalidBillingType",
"message": "Developer can only select billing type [PREPAID | POSTPAID]",
"contexts": [],
"cause": {
"message": "Developer can only select billing type [PREPAID | POSTPAID]",
"contexts": []
}
}
My question now is, can I use BOTH for the developer?