Create a payment

POST /payments
application/json

Body Required

Responses

POST /payments
curl \
 -X POST localhost:8080/payments \
 -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"
}