customer

Returns information about the Charthop subscription for the given customer

get/v1/customer/{customerId}/subscription

Request

  • Base URL: https://localhost
  • URL: https://localhost/v1/customer/{customerId}/subscription
  • Auth: none declared

Path parameters

customerIdstring required

Customer id

Response

successful operation

nextInvoiceAtstring required

Timestamp when the next invoice will be generated

Example response

{
  "nextInvoiceAt": "2019-07-27T20:56:10Z",
  "paymentInfo": {
    "paymentType": "CREDIT_CARD",
    "creditCardEndDigits": "4242",
    "brand": "Visa"
  }
}

Changes

No recorded changes to this operation across all 20 revisions of this API.