Create a one-time charge for a subscription
Changed onCreates a new one-time charge for a subscription. Use to bill non-recurring items to a subscription. Non-recurring items are price entities where the billing_cycle is null.
You can't create one-time charges for subscriptions that are past_due.
If successful, Paddle responds with the updated subscription entity. However, one-time charges aren't held against the subscription entity, so the charges billed aren't returned in the response.
Once created, to get details of a one-time charge:
- When created with effective_from as next_billing_period, get the subscription the charge was billed to and use the include query parameter with the next_transaction value.
- When created with effective_from as immediately, list transactions and use the subscription_id query parameter with the subscription ID of the subscription the charge was billed to.
When an update results in an immediate charge, responses may take longer than usual while a payment attempt is processed.
Request
- Base URLhttps://sandbox-api.paddle.com
- AuthHTTP bearer
Path parameters
Paddle ID of the subscription entity to work with.
Request body
Example request
{
"items": [
{
"quantity": 5,
"price_id": "pri_01gsz8z1q1n00f12qt82y31smh"
}
]
}Response
The request has succeeded and a new resource has been created as a result.
Changes
- breaking
added to the
//////////response propertyoneOflist for the response status - breaking
added to the
////////response propertyoneOflist for the response status - info
added to the
///////////request propertyoneOflist - info
added to the
////////request propertyoneOflist - info
added the required property
///to the response with the status
- breaking
- warning
added the new
CLPenum value to the//response property for the response status - warning
added the new
CLPenum value to the///////response property for the response status - warning
added the new
CLPenum value to the/////////response property for the response status - warning
added the new
PENenum value to the//response property for the response status - warning
added the new
PENenum value to the///////response property for the response status - warning
added the new
PENenum value to the/////////response property for the response status - info
added the new
CLPenum value to the request property////////// - info
added the new
CLPenum value to the request property//////////// - info
added the new
CLPenum value to the request property/////// - info
added the new
CLPenum value to the request property///////// - info
added the new
PENenum value to the request property////////// - info
added the new
PENenum value to the request property//////////// - info
added the new
PENenum value to the request property/////// - info
added the new
PENenum value to the request property///////// - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added to the
/response propertyanyOflist for the response status - info
removed from the
/response propertyanyOflist for the response status - info
added the required property
/to the response with the status
- warning