#bilala1122
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- bilala1122, 2 days ago, 16 messages
- bilala1122, 3 days ago, 4 messages
- bilal-connect-reconciliation, 3 days ago, 25 messages
Hi, let me help you with this.
Yes, that's a known limitation. Could you please share an example Balance Transaction ID?
Ids are visible in screenshot
Could you please just copy and paste it here? Sometimes if we use text recognition it makes mistakes.
You can copy the description/metadata after a PaymentIntent is succeeded on your Platform to the corresponding Transfer objects.
Can you elaborate?
Basically, when you create payments on your Platform, you can take the description from the original PaymentIntent, and copy it to your Transfers to the Connected account. This way you will see the description when listing transactions on your Connected account.
Can you see this screenshot. It is already there.
BTW I am using listing balanceTransactions as you can see in the code snippet.
But when you expand the source the description is not there? I also don't see it being expanded correctly.
I had undone the expand. Previously the code looked like this:
const transactionsDetail = await stripe.balanceTransactions.list(
{
expand: ["data.source"],
},
{
stripeAccount: driver.stripeAccount,
}
);
Yeah the description is null in source when expanded
I'm gonna guess you're using manual payouts?
I am using manuls payouts. Also, I am using separate charges and transfers.
Yeah with manual payouts balance transition history isn't tracked: https://stripe.com/docs/expand/use-cases#:~:text=You can only retrieve balance transaction history on automatic payouts. If you have manual payouts enabled%2C you must track transaction history on your own.
That's likely why there's no description set
Let me tell you one thing
Description appears only for payouts and no other type of transaction, infact.
Yup, expected as I just described
What's the solution?
You need to implement your own solution to track balance activity in relation to payouts
But the description is present as we can see in the dashboard. The API is not returning it .
That's a downside of using manual payouts. The balance transactions, which are what are included in a payout, aren't tracked against their associated payments. As such they've no data from them
But expanding the source should provide info. But it is not even.
On which txn_xxx specifically do you epxect to see description field?
on second and third object
{
"id": "txn_1OInOSGbqdcJN4nBt3kGpQJH",
"object": "balance_transaction",
"amount": -65,
"available_on": 1701501220,
"created": 1701501220,
"currency": "usd",
"description": null,
"exchange_rate": null,
"fee": 0,
"fee_details": [],
"net": -65,
"reporting_category": "transfer",
"source": {
"id": "tr_1OInOSGbqdcJN4nBFUYj8c2L",
"object": "transfer",
"amount": 65,
"amount_reversed": 0,
"balance_transaction": "txn_1OInOSGbqdcJN4nBt3kGpQJH",
"created": 1701501220,
"currency": "usd",
"description": null,
"destination": "acct_1LXTkDKBAC0irgqG",
"destination_payment": "py_1OInOSKBAC0irgqGHpEHVyRR",
"livemode": false,
"metadata": {},
"reversals": {
"object": "list",
"data": [],
"has_more": false,
"total_count": 0,
"url": "/v1/transfers/tr_1OInOSGbqdcJN4nBFUYj8c2L/reversals"
},
"reversed": false,
"source_transaction": null,
"source_type": "card",
"transfer_group": null
},
"status": "available",
"type": "transfer"
}
Paste the txn_xxx IDs please, I don't need the full hash
as you can see in stripe dashboard, the second one has this description:
"txn_1OInOSGbqdcJN4nBt3kGpQJH"
Yep, but, as I've stated a few times now, if you use manual payouts then the activity tracking/history is not available via the API
As such, those description fields aren't included
tbh, I don't get your logic. Everything is listed there, price, created on, available on etc.