PUT /subscription-charges/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
PUT /subscription-charges/{id}.json
curl \
-X PUT http://api.example.com/v1/subscription-charges/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"charged":42,"chargedAt":"2024-05-04T09:42:00+00:00","createdAt":"2024-05-04T09:42:00+00:00","externalId":"string","id":42,"subscriptionId":42,"updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"charged": 42,
"chargedAt": "2024-05-04T09:42:00+00:00",
"createdAt": "2024-05-04T09:42:00+00:00",
"externalId": "string",
"id": 42,
"subscriptionId": 42,
"updatedAt": "2024-05-04T09:42:00+00:00"
}