#vikiram_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1272787425466257481
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
You should retrieve the payout object and check its https://docs.stripe.com/api/payouts/object?lang=node#payout_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
but where i can get the payout object id ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i have payment intent id, using this how can i find that transaction is paid to bank or not?
No, paymentintent ID is not associated with payout
Ok fine. So each transaction i have create in stripe, then i may know that each transaction which we create in stripe are paid to my bank account. Every time i have to check manually by using the dashboard ? Is there no API ?
you can see the below example i have
here i have only payment intent id which i store in my system. So how i can find this transaction is paid to my bank account ?
https://docs.stripe.com/api/balance_transactions/list?lang=node#balance_transaction_list-payout specify the payout ID and set type to payment
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
no this not i expecting. i want each transaction created in stripe are paid to my bank or not ? because each transaction i create in my system also, so each transaction i have to settle to different type of client, so without knowing the transaction are paid to my bank account how can i do settle to my client. Do you understand my point ?
That's exactly what I shared earlier.
You should use the API to retrieve the list of payments that associated with the payout, so that you can reconsolidate those payments with your own records. I beleive you have a wawy to associate those payments with your client, i.e., through metadata
please check one payout
"<Stripe.Payout@55035179 id=po_1PZN0aGr08F4adJkSNhbdFA9> JSON: {
""id"": ""po_1PZN0aGr08F4adJkSNhbdFA9"",
""object"": ""payout"",
""amount"": 16650,
""application_fee"": null,
""application_fee_amount"": null,
""arrival_date"": 1720396800,
""automatic"": true,
""balance_transaction"": ""txn_1PZN0aGr08F4adJkqLGiRK2y"",
""created"": 1720227708,
""currency"": ""dkk"",
""description"": ""STRIPE PAYOUT"",
""destination"": ""ba_1PTLTHGr08F4adJkiKi8003P"",
""failure_balance_transaction"": null,
""failure_code"": null,
""failure_message"": null,
""livemode"": false,
""metadata"": {},
""method"": ""standard"",
""original_payout"": null,
""reconciliation_status"": ""completed"",
""reversed_by"": null,
""source_type"": ""card"",
""statement_descriptor"": null,
""status"": ""paid"",
""type"": ""bank_account""
}"
here i dont find any metadata ?
Did you set a metadata on a payout object?
Share with me the ID of the request you created to set a metadata. Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
i dont understand, what you are looking from me?
You are asking why you didn't get the metadata, so I need to know where did you set the metdata in the first place.
this is my sample request body
"id": "cs_live_a1mdXAKMdZIGfaHtqGOENL8LZGKecNl5lbI5bkHcBzckxGurxwZ7nSYPrF",
"object": "checkout.session",
"after_expiration": null,
"allow_promotion_codes": null,
"amount_subtotal": 3289,
"amount_total": 3289,
"automatic_tax": {
"enabled": false,
"liability": null,
"status": null
},
"billing_address_collection": null,
"cancel_url": "https://www.billetsalg.dk/Payment/Decline.aspx?HF=1",
"client_reference_id": null,
"client_secret": null,
"consent": null,
"consent_collection": null,
"created": 1720829203,
"currency": "dkk",
"currency_conversion": null,
"custom_fields": [
],
"custom_text": {
"after_submit": null,
"shipping_address": null,
"submit": null,
"terms_of_service_acceptance": null
},
"customer": null,
"customer_creation": "if_required",
"customer_details": {
"address": null,
"email": "johnny@billetsalg.dk",
"name": null,
"phone": null,
"tax_exempt": "none",
"tax_ids": null
},
"customer_email": "johnny@billetsalg.dk",
"expires_at": 1720915603,
"invoice": null,
"invoice_creation": {
"enabled": false,
"invoice_data": {
"account_tax_ids": null,
"custom_fields": null,
"description": null,
"footer": null,
"issuer": null,
"metadata": {
},
"rendering_options": null
}
},
"livemode": true,
"locale": null,
"metadata": {
},
"mode": "payment",
Still I don't see any metadata. Did you set any?