v3

latestSwagger 2.02026-08-067506752.0 MB
customer

Returns information about the Charthop subscription for the given customer

get/v1/customer/{customerId}/subscription

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"
  }
}