#rayrayy

1 messages ยท Page 1 of 1 (latest)

ornate scarabBOT
royal spindle
#

๐Ÿ‘‹ happy to help

#

could you please share the request id?

thorny loom
#

hey where do I find that from sorry ๐Ÿ˜…

royal spindle
thorny loom
#

Nicee it tells the error

#

so I should pass one more item in the array with inf ?

royal spindle
#

yes

thorny loom
#

Hmm now getting this one req_FPeYCZyse4OgFq

#

"If the billing scheme is set to per_unit, the amount parameter must be set."

royal spindle
#

sorry I'm taking some time to figure out what's wrong in the request

thorny loom
#

no worries

#

appreciate it

royal spindle
#

actually you're using billing_scheme per_unit with a tiers mode

#

that's why it's not working

thorny loom
#

is billing_scheme : per_unit a global flag ?

#

ahh i see its here

#

"billing_scheme": "per_unit",

#

so it should be tiered ?

royal spindle
#

yes

#

you should also pass in tiers_mode graduated or volume

#

depending on your use case

thorny loom
#

Niceeee

#

Thanks