Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
charged
integer(int32) | null Charged
-
chargedAt
string(date-time) Required Charged at
-
createdAt
string(date-time) Created at
-
externalId
string | null External
-
id
integer(int32) Id
-
subscriptionId
integer(int32) Required Subscription
-
updatedAt
string(date-time) Updated at
PUT
/subscription-charges/{id}.json
curl \
--request PUT 'http://api.example.com/v1/subscription-charges/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"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"}'
Request examples
{
"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"
}