The issue is everytime I use 'for-user-id' in the parameters, Xendit gives a PENDING and DOESN'T give a COMPLETED callback (Test environment) but it DOES reduce that user balance.
The result is Xendit gives a PENDING and COMPLETED callback (Test environment) and it DOES NOT reduce that user balance. Instead it reduces master balance.
Hi @AaEzha, closing this issue as stale. Please help to re-open this in a new issue if you're still facing this problem and would like us to have a look at it 🙏
First of all, I wanna create a disbursement example within sub-account-id using Laravel framework.
Here the code :
The issue is everytime I use 'for-user-id' in the parameters, Xendit gives a PENDING and DOESN'T give a COMPLETED callback (Test environment) but it DOES reduce that user balance.
BUT...
If I do this
The result is Xendit gives a PENDING and COMPLETED callback (Test environment) and it DOES NOT reduce that user balance. Instead it reduces master balance.
This is the summary
Please correct me if i was wrong on doing disbursement.
Thank you.