Retrieve a subscription

Retrieves the subscription with the given ID.

Returns

Returns a subscription object if a valid identifier was provided, and returns an error otherwise.

{
  "object": "subscription",
  "id": "d6c50974-70c7-49f8-b50c-797bcefbdeb1",
  "external_id": "subscription-1",
  "start_date": "2024-03-01",
  "store_id": "d41aaaf9-4cbb-4025-b128-da19396cf1dd",
  "payment_handler": "merchant",
  "customer_email": "[email protected]",
  "created_at": "2024-03-01T17:28:33.689374Z",
}
Language