#mindsetinmeta

1 messages · Page 1 of 1 (latest)

fallow copperBOT
grizzled swift
true mountain
#

here is how I created the payout:

#

{
"id": "po_1Mc0OvQCDgMU0hJlp2wGCIP5",
"object": "payout",
"amount": 100,
"arrival_date": 1676505600,
"automatic": false,
"balance_transaction": "txn_1Mc0OwQCDgMU0hJlCzdqYbjM",
"created": 1676526781,
"currency": "usd",
"description": null,
"destination": "card_1MbzYcQCDgMU0hJl2jKkcZpq",
"failure_balance_transaction": null,
"failure_code": null,
"failure_message": null,
"livemode": false,
"metadata": {},
"method": "standard",
"original_payout": null,
"reversed_by": null,
"source_type": "card",
"statement_descriptor": null,
"status": "pending",
"type": "card"
}

#

then when I query that payout object to check the status change

#

it responds as:

#

{
"error": {
"code": "resource_missing",
"doc_url": "https://stripe.com/docs/error-codes/resource-missing",
"message": "No such payout: 'po_1Mc0OvQCDgMU0hJlp2wGCIP5'",
"param": "payout",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_yxePfV37ubYVe3?t=1676527492",
"type": "invalid_request_error"
}
}

Learn more about error codes and how to resolve them.

grizzled swift
#

OK, let me take a look

#

You should specify a stripe_account in the request.

By specifying a stripe_account, you are telling Stripe that you want to make an API call on behalf of a connected account. You can refer to this doc to learn more about making API request for connected account (https://stripe.com/docs/connect/authentication)

Learn how to add the right information to your API calls so you can make calls for your connected accounts.

true mountain
#

got it