Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions documents/card.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ client.customer.create({
"name": "Gaurav Kumar",
"email": "gaurav.kumar@example.com",
"contact": "9123456780",
"fail_existing": "0",
"fail_existing": "1",
"notes":{
"note_key_1": "September",
"note_key_2": "Make it so."
Expand All @@ -21,7 +21,7 @@ client.customer.create({
| name* | string | Name of the customer |
| email | string | Email of the customer |
| contact | string | Contact number of the customer |
| 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`|
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `1` or `0`|
| notes | object | A key-value pair |

**Response:**
Expand Down Expand Up @@ -121,8 +121,8 @@ client.registration_link.create({
"expire_at":1644737663
},
"receipt":"Receipt No. #11",
"email_notify":1,
"sms_notify":1,
"email_notify": True,
"sms_notify": True,
"expire_by":1644737663,
"notes":{
"note_key 1":"Beam me up Scotty",
Expand All @@ -141,8 +141,8 @@ client.registration_link.create({
| description* | string | A brief description of the payment. |
| subscription_registration | object | All keys listed [here](https://razorpay.com/docs/api/recurring-payments/cards/authorization-transaction/#121-create-a-registration-link) are supported |
| receipt | string | Your system order reference id. |
| sms_notify | boolean | SMS notifications are to be sent by Razorpay (default : 1) |
| email_notify | boolean | Email notifications are to be sent by Razorpay (default : 1) |
| sms_notify | boolean | SMS notifications are to be sent by Razorpay (default : True) |
| email_notify | boolean | Email notifications are to be sent by Razorpay (default : True) |
| expire_by | integer | The timestamp, in Unix format, till when the customer can make the authorization payment. |
| notes | object | A key-value pair |

Expand Down Expand Up @@ -279,7 +279,7 @@ client.payment.createRecurring({
"order_id": "order_IDts8IQBJT40aQ",
"customer_id": "cust_Hwq7Ba6TDXl1ga",
"token": "token_1Aa00000000001",
"recurring": 1,
"recurring": True,
"description": "Creating recurring payment for Gaurav Kumar",
"notes": {
"note_key 1": "Beam me up Scotty",
Expand All @@ -298,7 +298,7 @@ client.payment.createRecurring({
| orderId* | string | The id of the order to be fetched |
| customerId* | string | The id of the customer to be fetched |
| tokenId* | string | The id of the token to be fetched |
| recurring* | boolean | Possible values is `0` or `1` |
| recurring* | boolean | Possible values is `True` or `False` |
| description | string | A brief description of the payment. |
| notes | object | A key-value pair |

Expand Down Expand Up @@ -581,7 +581,7 @@ client.card.requestCardReference({"number":"4854980604708430"})
| Name | Type | Description |
|-------------|---------|------------------------------------------------------------------------------|
| number* | string | The card number whose PAR or network reference id should be retrieved. |
| tokenised | string | Determines if the card is saved as a token. Possible value is `true` or `false` |
| tokenised | string | Determines if the card is saved as a token. Possible value is `True` or `False` |

**Response:**
```json
Expand Down
4 changes: 2 additions & 2 deletions documents/customer.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ client.customer.create({
"name": "Gaurav Kumar",
"contact": 9123456780,
"email": "gaurav.kumar@example.com",
"fail_existing": 0,
"fail_existing": "1",
"gstin": "29XAbbA4369J1PA",
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
Expand All @@ -22,7 +22,7 @@ client.customer.create({
| name* | string | Name of the customer |
| email | string | Email of the customer |
| contact | string | Contact number of the customer |
| 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`|
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `1` or `0`|
| gstin | string | Customer's GST number, if available. For example, 29XAbbA4369J1PA |
| notes | object | A key-value pair |

Expand Down
15 changes: 8 additions & 7 deletions documents/emandate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ client.customer.create({
"name": "Gaurav Kumar",
"contact": 9123456780,
"email": "gaurav.kumar@example.com",
"fail_existing": 0,
"fail_existing": "1",
"gstin": "29XAbbA4369J1PA",
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
Expand All @@ -22,7 +22,7 @@ client.customer.create({
| name* | string | Name of the customer |
| email | string | Email of the customer |
| contact | string | Contact number of the customer |
| 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`|
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `1` or `0`|
| notes | object | A key-value pair |

**Response:**
Expand Down Expand Up @@ -126,8 +126,8 @@ client.registration_link.create({
},
"receipt": "Receipt no. 1",
"expire_by": 1880480689,
"sms_notify": 1,
"email_notify": 1,
"sms_notify": True,
"email_notify": True,
"notes": {
"note_key 1": "Beam me up Scotty",
"note_key 2": "Tea. Earl Gray. Hot."
Expand All @@ -145,7 +145,8 @@ client.registration_link.create({
| amount* | integer | The payment amount in the smallest currency sub-unit. |
| description* | string | A description that appears on the hosted page. For example, `12:30 p.m. Thali meals (Gaurav Kumar`). |
| 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 |
| email_notify | boolean | Email notifications are to be sent by Razorpay (default : 1) |
| email_notify | boolean | Email notifications are to be sent by Razorpay (default : True) |
| sms_notify | boolean | SMS notifications are to be sent by Razorpay (default : True) |
| expire_by | integer | The timestamp, in Unix format, till when the customer can make the authorization payment. |
| receipt | string | Your system order reference id. |
| notes | array | A key-value pair |
Expand Down Expand Up @@ -430,7 +431,7 @@ client.payment.createRecurring({
"order_id": "order_1Aa00000000002",
"customer_id": "cust_1Aa00000000001",
"token": "token_1Aa00000000001",
"recurring": "1",
"recurring": True,
"description": "Creating recurring payment for Gaurav Kumar",
"notes": {
"note_key 1": "Beam me up Scotty",
Expand All @@ -450,7 +451,7 @@ client.payment.createRecurring({
| order_id* | string | The unique identifier of the order created. |
| customer_id* | string | The `customer_id` for the customer you want to charge. |
| 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`.|
| recurring* | string | Determines if recurring payment is enabled or not. Possible values:<br>* `1` - Recurring is enabled.* `0` - Recurring is not enabled.|
| recurring* | string | Determines if recurring payment is enabled or not. Possible values:<br>* `True` - Recurring is enabled.* `False` - Recurring is not enabled.|
| description | string | A user-entered description for the payment.|
| 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. |

Expand Down
4 changes: 2 additions & 2 deletions documents/invoice.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ client.invoice.create({
"quantity": 1
}
],
"sms_notify": 1,
"email_notify": 1,
"sms_notify": True,
"email_notify": True,
"currency": "USD",
"expire_by": 1589765167
})
Expand Down
2 changes: 1 addition & 1 deletion documents/order.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ client.order.edit(orderId,{
### View RTO/Risk Reasons

```py
orderId = "order_DaaS6LOUAASb7Y";
orderId = "order_DaaS6LOUAASb7Y"

client.order.viewRtoReview(orderId)
```
Expand Down
12 changes: 6 additions & 6 deletions documents/papernach.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ client.customer.create({
"name": "Gaurav Kumar",
"contact": 9123456780,
"email": "gaurav.kumar@example.com",
"fail_existing": 0,
"fail_existing": "1",
"gstin": "29XAbbA4369J1PA",
"notes": {
"notes_key_1": "Tea, Earl Grey, Hot",
Expand All @@ -23,7 +23,7 @@ client.customer.create({
| email | string | Email of the customer |
| contact | string | Contact number of the customer |
| notes | object | A key-value pair |
| 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`|
| fail_existing | string | If a customer with the same details already exists, the request throws an exception by default. Possible value is `1` or `0`|

**Response:**
```json
Expand Down Expand Up @@ -188,8 +188,8 @@ client.registration_link.create({
"max_amount": 50000
},
"receipt": "Receipt No. 1",
"sms_notify": 1,
"email_notify": 1,
"sms_notify": True,
"email_notify": True,
"expire_by": 1647483647,
"notes": {
"note_key 1": "Beam me up Scotty",
Expand Down Expand Up @@ -647,7 +647,7 @@ client.payment.createRecurring({
"order_id": "order_1Aa00000000002",
"customer_id": "cust_1Aa00000000001",
"token": "token_1Aa00000000001",
"recurring": "1",
"recurring": True,
"description": "Creating recurring payment for Gaurav Kumar",
"notes": {
"note_key 1": "Beam me up Scotty",
Expand All @@ -667,7 +667,7 @@ client.payment.createRecurring({
| order_id* | string | The unique identifier of the order created. |
| customer_id* | string | The `customer_id` for the customer you want to charge. |
| 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`.|
| recurring* | string | Determines if recurring payment is enabled or not. Possible values:<br>* `1` - Recurring is enabled.* `0` - Recurring is not enabled.|
| recurring* | string | Determines if recurring payment is enabled or not. Possible values:<br>* `True` - Recurring is enabled.* `False` - Recurring is not enabled.|
| description | string | A user-entered description for the payment.|
| 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. |

Expand Down
43 changes: 27 additions & 16 deletions documents/payment.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,19 +410,30 @@ client.order.create({

```py
client.payment.createPaymentJson({
"amount": 100,
"currency": "INR",
"order_id": "order_EAkbvXiCJlwhHR",
"email": "gaurav.kumar@example.com",
"contact": 9090909090,
"method": "card",
"card":{
"number": 4111111111111111,
"name": "Gaurav",
"expiry_month": 11,
"expiry_year": 23,
"cvv": 100
}
"amount": 100,
"currency": "INR",
"contact": "9000090000",
"email": "gaurav.kumar@example.com",
"order_id": "order_DPzFe1Q1dEOKed",
"method": "card",
"card": {
"number": "4386289407660153",
"name": "Gaurav",
"expiry_month": 11,
"expiry_year": 30,
"cvv": 100
},
"authentication": {
"authentication_channel": "browser"
},
"browser": {
"java_enabled": False,
"javascript_enabled": False,
"timezone_offset": 11,
"color_depth": 23,
"screen_width": 23,
"screen_height": 100
}
})
```

Expand Down Expand Up @@ -498,7 +509,7 @@ client.payment.createUpi({
"contact": "9123456789",
"method": "upi",
"customer_id": "cust_EIW4T2etiweBmG",
"save": 1,
"save": True,
"ip": "192.168.0.103",
"referer": "http",
"user_agent": "Mozilla/5.0",
Expand All @@ -525,7 +536,7 @@ client.payment.createUpi({
| contact* | string | Contact number of the customer |
| notes | array | A key-value pair |
| description | string | Descriptive text of the payment. |
| save | boolean | Specifies if the VPA should be stored as tokens.Possible value is `0`, `1` |
| save | boolean | Specifies if the VPA should be stored as tokens.Possible value is `True`, `False` |
| callback_url | string | URL where Razorpay will submit the final payment status. |
| ip* | string | The client's browser IP address. For example `117.217.74.98` |
| referer* | string | Value of `referer` header passed by the client's browser. For example, `https://example.com/` |
Expand Down Expand Up @@ -573,7 +584,7 @@ client.payment.createUpi({
| contact* | string | Contact number of the customer |
| notes | array | A key-value pair |
| description | string | Descriptive text of the payment. |
| save | boolean | Specifies if the VPA should be stored as tokens.Possible value is `0`, `1` |
| save | boolean | Specifies if the VPA should be stored as tokens.Possible value is `True`, `False` |
| callback_url | string | URL where Razorpay will submit the final payment status. |
| ip* | string | The client's browser IP address. For example `117.217.74.98` |
| referer* | string | Value of `referer` header passed by the client's browser. For example, `https://example.com/` |
Expand Down
Loading
Loading