Update Subscription

Update an existing subscription.

SecurityMarketplace Api Key | Merchant Public Token | Merchant Secret Token | Customer JWT | Merchant JWT | Marketplace JWT
Request
path Parameters
id
required
string
Request Body schema: application/json
One of:
required
object (ActivateSubscription1)
Responses
200
400
401
403
404
405
406
409
422
429
500
503
patch/subscriptions/{id}
Request samples
application/json
{
  • "ActivateSubscription": {
    }
}
Response samples
application/json
{
  • "subscriptionId": "subs_ZiG6p8fud0ETu1p7",
  • "merchantId": "mcht_ZiG6pMfud0ETu1pd",
  • "customerId": "cust_ZiG6pMfud0ETu1pe",
  • "referenceCustomerId": "string",
  • "orderId": "ordr_ZiG6pMfud0ETu1ph",
  • "subscriptionAmount": 0,
  • "subscriptionCurrency": "AUD",
  • "paymentMethodDescription": "string",
  • "state": "created",
  • "stateUpdates": [
    ],
  • "frequency": "weekly",
  • "nextPaymentScheduledAt": "2019-08-24T14:15:22Z",
  • "cancelScheduledAt": "2019-08-24T14:15:22Z",
  • "transactions": [
    ],
  • "communications": {
    },
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z"
}
Copyright © April Solutions 2023. All right reserved.