#.rjcustodio

1 messages · Page 1 of 1 (latest)

proud dragonBOT
vapid slate
#

Umm do you see that adjustment amount in any webhook event?

tribal oasis
#

i saw it.

#

but is there a way to get it in calling API Endpoint?

#

{{baseUrl}}/v1/customers/:customer?expand[0]=invoice_credit_balance&expand[1]=cash_balance

#

im trying to get it via here.

#

since we are planning to display the customer details in our web application

vapid slate
#

Can you paste here the customer id? cus_xxx

tribal oasis
#

cus_OQNI81NRwyUJgK

#

here

vapid slate
#

Yeah it's not available in the Customer object... It's starting_balance of the Invoice in_1NnYrdDnngZHMkVLy8DJoziz, or in the Balance Transaction list of the customer

#

It's not the current balance though. So if you want a full history, go for the Balance Transaction List API

proud dragonBOT
tribal oasis
#

how to set credit limit using API?

#

maybe. i'll add a new metadata in customer record instead when setting credit limit to a customer.

zenith sleet
#

Hi @tribal oasis I'm taking over this thread

tribal oasis
#

Hello Jack