Update a payment by ID

PUT /payments/{paymentId}
application/json

Body Required

Responses

PUT /payments/{paymentId}
curl \
 -X PUT localhost:8080/payments/{paymentId} \
 -H "Content-Type: application/json" \
 -d '{"user":"string","subscription":"string","amount":42,"status":"string","payment_method":"string"}'
Request example
{
  "user": "string",
  "subscription": "string",
  "amount": 42,
  "status": "string",
  "payment_method": "string"
}
Request examples
{
  "user": "string",
  "subscription": "string",
  "amount": 42,
  "status": "string",
  "payment_method": "string"
}