Hi All, I need to create deposit in NetSuite for s...
# integrations
s
Hi All, I need to create deposit in NetSuite for stripe payouts/transfers. The deposit record must include customer payment, refunds and stripe processing fees. How do we know what payments and refunds are included in stripe transfer/payout..Thank you
b
Probably not netsuite related, a glance through the api suggests https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee_details
s
Thank you bhattk. I am able to get fee details using balance transaction api. Is there any way that we can know what payments and refunds are included in stripe payout
b
my guess is the source
although i think your integration is being built wrong if you are trying to put a refund into a deposit transaction
s
You mean, we can't include cash refund in deposit transaction
b
Deposits work a certain direction
s
Actually i need to create NetSuite deposit for every stripe Payout. We are syncing the stripe payment and refund in NetSuite. And then i need to create deposit in netsuite for every stripe payout. I am trying to use report API to get details of the transaction included in stripe but not sure if it will work or not
b
are you using SuitePayments api?
its unusual to go to undeposited funds at all with credit cards
s
No i am not using suite payment API. Not doing any transaction in NetSuite. I am just creating Stripe payment and refund in NetSuite that includes some stripe details like id, item, date, etc
b
still doesnt sound right
deposits are entered against a payment transaction like a cash sale or customer payment
you need to match deposit records to transactions that exist in netsuite
s
I am creating customer payment in netsuite for every stripe payment
And will include the customer payment during the creation of deposit
Thank you for the advice
b
you dont need to create the deposit for your customer payment if you setup the payment to post to a bank account
customer refunds dont have that intermediate step at all
s
I will not set the account on customer payment. It will be undeposited funds. For stripe Invoice and payment, I will create standalone invoice and will apply the invoice to customer payment. And for stripe refund, i will create standalone credit memo. So in this case, can we create deposit that include customer payment and refund?
b
no, read the documentation for netsuite deposits to learn why refund is inappropiate for a deposit
s
ok, thanks much