Stripe - retrieve Customer ID using email from form

前端 未结 2 546
梦谈多话
梦谈多话 2021-01-07 02:02

Is there any way to retrieve a Customer ID from the e-mail they enter in the payment form via the API?

For my application customers will pay multiple times on an on

2条回答
  •  抹茶落季
    2021-01-07 02:28

    I did this API request. This API request is not available in stripe docs.I got their search request at dashboard customize according to my requirements.

    url :https://api.stripe.com/v1/search?query="+email+"&prefix=false",
    method: GET
    headers: {
      "authorization": "Bearer Your_seceret Key",
      "content-type": "application/x-www-form-urlencoded",
    }
    

提交回复
热议问题