#1g0rkr

1 messages · Page 1 of 1 (latest)

alpine atlasBOT
patent sparrow
#
  "error": {
    "code": "resource_missing",
    "doc_url": "https://stripe.com/docs/error-codes/resource-missing",
    "message": "Customer cus_OhbNbi9gLdTHES does not have card with ID pm_1NuE85JwaP6Yb9Rxv8HTF9Pd",
    "param": "card",
    "request_log_url": "https://dashboard.stripe.com/acct_xxxx/test/logs/req_xvPXXLcHxV4iKY?t=1695646370",
    "type": "invalid_request_error"
  }
}```
#

Can you tell me more about what you are trying to do here? If you have a PaymentMethod object already saved, you should be able to just use that PM for new PaymentIntents.

Tokens are only needed for initially collecting card details. They are a legacy way of making the object that PaymentMethods replaced

grizzled saddle
#

I am trying to perform a payment for the connected account.

#

any ideas?

patent sparrow
#

You can use the create Payment Method endpoint similar to how you are using the create token endpoint now

#

And that will be able to create a usable PaymentMethod on the connected account