POST /subscription-charges.json

POST /subscription-charges.json
application/json

Body Required

Responses

POST /subscription-charges.json
curl \
 -X POST http://api.example.com/v1/subscription-charges.json \
 -H "Content-Type: application/json" \
 -d '{"charged":42,"chargedAt":"2023-05-04T09:42:00+00:00","externalId":"string","subscriptionId":42}'
Request example
{
  "charged": 42,
  "chargedAt": "2023-05-04T09:42:00+00:00",
  "externalId": "string",
  "subscriptionId": 42
}
Response examples (200)
{
  "charged": 42,
  "chargedAt": "2023-05-04T09:42:00+00:00",
  "createdAt": "2023-05-04T09:42:00+00:00",
  "externalId": "string",
  "id": 42,
  "subscriptionId": 42,
  "updatedAt": "2023-05-04T09:42:00+00:00"
}