Hi Reshma,
The case is: there's an API
/1.0/kb/accounts/{accountId}/payments that performs a payment directly in the Account on KB.
An external payment system called this API with a Purchase Payment to the Account and it seems that the payment does not apply at the Account Balance, the payment stays "unassigned" at Killbill.
How can I "use" this payment and apply it to the Account Balance? Do I need to assign that to an invoice? How can I do that? Otherwise, the API /1.0/kb/accounts/{accountId}/payments is useless.
The credit is not useful here because I need to register in Killbill the details and custom fields of an external payment (credit card, expiration, gateway, name, etc).
Thank you!
Tiago Baccala