如何对 Stripe 交易产生争议

How can put a dispute over Stripe transaction

条纹中有没有api让客户产生争议。我看到提交证据 api :

    stripe.disputes.update("dp_17sGETLpSdVJN1iVw8BHvseP",
    {
        evidence: {
        customer_email_address: 'email@example.com',
         shipping_date: '2016-06-08',
         shipping_documentation: 'file_17sapWLpSdVJN1iV0X1yRT8Z'
     }
  },
  function(err, dispute) {
     // asynchronously called
  });

这个api里面的"dp_17sGETLpSdVJN1iVw8BHvseP"是什么,从哪里得到的

没有。没有使用 API 创建争议的选项。当客户质疑您向他们的银行或信用卡公司收费时,用户引起的纠纷。

用户提出异议后您可以提供证据回应。

A dispute occurs when a customer questions your charge with their bank or credit card company. When a customer disputes your charge, you're given the opportunity to respond to the dispute with evidence that shows the charge is legitimate.

https://stripe.com/docs/api#disputes

更多信息:

Stripe disputeS FAQ