#AmerBearat-Charge

1 messages · Page 1 of 1 (latest)

modest tide
#

Can you give the request id? You can find it on your Dashboard log

lament musk
#

you mean this POST /v1/charges
@modest tide

modest tide
#

the request id like req_xxx

lament musk
#

@modest tide req_oYHXadh88p2A8a

modest tide
#

Let me TAL

lament musk
#

What TAL means

modest tide
#

take a look (sorry)

lament musk
#

No problem

modest tide
#

hmm it's a bit odd to me, the card_xx comes from this request req_7q84f4kQx8JToD and that request also returns a token like tok_xxx Would using that token instead of card id solve your problem?

#

technically both should work 🤔 But the token is meant to be used in Charge API

lament musk
#

Let me check with dev team and get back you

modest tide
#

Hi, I found the complete answer, let me rewrite

#

When create a Charge, you can either

#
  1. Pass the token id to the source
  2. Pass the card id to the source, but also pass the customer id alongside. The customer needed to have the source attached beforehand
#

I think 1. would be easier to your usecase