Jump to content

Question

Hello everyone,

I have installed kazoo 4.3-12 version. The credit/debit api is not working 

DELETE /v2/accounts/{ACCOUNT_ID}/transactions/debit

PUT /v2/accounts/{ACCOUNT_ID}/transactions/credit

also sup commands not working

 sup kazoo_services_maintenance credit {ACCOUNT_ID} 5.0
sup kazoo_services_maintenance debit {ACCOUNT_ID} 5.0 

Is there change in api and sup command in new version

 

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0
On 12/12/2018 at 1:34 AM, mc_ said:

I think you need to use `ledgers` for "funny money" and transactions for "real money" stuff.

can u explain the use case for funny money and real money?

I was using kazoo in 2016/17 and am trying to get back up to speed

Share this post


Link to post
Share on other sites
  • 0

By "funny money" I mean when you want to issue a service credit to your customer, say give them $20 for whatever reason, there's no credit card to charge or otherwise. It's just you updating their ledger with some "money". "real money" is when a CC is processed and those funds are added to the account to pay for services.

Share this post


Link to post
Share on other sites
  • 0
On 12/28/2018 at 7:12 PM, mc_ said:

I believe rating will debit via ledgers but things like auto top-up and such use transactions

It seems like the monster-ui uses /v2/services/topup, but this doesn't seem to like to request the charge on braintree. Do you know if services/top should be using transactions/credit? Is this a config issue that services/topup isn't charging? Braintree is connected properly and the CC info in syncing with Braintree.

Let me know if you want me to start a new thread.

Edited by FrankP

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...