Pay for an order #

POST/payments
Auth: bearerAuth (bearer)

Request body #

application/json
{
}

Responses #

The payment.
application/jsonExample generated from the schema
{
}
}

Code samples #

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"
  }'

Comments