Pay for an order #

POST/payments
鉴权: bearerAuth (bearer)

请求体 #

application/json
{
}

响应 #

The payment.
application/json示例由 schema 生成
{
}
}

代码示例 #

curl -X POST "https://api.kawa-coffee.example/v2/payments" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "order_id": "ord_8f2k1",
    "method": "wechat"
  }'

评论