You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documents/customer.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ client.customer.create({
22
22
| name*| string | Name of the customer |
23
23
| email | string | Email of the customer |
24
24
| contact | string | Contact number of the customer |
25
+
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `0` or `1`|
26
+
| gstin | string | Customer's GST number, if available. For example, 29XAbbA4369J1PA |
Copy file name to clipboardExpand all lines: documents/emandate.md
+18-7Lines changed: 18 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@ client.customer.create({
22
22
| name*| string | Name of the customer |
23
23
| email | string | Email of the customer |
24
24
| contact | string | Contact number of the customer |
25
+
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `0` or `1`|
25
26
| notes | object | A key-value pair |
26
27
27
28
**Response:**
@@ -48,12 +49,13 @@ client.customer.create({
48
49
client.order.create({
49
50
"amount": 0,
50
51
"currency": "INR",
52
+
"payment_capture": True,
51
53
"method": "emandate",
52
54
"customer_id": "cust_1Aa00000000001",
53
55
"receipt": "Receipt No. 1",
54
56
"notes": {
55
57
"notes_key_1": "Beam me up Scotty",
56
-
"notes_key_2": "Engage"
58
+
"notes_key_2": "Engage"
57
59
},
58
60
"token": {
59
61
"auth_type": "netbanking",
@@ -81,11 +83,14 @@ client.order.create({
81
83
| currency*| string | Currency of the order. Currently only `INR` is supported. |
82
84
| method*| string | The authorization method. In this case the value will be `emandate`|
83
85
| receipt | string | Your system order reference id. |
86
+
| customer_id*| string | The `customer_id` for the customer you want to charge.|
87
+
| payment_capture | boolean | Indicates whether payment status should be changed to captured automatically or not. Possible values: true - Payments are captured automatically. false - Payments are not captured automatically. |
84
88
| notes | object | A key-value pair |
85
-
| token | object | A key-value pair |
89
+
| token | array | All parameters listed [here](https://razorpay.com/docs/api/payments/recurring-payments/emandate/create-authorization-transaction/#112-create-an-order) are supported|
86
90
87
91
**Response:**
88
92
Create order response please click [here](https://razorpay.com/docs/api/recurring-payments/emandate/authorization-transaction/#112-create-an-order)
| customer |object | Details of the customer to whom the registrationlink will be sent. |
142
+
| customer*|array | All parameters listed [here](https://razorpay.com/docs/api/payments/recurring-payments/emandate/create-authorization-transaction/#121-create-a-registration-link) are supported|
138
143
| type*| string | In this case, the value is `link`. |
139
144
| currency*| string | The 3-letter ISO currency code for the payment. Currently, only `INR` is supported. |
140
145
| amount*| integer | The payment amount in the smallest currency sub-unit. |
141
146
| description*| string | A description that appears on the hosted page. For example, `12:30 p.m. Thali meals (Gaurav Kumar`). |
142
-
| subscription_registration | object | Details of the authorization payment. |
143
-
| notes | object | A key-value pair |
147
+
| subscription_registration | array | All parameters listed [here](https://razorpay.com/docs/api/payments/recurring-payments/emandate/create-authorization-transaction/#121-create-a-registration-link) are supported |
148
+
| email_notify | boolean | Email notifications are to be sent by Razorpay (default : 1) |
149
+
| expire_by | integer | The timestamp, in Unix format, till when the customer can make the authorization payment. |
150
+
| receipt | string | Your system order reference id. |
151
+
| notes | array | A key-value pair |
144
152
145
153
**Response:**
146
154
Create registration link response please click [here](https://razorpay.com/docs/api/recurring-payments/emandate/authorization-transaction/#121-create-a-registration-link)
| currency*| string | Currency of the order. Currently only `INR` is supported. |
386
396
| receipt | string | Your system order reference id. |
387
397
| notes | object | A key-value pair |
398
+
| payment_capture*| boolean | Indicates whether payment status should be changed to captured automatically or not. Possible values: true - Payments are captured automatically. false - Payments are not captured automatically. |
| customer_id*| string | The `customer_id` for the customer you want to charge. |
441
452
| token*| string | The `token_id` generated when the customer successfully completes the authorization payment. Different payment instruments for the same customer have different `token_id`.|
442
453
| recurring*| string | Determines if recurring payment is enabled or not. Possible values:<br>*`1` - Recurring is enabled.*`0` - Recurring is not enabled.|
443
-
| description*| string | A user-entered description for the payment.|
444
-
| notes*| object | Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. |
454
+
| description | string | A user-entered description for the payment.|
455
+
| notes | object | Key-value pair that can be used to store additional information about the entity. Maximum 15 key-value pairs, 256 characters (maximum) each. |
0 commit comments