v1
latestOpenAPI 3.0.02026-07-26167441.9 MBUpdate Subscription
patch/subscriptions/{id}
Path parameters
idstring required
The unique identifier of the subscription.
Request body
Response
200
Example response
{
"id": "0c7fed3e-ee0d-4d34-9547-778be4ec0798",
"name": "Test Subscription",
"account_id": "493e9374-510a-4201-9e09-de669d75f256",
"country": "US",
"description": "Subscription Test",
"merchant_reference": "subscription-ref-merchant-AA01",
"soft_descriptor": "ACME SUBSCRIPTION",
"status": "ACTIVE",
"amount": {
"currency": "USD",
"value": 15000
},
"frequency": {
"type": "MONTH",
"value": 1
},
"billing_cycles": {
"total": 12,
"current": 1,
"next_at": "2024-09-30T12:04:23.265393Z"
},
"customer_payer": {
"id": "a1d3b664-e32a-4508-9da1-9ede3e62a60c"
},
"payment_method": {
"type": "CARD",
"vaulted_token": "d4aa3586-def2-4705-b7cd-fe064bb764e6"
},
"availability": {
"start_at": "2024-09-30T12:04:23.265393Z"
},
"created_at": "2024-09-30T12:04:23.265372Z",
"updated_at": "2024-09-30T12:04:23.265372Z"
}