-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
bitbucket-pipelines
committed
Jul 12, 2024
1 parent
8ac1d38
commit 9e5a451
Showing
296 changed files
with
19,737 additions
and
522 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
|
||
# AuthorizationDetails | ||
|
||
Details of the authorization done for the subscription. Returned in Get subscription and auth payments. | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**authorizationAmount** | **BigDecimal** | Authorization amount for the auth payment. | [optional] | | ||
|**authorizationAmountRefund** | **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] | | ||
|**authorizationReference** | **String** | Authorization reference. UMN for UPI, UMRN for EMandate/Physical Mandate and Enrollment ID for cards. | [optional] | | ||
|**authorizationTime** | **String** | Authorization time. | [optional] | | ||
|**authorizationStatus** | **String** | Status of the authorization. | [optional] | | ||
|**paymentId** | **String** | A unique ID passed by merchant for identifying the transaction. | [optional] | | ||
|**paymentMethod** | **String** | Payment method used for the authorization. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
|
||
# CreateOrderSettlementRequestBody | ||
|
||
Create Order Settlement Object | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**orderId** | **String** | OrderId of the order. | | | ||
|**metaData** | [**CreateOrderSettlementRequestBodyMetaData**](CreateOrderSettlementRequestBodyMetaData.md) | | | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
# CreateOrderSettlementRequestBodyMetaData | ||
|
||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**cbriksId** | **String** | Meta data cbricks ID to be used for reporting purpose. | [optional] | | ||
|**settlementDate** | **LocalDate** | Requested Settlement Date. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
# CreatePlanRequest | ||
|
||
Request body to create a plan. | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**planId** | **String** | Unique ID to identify the plan. Only alpha-numerics, dot, hyphen and underscore allowed. | | | ||
|**planName** | **String** | Name of the plan. | | | ||
|**planType** | **String** | Type of the plan. Possible values - PERIODIC, ON_DEMAND. | | | ||
|**planCurrency** | **String** | Currency of the plan. | [optional] | | ||
|**planRecurringAmount** | **BigDecimal** | Recurring amount for the plan. Required for PERIODIC plan_type. | [optional] | | ||
|**planMaxAmount** | **BigDecimal** | Maximum amount for the plan. | | | ||
|**planMaxCycles** | **Integer** | Maximum number of payment cycles for the plan. | [optional] | | ||
|**planIntervals** | **Integer** | Number of billing cycles between charges. For instance, if set to 2 and the interval type is 'week', the service will be billed every 2 weeks. Similarly, if set to 3 and the interval type is 'month', the service will be billed every 3 months. Required for PERIODIC plan_type. | [optional] | | ||
|**planIntervalType** | **String** | Interval type for the plan. Possible values - DAY, WEEK, MONTH, YEAR. | [optional] | | ||
|**planNote** | **String** | Note for the plan. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
# CreateSubscriptionPaymentAuthResponse | ||
|
||
The response returned in Get, Create or Manage Subscription Payment APIs. | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**cfPaymentId** | **String** | Cashfree subscription payment reference number | [optional] | | ||
|**cfSubscriptionId** | **String** | Cashfree subscription reference number | [optional] | | ||
|**failureDetails** | [**CreateSubscriptionPaymentAuthResponseFailureDetails**](CreateSubscriptionPaymentAuthResponseFailureDetails.md) | | [optional] | | ||
|**paymentAmount** | **BigDecimal** | The charge amount of the payment. | [optional] | | ||
|**paymentId** | **String** | A unique ID passed by merchant for identifying the transaction. | [optional] | | ||
|**paymentInitiatedDate** | **String** | The date on which the payment was initiated. | [optional] | | ||
|**paymentStatus** | **String** | Status of the payment. | [optional] | | ||
|**paymentType** | **String** | Payment type. Can be AUTH or CHARGE. | [optional] | | ||
|**subscriptionId** | **String** | A unique ID passed by merchant for identifying the subscription. | [optional] | | ||
|**paymentMethod** | **String** | Payment method used for the authorization. | [optional] | | ||
|
||
|
||
|
13 changes: 13 additions & 0 deletions
13
docs/CreateSubscriptionPaymentAuthResponseFailureDetails.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
|
||
# CreateSubscriptionPaymentAuthResponseFailureDetails | ||
|
||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**failureReason** | **String** | Failure reason of the payment if the payment_status is failed. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
# CreateSubscriptionPaymentChargeResponse | ||
|
||
The response returned in Get, Create or Manage Subscription Payment APIs. | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**cfPaymentId** | **String** | Cashfree subscription payment reference number | [optional] | | ||
|**cfSubscriptionId** | **String** | Cashfree subscription reference number | [optional] | | ||
|**failureDetails** | [**CreateSubscriptionPaymentAuthResponseFailureDetails**](CreateSubscriptionPaymentAuthResponseFailureDetails.md) | | [optional] | | ||
|**paymentAmount** | **BigDecimal** | The charge amount of the payment. | [optional] | | ||
|**paymentId** | **String** | A unique ID passed by merchant for identifying the transaction. | [optional] | | ||
|**paymentInitiatedDate** | **String** | The date on which the payment was initiated. | [optional] | | ||
|**paymentStatus** | **String** | Status of the payment. | [optional] | | ||
|**paymentType** | **String** | Payment type. Can be AUTH or CHARGE. | [optional] | | ||
|**subscriptionId** | **String** | A unique ID passed by merchant for identifying the subscription. | [optional] | | ||
|**paymentMethod** | **String** | Payment method used for the authorization. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
|
||
# CreateSubscriptionPaymentRequest | ||
|
||
The request to be passed for the create subscription payment API. | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**subscriptionId** | **String** | A unique ID passed by merchant for identifying the subscription. | | | ||
|**subscriptionSessionId** | **String** | Session ID for the subscription. Required only for Auth. | [optional] | | ||
|**paymentId** | **String** | A unique ID passed by merchant for identifying the subscription payment. | | | ||
|**paymentAmount** | **BigDecimal** | The charge amount of the payment. Required in case of charge. | [optional] | | ||
|**paymentScheduleDate** | **String** | The date on which the payment is scheduled to be processed. Required for UPI and CARD payment modes. | [optional] | | ||
|**paymentRemarks** | **String** | Payment remarks. | [optional] | | ||
|**paymentType** | **String** | Payment type. Can be AUTH or CHARGE. | | | ||
|**paymentMethod** | **Object** | Payment method. Can be one of [\"upi\", \"enach\", \"pnach\", \"card\"] | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
|
||
# CreateSubscriptionRefundRequest | ||
|
||
Request body to create a subscription refund. | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**subscriptionId** | **String** | A unique ID passed by merchant for identifying the subscription. | | | ||
|**paymentId** | **String** | A unique ID passed by merchant for identifying the transaction. | [optional] | | ||
|**cfPaymentId** | **String** | Cashfree subscription payment reference number. | [optional] | | ||
|**refundId** | **String** | A unique ID passed by merchant for identifying the refund. | | | ||
|**refundAmount** | **BigDecimal** | The amount to be refunded. Can be partial or full amount of the payment. | | | ||
|**refundNote** | **String** | Refund note. | [optional] | | ||
|**refundSpeed** | **String** | Refund speed. Can be INSTANT or STANDARD. UPI supports only STANDARD refunds, Enach and Pnach supports only INSTANT refunds. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
# CreateSubscriptionRequest | ||
|
||
Request body to create a new subscription. | ||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**subscriptionId** | **String** | A unique ID for the subscription. It can include alphanumeric characters, underscore, dot, hyphen, and space. Maximum characters allowed is 250. | | | ||
|**customerDetails** | [**SubscriptionCustomerDetails**](SubscriptionCustomerDetails.md) | | | | ||
|**planDetails** | [**CreateSubscriptionRequestPlanDetails**](CreateSubscriptionRequestPlanDetails.md) | | | | ||
|**authorizationDetails** | [**CreateSubscriptionRequestAuthorizationDetails**](CreateSubscriptionRequestAuthorizationDetails.md) | | [optional] | | ||
|**subscriptionMeta** | [**CreateSubscriptionRequestSubscriptionMeta**](CreateSubscriptionRequestSubscriptionMeta.md) | | [optional] | | ||
|**subscriptionExpiryTime** | **String** | Expiry date for the subscription. | [optional] | | ||
|**subscriptionFirstChargeTime** | **String** | Time at which the first charge will be made for the subscription after authorization. Applicable only for PERIODIC plans. | [optional] | | ||
|**subscriptionNote** | **String** | Note for the subscription. | [optional] | | ||
|**subscriptionTags** | **Object** | Tags for the subscription. | [optional] | | ||
|**subscriptionPaymentSplits** | [**List<SubscriptionPaymentSplitItem>**](SubscriptionPaymentSplitItem.md) | Payment splits for the subscription. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
# CreateSubscriptionRequestAuthorizationDetails | ||
|
||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**authorizationAmount** | **BigDecimal** | Authorization amount for the auth payment. | [optional] | | ||
|**authorizationAmountRefund** | **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] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
|
||
# CreateSubscriptionRequestPlanDetails | ||
|
||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**planId** | **String** | The unique identifier used to create plan. You only need to pass this field if you had already created plan. Otherwise use the other fields here to define the plan. | [optional] | | ||
|**planName** | **String** | Specify plan name for easy reference. | [optional] | | ||
|**planType** | **String** | Possible values ON_DEMAND or PERIODIC. PERIODIC - Payments are triggered automatically at fixed intervals defined by the merchant. ON_DEMAND - Merchant needs to trigger/charge the customer explicitly with the required amount. | [optional] | | ||
|**planCurrency** | **String** | INR by default. | [optional] | | ||
|**planAmount** | **BigDecimal** | The amount to be charged for PERIODIC plan. This is a conditional parameter, only required for PERIODIC plans. | [optional] | | ||
|**planMaxAmount** | **BigDecimal** | This is the maximum amount that can be charged on a subscription. | [optional] | | ||
|**planMaxCycles** | **Integer** | Maximum number of debits set for the plan. The subscription will automatically change to COMPLETED status once this limit is reached. | [optional] | | ||
|**planIntervals** | **Integer** | Number of intervals of intervalType between every subscription payment. For example, to charge a customer bi-weekly use intervalType as “week” and intervals as 2. Required for PERIODIC plan. The default value is 1. | [optional] | | ||
|**planIntervalType** | **String** | The type of interval for a PERIODIC plan like DAY, WEEK, MONTH, or YEAR. This is a conditional parameter only applicable for PERIODIC plans. | [optional] | | ||
|**planNote** | **String** | Note for the plan. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
|
||
# CreateSubscriptionRequestSubscriptionMeta | ||
|
||
|
||
## Properties | ||
|
||
| Name | Type | Description | Notes | | ||
|------------ | ------------- | ------------- | -------------| | ||
|**returnUrl** | **String** | The url to redirect after checkout. | [optional] | | ||
|**notificationChannel** | **List<String>** | Notification channel for the subscription. SMS, EMAIL are possible values. | [optional] | | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.