# Subscription

Use to create a subscription for a customer.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**subscription_id** | **string** | Unique ID for the subscription. This is generated by the merchant and should be unique across the system. | [optional] [default to undefined]
**authorization_amount** | **number** | Authorization amount for the auth payment. | [optional] [default to undefined]
**plan_details** | [**CreateLinkPlanRequest**](CreateLinkPlanRequest.md) |  | [optional] [default to undefined]
**authorization_amount_refund** | **boolean** | Indicates whether the authorization amount should be refunded to the customer automatically. Merchants can use this field to specify if the authorized funds should be returned to the customer after authorization of the subscription. | [optional] [default to undefined]
**subscription_expiry_time** | **string** | Time at which the subscription will expire. | [optional] [default to undefined]
**subscription_first_charge_time** | **string** | Time at which the first charge for the subscription will be processed. | [optional] [default to undefined]

## Example

```typescript
import { Subscription } from 'cashfree-pg';

const instance: Subscription = {
    subscription_id,
    authorization_amount,
    plan_details,
    authorization_amount_refund,
    subscription_expiry_time,
    subscription_first_charge_time,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
