https://retellai.com/?utm_source=discord&utm_medium=seo logo
On the webhook, we get the combined_cost
# ❓・ai-evy-support
c
@AI Evy On the webhook, we get the combined_cost. I presume this is the total cost of the call. Is this in USD or GBP?
a
Thanks for tagging me @Ciaran. I'll look through relevant sources and get back to you shortly.
### Answer The
combined_cost
field in the webhook payload represents the total cost of the call in *cents (USD) * [(1) ]() [(2) ]() . To convert this to dollars, divide the value by 100 [(3) ]() . For example, if
combined_cost
is 70, that equals $0.70 USD [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) [[2] Create Web Call](https://docs.retellai.com/api-references/create-web-call) [[3] The cost difference on webhook and retell dashboard.](https://discord.com/channels/1186424376300679209/1414243216060059750) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
c
@AI Evy I just did some SQL to sum the cost of the combined_cost, return 10000 for example, that'll be cents. I'll have to divide by 100 to get dollars and then convert?
a
Thanks for the follow-up, @Ciaran. I'll get back to you soon.
### Answer Yes, that's correct. The
combined_cost
is in *cents (USD) * [(1) ]() . If your SQL sum returns 10000, that equals $100.00 USD (10000 cents ÷ 100 = $100) . You would then convert that dollar amount to GBP using your preferred exchange rate. So your workflow would be: 1. Sum
combined_cost
values (result in cents) 2. Divide by 100 to get USD 3. Convert USD to GBP using current exchange rate
​ To learn more, see the sources I considered: [[1] List Calls](https://docs.retellai.com/api-references/list-calls) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.