Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

issue trying to access the mint flow variables

Dears, I have a problem that I can't access the mint flow variables through Apigee edge on prem.

I made the monetization configuration ( Api product with transaction recording policy, Api package, developer with MINT custom attributes and accepting the rate plan in that developer ) 

curl used to accept the rate plan : 

 

curl --location '{HOST}/v1/mint/organizations/{org_name}/developers/{dev_id}/developer-rateplans' \
--header 'Content-Type: application/json' \
--header 'Authorization: auth' \
--data '{
   "developer":{
     "id":"{dev_id}"
   },
   "startDate":"2024-09-16",
   "ratePlan":{
     "id":"{rateplan_id}"
   }
  }'

 

curl used to issue a credit for that developer : 

 

curl --location --request POST '{HOST}/v1/mint/organizations/{org_name}/monetization-packages/{package_id}/rate-plans/{rateplan_id}/real-currency-credit-transactions?billingMonth=SEPTEMBER&billingYear=2024&currencyId=usd&developerId={dev_id}&transactionAmount=400&transactionNote=test' \
--header 'Authorization: auth'

 

I'm trying to access this flow variable for example : mint.limitscheck.prepaid_developer_balance In a service callout policy placed in the post client flow. 

Thanks for you time & help.

@williamssean @Hilda_Arteaga 

 

Solved Solved
0 14 722
1 ACCEPTED SOLUTION

Hello William, hope you are well ! 

We've opened a ticket with the support team and they said that we have to migrate to Apigee edge Hybrid or X to use the mint flow variables, they don't work for the onprem installations right now.

Thanks alot for your help!

View solution in original post

14 REPLIES 14
Top Solution Authors