Cancel a SetupIntent
POST
/v1/setup_intents/{id}/cancel请求参数
Path Params
id
string
required
Body Params application/json
cancellation_reason
string
required
Reason for canceling this SetupIntent. Possible values are abandoned, requested_by_customer, or duplicate
Example
{
"cancellation_reason": "string"
}
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: 2 年前