-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from cashfree/4.2.0
4.2.0
- Loading branch information
Showing
302 changed files
with
21,138 additions
and
306 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -366,5 +366,4 @@ src/cashfree_pg/Api/ | |
src/cashfree_pg.Test/ | ||
.DS_Store | ||
*/.DS_Store | ||
*/*/.DS_Store | ||
.idea/ | ||
*/*/.DS_Store |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# cashfree_pg.Model.AdjustVendorBalanceRequest | ||
Adjust Vendor Balance Request | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**transfer_from** | **string** | Mention to whom you want to transfer the on demand balance. Possible values - MERCHANT, VENDOR. | | ||
**transfer_type** | **string** | Mention the type of transfer. Possible values: ON_DEMAND. | | ||
**transfer_amount** | **decimal** | Mention the on demand transfer amount. | | ||
**remark** | **string** | Mention remarks if any for the on demand transfer. | [optional] | ||
**tags** | **Object** | Provide additional data fields using tags. | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.AdjustVendorBalanceResponse | ||
Adjust Vendor Balance Response | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**settlement_id** | **decimal** | | [optional] | ||
**transfer_details** | [**TransferDetails**](TransferDetails.md) | | [optional] | ||
**balances** | [**BalanceDetails**](BalanceDetails.md) | | [optional] | ||
**charges** | [**ChargesDetails**](ChargesDetails.md) | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.ApiError | ||
Error at cashfree's server | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**message** | **string** | | [optional] | ||
**code** | **string** | | [optional] | ||
**type** | **string** | api_error | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.ApiError404 | ||
Error when resource requested is not found | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**message** | **string** | | [optional] | ||
**code** | **string** | | [optional] | ||
**type** | **string** | invalid_request_error | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.ApiError409 | ||
duplicate request | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**message** | **string** | | [optional] | ||
**code** | **string** | | [optional] | ||
**type** | **string** | invalid_request_error | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.ApiError502 | ||
Error when there is error at partner bank | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**message** | **string** | | [optional] | ||
**code** | **string** | `bank_processing_failure` will be returned here to denote failure at bank. | [optional] | ||
**type** | **string** | api_error | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.App | ||
App payment method | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**channel** | **string** | Specify the channel through which the payment must be processed. | | ||
**provider** | **string** | Specify the provider through which the payment must be processed. | | ||
**phone** | **string** | Customer phone number associated with a wallet for payment. | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,11 @@ | ||
# cashfree_pg.Model.AppPaymentMethod | ||
App payment method | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**app** | [**App**](App.md) | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.AuthenticationError | ||
Error if api keys are wrong | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**message** | **string** | | [optional] | ||
**code** | **string** | | [optional] | ||
**type** | **string** | authentication_error | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,17 @@ | ||
# cashfree_pg.Model.AuthorizationDetails | ||
Details of the authorization done for the subscription. Returned in Get subscription and auth payments. | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**authorization_amount** | **decimal** | Authorization amount for the auth payment. | [optional] | ||
**authorization_amount_refund** | **bool** | 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] | ||
**authorization_reference** | **string** | Authorization reference. UMN for UPI, UMRN for EMandate/Physical Mandate and Enrollment ID for cards. | [optional] | ||
**authorization_time** | **string** | Authorization time. | [optional] | ||
**authorization_status** | **string** | Status of the authorization. | [optional] | ||
**payment_id** | **string** | A unique ID passed by merchant for identifying the transaction. | [optional] | ||
**payment_method** | **string** | Payment method used for the authorization. | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,18 @@ | ||
# cashfree_pg.Model.AuthorizationInPaymentsEntity | ||
If preauth enabled for account you will get this body | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**action** | **string** | One of CAPTURE or VOID | [optional] | ||
**status** | **string** | One of SUCCESS or PENDING | [optional] | ||
**captured_amount** | **decimal** | The captured amount for this authorization request | [optional] | ||
**start_time** | **string** | Start time of this authorization hold (only for UPI) | [optional] | ||
**end_time** | **string** | End time of this authorization hold (only for UPI) | [optional] | ||
**approve_by** | **string** | Approve by time as passed in the authorization request (only for UPI) | [optional] | ||
**action_reference** | **string** | CAPTURE or VOID reference number based on action | [optional] | ||
**action_time** | **string** | Time of action (CAPTURE or VOID) | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,12 @@ | ||
# cashfree_pg.Model.AuthorizeOrderRequest | ||
Request to capture or void transaction | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**action** | **string** | Type of authorization to run. Can be one of 'CAPTURE' , 'VOID' | [optional] | ||
**amount** | **decimal** | The amount if you are running a 'CAPTURE' | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.BadRequestError | ||
Invalid request received from client | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**message** | **string** | | [optional] | ||
**code** | **string** | | [optional] | ||
**type** | **string** | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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 @@ | ||
# cashfree_pg.Model.BalanceDetails | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**merchant_id** | **decimal** | | [optional] | ||
**vendor_id** | **string** | | [optional] | ||
**merchant_unsettled** | **decimal** | | [optional] | ||
**vendor_unsettled** | **decimal** | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,12 @@ | ||
# cashfree_pg.Model.BankDetails | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**account_number** | **string** | | [optional] | ||
**account_holder** | **string** | | [optional] | ||
**ifsc** | **string** | | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,11 @@ | ||
# cashfree_pg.Model.Banktransfer | ||
Banktransfer payment method | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**channel** | **string** | The channel for cardless EMI is always `link` | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,11 @@ | ||
# cashfree_pg.Model.BanktransferPaymentMethod | ||
banktransfer payment method | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**banktransfer** | [**Banktransfer**](Banktransfer.md) | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,25 @@ | ||
# cashfree_pg.Model.Card | ||
Card Payment method | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**channel** | **string** | The channel for card payments can be \"link\" or \"post\". Post is used for seamless OTP payments where merchant captures OTP on their own page. | | ||
**card_number** | **string** | Customer card number for plain card transactions. Token pan number for tokenized card transactions. | [optional] | ||
**card_holder_name** | **string** | Customer name mentioned on the card. | [optional] | ||
**card_expiry_mm** | **string** | Card expiry month for plain card transactions. Token expiry month for tokenized card transactions. | [optional] | ||
**card_expiry_yy** | **string** | Card expiry year for plain card transactions. Token expiry year for tokenized card transactions. | [optional] | ||
**card_cvv** | **string** | CVV mentioned on the card. | [optional] | ||
**instrument_id** | **string** | instrument id of saved card. Required only to make payment using saved instrument. | [optional] | ||
**cryptogram** | **string** | cryptogram received from card network. Required only for tokenized card transactions. | [optional] | ||
**token_requestor_id** | **string** | TRID issued by card networks. Required only for tokenized card transactions. | [optional] | ||
**token_reference_id** | **string** | Token Reference Id provided by Diners for Guest Checkout Token. Required only for Diners cards. | [optional] | ||
**token_type** | **string** | | [optional] | ||
**card_display** | **string** | last 4 digits of original card number. Required only for tokenized card transactions. | [optional] | ||
**card_alias** | **string** | Card alias as returned by Cashfree Vault API. | [optional] | ||
**card_bank_name** | **string** | One of [\"Kotak\", \"ICICI\", \"RBL\", \"BOB\", \"Standard Chartered\"]. Card bank name, required for EMI payments. This is the bank user has selected for EMI | [optional] | ||
**emi_tenure** | **int** | EMI tenure selected by the user | [optional] | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,19 @@ | ||
# cashfree_pg.Model.CardEMI | ||
Payment method for card emi | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**channel** | **string** | The channel for card payments will always be \"link\" | | ||
**card_number** | **string** | Customer card number. | | ||
**card_holder_name** | **string** | Customer name mentioned on the card. | [optional] | ||
**card_expiry_mm** | **string** | Card expiry month. | | ||
**card_expiry_yy** | **string** | Card expiry year. | | ||
**card_cvv** | **string** | CVV mentioned on the card. | | ||
**card_alias** | **string** | Card alias as returned by Cashfree Vault API | [optional] | ||
**card_bank_name** | **string** | Card bank name, required for EMI payments. This is the bank user has selected for EMI. One of [\"hdfc, \"kotak\", \"icici\", \"rbl\", \"bob\", \"standard chartered\", \"axis\", \"au\", \"yes\", \"sbi\", \"fed\", \"hsbc\", \"citi\", \"amex\"] | | ||
**emi_tenure** | **int** | EMI tenure selected by the user | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,11 @@ | ||
# cashfree_pg.Model.CardEMIPaymentMethod | ||
Complete card emi payment method | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**emi** | [**CardEMI**](CardEMI.md) | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.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,12 @@ | ||
# cashfree_pg.Model.CardOffer | ||
|
||
## Properties | ||
|
||
Name | Type | Description | Notes | ||
------------ | ------------- | ------------- | ------------- | ||
**type** | **List<string>** | | | ||
**bank_name** | **string** | Bank Name of Card. | | ||
**scheme_name** | **List<string>** | | | ||
|
||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) | ||
|
Oops, something went wrong.