#gyungi

1 messages · Page 1 of 1 (latest)

tawdry nicheBOT
signal epoch
hollow ibex
#

I can't find the request id anywhere, where would that live?

#

i'm in the stripe dashboard looking through payment history

signal epoch
hollow ibex
#

req_2c898XLXFI1NdW

#

I think that's the one?

signal epoch
#

that's to capture the payment, we want the one for where you're simulating presenting a payment method.

#

you're not passing in any card numbers so it would default to the successful card number

hollow ibex
#

gotcha ok

#

so then I suppose my question becomes how to pass the metadata correctly

#

this is currently how I'm doing it:

#
  -u <OUR KEY>: --data '{"card_present":{"number":"4000000000009995"}}'   ```
rose arrow
#

I work with @hollow ibex and I think we're just missing the Content-Type header in our request 🤦‍♂️

hollow ibex
#

oh nice

signal epoch
#

this works for me

curl -X POST https://api.stripe.com/v1/test_helpers/terminal/readers/tmr_.../present_payment_method \
  -u sk_test_...:\
  -d card_present[number]=4000000000009995 \
  -d type=card_present
hollow ibex
#

aha!

#

thank you 🙂