POST /subscription-charges.json

POST /subscription-charges.json
application/json

Body Required

Responses

POST /subscription-charges.json
curl \
 --request POST 'http://api.example.com/v1/subscription-charges.json' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"charged":42,"chargedAt":"2025-05-04T09:42:00Z","externalId":"string","subscriptionId":42}'
Request examples
{
  "charged": 42,
  "chargedAt": "2025-05-04T09:42:00Z",
  "externalId": "string",
  "subscriptionId": 42
}
Response examples (200)
{
  "charged": 42,
  "chargedAt": "2025-05-04T09:42:00Z",
  "createdAt": "2025-05-04T09:42:00Z",
  "externalId": "string",
  "id": 42,
  "subscriptionId": 42,
  "updatedAt": "2025-05-04T09:42:00Z"
}