#BRData

1 messages · Page 1 of 1 (latest)

sick saddleBOT
placid lichen
daring topaz
#

req_uiGkgYIlzVQYZm

#

Looking at the payment intent ID on connect

#

it is clearly there

placid lichen
#

It looks like you need to make that request on behalf of the connected account. It was created on behalf of this account acct_1NDph4E1CBwzdMmi as a Direct Charge, which means you need to capture it on behalf of that account as well

daring topaz
#

how do i do that?

#

right now i have this: var options = new PaymentIntentCaptureOptions
{
AmountToCapture = amountAltered, // Custom amount in cents (e.g., $20.00)

                };
placid lichen
daring topaz
#

Hmm last time i contacted support I was told to do this:

#

How do I now include the paymentIntentID - the paymentintentcaptureoptions and include the acccount id in this call?

placid lichen
#

The doc I sent you tells you how to do that

daring topaz
#

Yes I see that but if you notice in the doc it has service.Create(options,requestOptions) where as I have service.Capture(paymentIntentID, options)

#

Where do I put the paymentIntentID in my case?

placid lichen
#

That's just an example. We can't put a code snippet for every API method, or that page would be a mile long and every example would look almost identical

#

What have you tried so far?

daring topaz
#

Well my question is, do I need a paymentIntentID in the service.Capture

placid lichen
#

yes

daring topaz
placid lichen
#

Not sure what I'm supposed to do with these screenshots

daring topaz
#

You asked what I tried so far