-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresult.json
4848 lines (4285 loc) · 151 KB
/
result.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.0
info:
title: Razorpay APIs
description: >-
Razorpay is an Indian payments solution provider that allows businesses to
accept, process and disburse payments with its product suite. Razorpay APIs
are completely RESTful and all our responses are returned in JSON.
# API Authentication
All Razorpay APIs are authenticated using **Basic Auth**. Basic auth
requires the following:
- [YOUR_KEY_ID]
- [YOUR_KEY_SECRET]
Basic auth expects an Authorization header for each request in the Basic
base64token format. Here, base64token is a base64 encoded string of
YOUR_KEY_ID:YOUR_KEY_SECRET.
<table>
<b>Watch Out!</b> <br>
The Authorization header value should strictly adhere to the format
mentioned above. Invalid formats will result in authentication failures. Few
examples of invalid headers are:
- BASIC base64token
- basic base64token
- Basic "base64token"
- Basic $base64token
</table>
# Generate API Key
You can use Razorpay APIs in two modes, Test and Live. The API key is
different for each mode.
To generate the API keys:
1. Log into the <a href="https://dashboard.razorpay.com/app/dashboard"
target="_blank">Razorpay Dashboard</a>.
2. Select the mode (Test or Live) for which you want to generate the API
key.
<br>- Test Mode: The test mode is a simulation mode that you can use to test
your integration flow. Your customers will not be able to make payments in
this mode.
<br>- Live Mode: When your integration is complete, in the Dashboard, switch
to the live mode and generate live mode API keys. Replace test mode keys
with live mode keys in the integration to accept payments from customers.
3. Navigate to Settings → API Keys → Generate Key to generate key for the
selected mode.
# Errors
All successful responses are returned with HTTP Status code 204. In case of
failure, API returns a JSON error response with the parameters that contain
the failure reason.
# Understanding Error Response
The error response contains `code`, `description`, `field`, `source`,
`step`, and `reason` parameters to understand and troubleshoot the error.
Let us take an example where a merchant tries to add new allowed payer
accounts when the overall limit is exceeded.
```json: Sample Error Response
{
"error": {
"code": "BAD_REQUEST_ERROR",
"description": "Authentication failed due to incorrect otp",
"field": null,
"source": "customer",
"step": "payment_authentication",
"reason": "invalid_otp",
"metadata": {
"payment_id": "pay_EDNBKIP31Y4jl8",
"order_id": "order_DBJKIP31Y4jl8"
}
}
}
```
### Response Parameters
`error`
: `object` The error object.
`code`
: `string` Type of the error.
`description`
: `string` Description of the error.
`field`
: `string` Name of the parameter in the API request that caused the error.
`source`
: `string` The point of failure in the specific operation (payment in this
case). For example, customer, business
`step`
: `string` The stage where the transaction failure occurred. The stages can
vary depending on the payment method used to complete the transaction.
`reason`
: `string` The exact error reason. It can be handled programmatically.
`metadata`
: `object` Contains additional information about the request.
`payment_id`
: `string` Unique identifier of the payment.
`order_id`
: `string` Unique identifier of the order associated with the payment.
Know more about <a href="/docs/errors/error-codes" target="_blank">Error
Codes</a>.
version: 1.0.0
servers:
- url: https://api.razorpay.com
- url: http://api.razorpay.in
components:
securitySchemes:
basicAuth:
type: http
scheme: basic
security:
- basicAuth: []
tags:
- name: Customers APIs
description: >-
You can create customers with basic details such as name and contact
details and use them for various Razorpay solution offerings.
## List of APIs:
- <a href="https://razorpay.com/docs/api/customers/#create-a-customer"
target="_blank">Create a Customer</a>
- <a href="https://razorpay.com/docs/api/customers/#edit-customer-details"
target="_blank">Edit Customer Details</a>
- <a href="https://razorpay.com/docs/api/customers/#fetch-all-customers"
target="_blank">Fetch all Customers</a>
- <a href="https://razorpay.com/docs/api/customers/#fetch-customer-by-id"
target="_blank">Fetch Customer by ID</a>
- name: Orders APIs
description: >-
Order is an important step in the payment process. Orders and payments go
hand-in-hand. For every payment, an order needs to be created. You can
create orders using the Orders API.
## List of APIs:
- <a href="https://razorpay.com/docs/api/orders/#create-an-order"
target="_blank">Create an Order</a>
- <a href="https://razorpay.com/docs/api/orders/#fetch-orders"
target="_blank">Fetch Orders</a>
- <a href="https://razorpay.com/docs/api/orders/#fetch-an-order-with-id"
target="_blank">Fetch an Order With Id</a>
- <a
href="https://razorpay.com/docs/api/orders/#fetch-payments-for-an-order"
target="_blank">Fetch Payments for an Order</a>
- <a href="https://razorpay.com/docs/api/orders/#update-order"
target="_blank">Update Order</a>
- name: Payments APIs
description: >-
You can create payments using the Razorpay Standard Checkout.
https://razorpay.com/docs/payment-gateway/.
The Payments APIs help you to capture payments and fetch them only.
## List of APIs
- <a href="https://razorpay.com/docs/api/payments/#capture-a-payment"
target="_blank">Capture a Payment</a>
- <a href="https://razorpay.com/docs/api/payments/#fetch-a-payment"
target="_blank">Fetch a Payment</a>
- <a
href="https://razorpay.com/docs/api/payments/#fetch-multiple-payments"
target="_blank">Fetch Multiple Payments</a>
- <a
href="https://razorpay.com/docs/api/payments/#fetch-expanded-card-or-emi-details-for-payments"
target="_blank">Fetch Expanded Card or EMI Details for Payments</a>
- <a
href="https://razorpay.com/docs/api/payments/#fetch-payments-based-on-orders"
target="_blank">Fetch Payments Based on Orders</a>
- <a
href="https://razorpay.com/docs/api/payments/#fetch-card-details-of-a-payment"
target="_blank">Fetch Card Details of a Payment</a>
- <a href="https://razorpay.com/docs/api/payments/#update-the-payment"
target="_blank">Update the Payment</a>
- name: Payments APIs > Payment Downtime API
description: >-
Usually, downtime webhook payloads are delivered within few seconds of the
event. However, in some cases, this can be delayed by few minutes due to
various reasons.
If you have not received any webhook notifications due to some technical
issues, you can use the Fetch Payment Downtime API to fetch the downtime
status.
List of APIs:
- <a
href="https://razorpay.com/docs/api/payments/downtime/#fetch-payment-downtime-details"
target="_blank">Fetch Payment Downtime Details</a>
- <a
href="https://razorpay.com/docs/api/payments/downtime/#fetch-payment-downtime-details-by-id"
target="_blank">Fetch Payment Downtime Details by ID</a>
- name: Refunds APIs
description: >-
You can make full or partial refunds to customers. While issuing refunds,
you can choose to process the refunds instantly or at normal speed (within
5-7 working days). Razorpay provides you real-time tracking of the
processing speed and the status of the initiated refund.
<table>
<b>Refunds Can be Made Only on Captured Payments</b> <br>
You can initiate refunds only on those payments that are in captured
state. A payment in authorized state is auto-refunded if not captured
within 5 days of creation.
</table>
## List of APIs
- <a href="https://razorpay.com/docs/api/refunds/#create-a-normal-refund"
target="_blank">Create a Normal Refund</a>
- <a
href="https://razorpay.com/docs/api/refunds/#create-an-instant-refund"
target="_blank">Create an Instant Refund</a>
- <a
href="https://razorpay.com/docs/api/refunds/#fetch-multiple-refunds-for-a-payment"
target="_blank">Fetch Multiple Refunds for a Payment</a>
- <a
href="https://razorpay.com/docs/api/refunds/#fetch-a-specific-refund-for-a-payment"
target="_blank">Fetch a Specific Refund for a Payment</a>
- <a href="https://razorpay.com/docs/api/refunds/#fetch-all-refunds"
target="_blank">Fetch All Refunds</a>
- <a href="https://razorpay.com/docs/api/refunds/#fetch-refund-by-id"
target="_blank">Fetch Refund by ID</a>
- <a href="https://razorpay.com/docs/api/refunds/#update-refund"
target="_blank">Update Refund</a>
- name: Settlements APIs
description: >-
Settlement is the process in which the money received from your customers
is settled to your bank account. Settlements are made to the bank account,
the details of which you submitted to us as a part of KYC verification.
Settlements for all payments are done in INR (Indian Rupees), irrespective
of the currency in which the payment was made. After Razorpay receives the
amount, it is settled to your bank account, after fees deduction. Know
more about settlements.
## Settlement Cycle
By default, the complete process takes a time of T+2 business days for
domestic transactions and T+7 days for international transactions, T being
the date of capture of payment. This is called the settlement cycle. The
settlement cycle is subject to bank approval and can vary based on your
business vertical, risk factors and so on.
## List of APIs
- <a
href="https://razorpay.com/docs/api/settlements/#fetch-all-settlements"
target="_blank">Fetch All Settlements</a>
- <a
href="https://razorpay.com/docs/api/settlements/#fetch-settlement-using-id"
target="_blank">Fetch Settlement Using ID</a>
- <a href="https://razorpay.com/docs/api/settlements/#settlement-recon"
target="_blank">Settlement Recon</a>
- name: Settlements APIs > Instant Settlements
description: >-
Razorpay On-demand Settlements helps you reduce your settlement period
from T+2 days (default settlement cycle) to a few minutes (from the time
of the transaction), thus enabling your business to avoid cash-flow
challenges and prepare better for working capital requirements.
List of APIs:
- <a
href="https://razorpay.com/docs/api/settlements/#create-an-on-demand-settlement"
target="_blank">Create an On-demand Settlement</a>
- <a
href="https://razorpay.com/docs/api/settlements/#fetch-all-on-demand-settlements"
target="_blank">Fetch All On-demand Settlements</a>
- <a
href="https://razorpay.com/docs/api/settlements/#fetch-on-demand-settlements-by-id"
target="_blank">Fetch On-demand Settlements by ID</a>
- name: Disputes APIs
description: >-
A dispute arises when your customer or the issuing bank questions the
validity of a payment. It can be raised due to reasons such as
unauthorised charges, failure to deliver promised merchandise or excessive
charges levied by you. The chargeback raised by your customer can be filed
as a dispute with Razorpay.
Manage customer disputes using the Razorpay Disputes APIs.
## List of APIs
* <a
href="https://razorpay.com/docs/api/disputes/#fetch-all-disputes">Fetch
all Disputes</a>
* <a
href="https://razorpay.com/docs/api/disputes/#fetch-a-dispute">Fetch a
Dispute by ID</a>
- name: Invoices APIs
description: >-
Razorpay Invoices enables you to send invoices to your customers and
accept payments instantly.
The invoice contains information regarding the sale such as the name of
the ordered products or services, quantity, billing cycle, price breakup,
receipt number and customer information.
You can create, update, cancel and delete invoices using our Invoices
APIs.
## List of APIs
- <a href="https://razorpay.com/docs/api/invoices/#create-an-invoice"
target="_blank">Create an Invoice</a>
- <a
href="https://razorpay.com/docs/api/invoices/#fetch-multiple-invoices"
target="_blank">Fetch Invoices</a>
- <a href="https://razorpay.com/docs/api/invoices/#fetch-an-invoice"
target="_blank">Fetch Invoice by ID</a>
- <a href="https://razorpay.com/docs/api/invoices/#update-an-invoice"
target="_blank">Update an Invoice</a>
- <a href="https://razorpay.com/docs/api/invoices/#issue-an-invoice"
target="_blank">Issue an Invoice</a>
- <a href="https://razorpay.com/docs/api/invoices/#send-notifications"
target="_blank">Send or Resend Notification</a>
- <a href="https://razorpay.com/docs/api/invoices/#cancel-an-invoice"
target="_blank">Cancel an Invoice</a>
- <a href="https://razorpay.com/docs/api/invoices/#delete-an-invoice"
target="_blank">Delete an Invoice</a>
- name: Subscriptions APIs
description: >-
Enable recurring payment schedule, control the billing cycle and get
instant alerts on subscription activity with Razorpay Subscriptions.
You can create, fetch, query or cancel plans, subscriptions and add-ons
using the <a href="https://razorpay.com/docs/api/subscriptions"
target="_blank">Subscriptions API</a>.
## List of APIs
- <a href="https://razorpay.com/docs/api/subscriptions/#plans"
target="_blank">Plan APIs</a>
- <a href="https://razorpay.com/docs/api/subscriptions/#subscriptions"
target="_blank">Subscription APIs</a>
- <a href="https://razorpay.com/docs/api/subscriptions/#add-on"
target="_blank">Add-on APIs</a>
- name: Subscriptions APIs > Step 1 - Plans
description: >-
A plan is a foundation on which a subscription is built. It acts as a
reusable template and contains details of the goods or services offered,
the amount to be charged and the frequency at which the customer should be
charged (billing cycle). Depending upon your business, you can create
multiple plans with different billing cycles and pricing.
## List of APIs
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-a-plan-by-id)[Create
a Plan](https://razorpay.com/docs/api/subscriptions/#create-a-plan)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-a-plan-by-id)[Fetch
all Plans](https://razorpay.com/docs/api/subscriptions/#fetch-all-plans)
* [Fetch a Plan by
ID](https://razorpay.com/docs/api/subscriptions/#fetch-a-plan-by-id)
- name: Subscriptions APIs > Step 2 - Subscriptions
description: >-
Subscriptions allow you to charge a customer's card periodically. A
subscription ties a customer to a particular plan you have created. It
contains details like the plan, the start date, total number of billing
cycles, free trial period (if any) and upfront amount to be collected.
Know more about <a
href="https://razorpay.com/docs/api/subscriptions/#subscriptions">Subscriptions
APIs</a>.
## List of APIs
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Create
a
Subscription](https://razorpay.com/docs/api/subscriptions/#create-a-subscription)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Create
a Subscription
Link](https://razorpay.com/docs/api/subscriptions/#create-a-subscription-link)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Fetch
All
Subscriptions](https://razorpay.com/docs/api/subscriptions/#fetch-all-subscriptions)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Fetch
Subscription by
ID](https://razorpay.com/docs/api/subscriptions/#fetch-subscription-by-id)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Cancel
a
Subscription](https://razorpay.com/docs/api/subscriptions/#cancel-a-subscription)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Update
a
Subscription](https://razorpay.com/docs/api/subscriptions/#update-a-subscription)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Fetch
Details of a Pending
Update](https://razorpay.com/docs/api/subscriptions/#fetch-details-of-a-pending-update)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Cancel
an Update](https://razorpay.com/docs/api/subscriptions/#cancel-an-update)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Pause
a
Subscription](https://razorpay.com/docs/api/subscriptions/#pause-a-subscription)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Resume
a
Subscription](https://razorpay.com/docs/api/subscriptions/#resume-a-subscription)
*
[](https://betasite.razorpay.com/docs/postman-api-change/razorpay/api/subscriptions/#fetch-all-invoices-for-a-subscription)[Fetch
All Invoices for a
Subscription](https://razorpay.com/docs/api/subscriptions/#fetch-all-invoices-for-a-subscription)
- name: Subscriptions APIs > Add-ons
description: >-
You can create add-ons to charge the customer an extra amount for a
particular billing cycle. Once you create an add-on for a subscription, it
is added to the next invoice that is generated. On the next scheduled
charge, the customer is charged the add-on amount in addition to their
regular subscription amount.
Know more about <a
href="https://razorpay.com/docs/api/subscriptions/#add-on">Add-on
APIs</a>.
## List of APIs
* [Create an
Add-on](https://razorpay.com/docs/api/subscriptions/#create-an-add-on)
* [Fetch all
Add-ons](https://razorpay.com/docs/api/subscriptions/#fetch-all-add-ons)
* [Fetch an Add-on by
ID](https://razorpay.com/docs/api/subscriptions/#fetch-an-add-on-by-id)
* [Delete an
Add-on](https://razorpay.com/docs/api/subscriptions/#delete-an-add-on)
- name: Payment Links APIs
description: >-
Payment Links are URLs that you can send to your customers through SMS and
email to collect payments from them. Customers can click on the URL, which
opens the payment request page, and complete the payment using any of the
available payment methods.
You can easily set up and use Payment Links with these
[APIs](https://razorpay.com/docs/api/payment-links/).
## List of APIs
* [Standard Payment Links](https://razorpay.com/docs/api/payment-links/)
* [Custom Payment
Links](https://razorpay.com/docs/api/payment-links/customise/)
* [Advanced
Options](https://razorpay.com/docs/api/payment-links/advanced-options/)
- name: Payment Links APIs > Standard Payment Links
description: >-
Standard Payment Links are normal, non-customized Payment Links, which are
not customized as per your business preferences. Know more about these
[APIs](https://razorpay.com/docs/api/payment-links/).
## List of APIs
* [Create a Payment
Link](https://razorpay.com/docs/api/payment-links/#create-payment-link)
* [Update a Payment
Link](https://razorpay.com/docs/api/payment-links/#update-payment-link)
* [Cancel a Payment
Link](https://razorpay.com/docs/api/payment-links/#cancel-payment-link)
* [Fetch all Payment
Links](https://razorpay.com/docs/api/payment-links/#all-payment-links)
* [Fetch a Payment
Link](https://razorpay.com/docs/api/payment-links/#specific-payment-links-by-id)
* [Resend a Payment
Link](https://razorpay.com/docs/api/payment-links/#send-or-resend-notifications)
- name: Payment Links APIs > Custom Payment Links
description: >-
You can send standard payment links to customers via email and SMS. When
customers click on the payment link, they are redirected to a page hosted
by us where they can complete the payment.
The payment request page consists of two sections:
* Payment Details: Displays details about the payment description,
expiry date, payable amount and in case of partial payments, partial
amount paid and due.
* Checkout: Displays the Phone and Email fields and list the various
payment methods available.
You can customize this hosted page as per your brand and business
requirements. For example, you may display only specific payment methods,
change the colour of Checkout, and so on.
Know more about - <a
href="https://razorpay.com/docs/api/payment-links/customise">Custom
Payment Links</a>.
## **List of APIs**
* <a
href="https://razorpay.com/docs/api/payment-links/customise/checkout-theme/">Implement
Thematic Changes in Payment Links Checkout Section</a>
* <a
href="https://razorpay.com/docs/api/payment-links/customise/merchant-details/">Change
Business Name</a>
* <a
href="https://razorpay.com/docs/api/payment-links/customise/payment-methods/">Customize
Payment Methods</a>
* <a
href="https://razorpay.com/docs/api/payment-links/customise/prefill/">Prefill
Checkout Fields</a>
* <a
href="https://razorpay.com/docs/api/payment-links/customise/read-only/">Set
Checkout Fields as Read-Only</a>
* <a
href="https://razorpay.com/docs/api/payment-links/customise/rename-checkout-labels/">Rename
Labels in Checkout Section</a>
* <a
href="https://razorpay.com/docs/api/payment-links/customise/rename-payment-details-labels/">Rename
Labels in Payment Details Section</a>
- name: Payment Links APIs > Advanced Options
description: >-
You can perform advanced configuration on Payment Links to help achieve
your business requirements:
1. You can set up Payment Links so that payments made against the link
are automatically transferred to a linked account. This saves you the
additional step of making a Transfer API call later.
2. To attract and retain customers, you can provide promotional offers on
Payment Links such as discounts and cashback. Customers can avail these
offers while making payments using Payment Links.
3. You can use Razorpay Payment Links to perform third-party validation
of bank accounts provided by your customers.
## List of APIs
* [Transfer Payments Received Using Payment
Links](https://razorpay.com/docs/api/payment-links/advanced-options/transfers/)
* [Offers on Payment
Links](https://razorpay.com/docs/api/payment-links/advanced-options/offers/)
* [Third-party Validation on Payment
Links](https://razorpay.com/docs/api/payment-links/advanced-options/third-party-validation/)
- name: >-
Payment Links APIs > Advanced Options > Third Party Validation using
Netbanking and UPI
description: >-
Third-party validation is a process using which you can ensure that
customers make payments using only those bank accounts that they had
provided at the time of registration.
Know more about third-party validation using <a
href="https://razorpay.com/docs/api/payment-links/advanced-options/third-party-validation/"
target="_blank">Payment Links API</a>.
- name: Smart Collect
description: >-
Razorpay Smart Collect enables you to create virtual accounts to accept
large payments from your customers in the form of bank transfers via NEFT,
RTGS and IMPS.
Virtual accounts are similar to bank accounts wherein customers can
transfer payments. You can create, retrieve and close virtual accounts
using the Smart Collect APIs.
## List of APIs
* <a href="https://razorpay.com/docs/api/smart-collect/">Smart
Collect</a>
* <a href="https://razorpay.com/docs/api/smart-collect-tpv/">Smart
Collect-TPV</a>
- name: Smart Collect > Smart Collect -TPV
description: >-
Using Razorpay Smart Collect API, you can comply with the regulatory
guidelines to ensure that the customers make payments only from their
registered bank accounts (TPV). If payments are made from the unregistered
accounts (non-TPV), they are automatically refunded to the customers.
When you create a virtual account, send the allowed_payers array with the
customer's bank account_number and ifsc. This helps to identify TPV
transactions and automatically refund non-TPV transactions.
Know more about <a href="https://razorpay.com/docs/api/smart-collect-tpv/"
target="_blank">third-party validation</a>.
<b>List of APIs</b>:
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#create-virtual-account"
target="_blank">Create Virtual Account</a>
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#add-an-allowed-payer-account"
target="_blank">Add an Allowed Payer Account</a>
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#fetch-a-virtual-account-by-id"
target="_blank">Fetch a Virtual Account by ID</a>
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#fetch-all-virtual-accounts"
target="_blank">Fetch all Virtual Accounts</a>
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#fetch-payments-for-a-virtual-account"
target="_blank">Fetch Payments for a Virtual Account</a>
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#fetch-payment-details-using-id-and-transfer-method"
target="_blank">Fetch Payment Details using ID and Transfer Method</a>
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#delete-an-allowed-payer-account"
target="_blank">Delete an Allowed Payer Account</a>
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#refund-payments-made-to-a-virtual-account"
target="_blank">Refund Payments made to a Virtual Account</a>
- <a
href="https://razorpay.com/docs/api/smart-collect-tpv/#close-a-virtual-account"
target="_blank">Close a Virtual Account</a>
- name: Smart Collect > Smart Collect -TPV > Fetch Operations
- name: Smart Collect > Smart Collect
description: >-
This is the standard version of <a
href="https://razorpay.com/docs/api/smart-collect">Smart Collect APIs</a>.
## List of APIs
* [Create Virtual
Account](https://razorpay.com/docs/api/smart-collect/#create-virtual-account)
* [Fetch a Virtual Account by
ID](https://razorpay.com/docs/api/smart-collect/#fetch-a-virtual-account-by-id)
* [Fetch all Virtual
Accounts](https://razorpay.com/docs/api/smart-collect/#fetch-all-virtual-accounts)
* [Fetch Payments for a Virtual
Account](https://razorpay.com/docs/api/smart-collect/#fetch-payments-for-a-virtual-account)
* [Fetch Payment Details using ID and Transfer
Method](https://razorpay.com/docs/api/smart-collect/#fetch-payment-details-using-id-and-transfer-method)
* [Bank Transfer](https://razorpay.com/docs/api/smart-collect/#bank-transfer)
* [UPI](https://razorpay.com/docs/api/smart-collect/#upi)
* [Refund Payments made to a Virtual
Account](https://razorpay.com/docs/api/smart-collect/#refund-payments-made-to-a-virtual-account)
* [Add Receiver to an Existing Virtual
Account](https://razorpay.com/docs/api/smart-collect/#add-receiver-to-an-existing-virtual-account)
* [Close a Virtual
Account](https://razorpay.com/docs/api/smart-collect/#close-a-virtual-account)
- name: Smart Collect > Smart Collect > Create Virtual Accounts and VPAs
- name: Smart Collect > Smart Collect > Fetch Operations
- name: >-
Smart Collect > Smart Collect > Fetch Operations > Fetch Payment Details
using ID and Transfer Method
- name: Route APIs
description: >-
Razorpay Route enables you to split payments received using the Razorpay
Payment Gateway or other products (such as Payment Links, Payment Pages,
Invoices, Subscriptions and Smart Collect) and transfer the funds to your
vendors.
Know more about [Razorpay Route](https://razorpay.com/docs/route/).
## List of APIs
* [Create Transfers from
Orders](https://razorpay.com/docs/api/route/#create-transfers-from-orders)
* [Create Transfers from
Payments](https://razorpay.com/docs/api/route/#create-transfers-from-payments)
* [Direct
Transfers](https://razorpay.com/docs/api/route/#direct-transfers)
* [Fetch Transfers for a
Payment](https://razorpay.com/docs/api/route/#fetch-transfers-for-a-payment)
* [Fetch Transfer for an
Order](https://razorpay.com/docs/api/route/#fetch-transfer-for-an-order)
* [Fetch a
Transfer](https://razorpay.com/docs/api/route/#fetch-a-transfer)
* [Fetch Transfers for a
Settlement](https://razorpay.com/docs/api/route/#fetch-transfers-for-a-settlement)
* [Fetch Settlement
Details](https://razorpay.com/docs/api/route/#fetch-settlement-details)
* [Fetch Payments of a Linked
Account](https://razorpay.com/docs/api/route/#fetch-payments-of-a-linked-account)
* [Refund Payments and Reverse Transfer from a Linked
Account](https://razorpay.com/docs/api/route/#refund-payments-and-reverse-transfer-from-a-linked)
* [Reverse Transfers from all Linked
Accounts](https://razorpay.com/docs/api/route/#reverse-transfers-from-all-linked-accounts)
* [Hold Settlements For
Transfers](https://razorpay.com/docs/api/route/#hold-settlements-for-transfers)
* [Modify Settlement Hold for
Transfers](https://razorpay.com/docs/api/route/#modify-settlement-hold-for-transfers)
- name: Route APIs > Transfers API
description: >-
You can transfer funds to your linked accounts using the Razorpay Route
Transfer APIs. Know more about [transfers and related
fees](https://razorpay.com/docs/route/transfer-example).
## [Transfer
Requirements🔗](https://razorpay.com/docs/api/route/#transfer-requirements)
Below are the requirements to initiate a transfer:
* Your account must have sufficient funds to process the transfer to the
linked account. The transfer will fail in case of insufficient funds.
* You can only transfer the `captured` payments.
* You can create more than one transfer on a `payment_id`. However, the
total transfer amount should not exceed the captured payment amount.
* You cannot request a transfer on payment once a refund has been
initiated.
## [Types of
Transfers🔗](https://razorpay.com/docs/api/route/#types-of-transfers)
You can transfer funds to linked accounts using one of the following
methods:
* [Transfer via
Orders](https://razorpay.com/docs/api/route/#create-transfers-from-orders)
- You can set up a transfer at the time of order creation.
* [Transfer via
Payments](https://razorpay.com/docs/api/route/#create-transfers-from-payments)
- You can initiate a transfer once the payment has been received from the
customer.
* [Direct
Transfer](https://razorpay.com/docs/api/route/#direct-transfers) - You can
initiate a transfer directly from existing funds in your Razorpay account.
- name: Route APIs > Fetch Details
description: Know how to fetch details of transfers and settlements using APIs.
- name: Route APIs > Linked Account Settlements
description: Know how to hold transfer settlements and modify them using APIs.
- name: Route APIs > Refunds and Reversals
description: >-
Know how to refund payments to customers and reverse transfers from linked
accounts.
- name: Items APIs
description: >-
Items are products or services that you bill customers for by adding them
to an invoice. You can create an item using APIs. When an item is created,
it will appear on the list of items in the Dashboard.
Know more about [Items APIs](https://razorpay.com/docs/api/items/).
## **List of APIs**
* [Create an Item](https://razorpay.com/docs/api/items/#create-an-item)
* [Fetch an Item](https://razorpay.com/docs/api/items/#fetch-an-item)
* [Fetch Multiple
Items](https://razorpay.com/docs/api/items/#fetch-multiple-items)
* [Update an Item](https://razorpay.com/docs/api/items/#update-an-item)
* [Delete an Item](https://razorpay.com/docs/api/items/#delete-an-item)
- name: RazorpayX APIs
description: >-
RazorpayX supercharges your business banking experience. We help business
owners and finance teams automate manual, repetitive financial tasks and
provide insights into money flow.
Using RazorpayX, you can process:
* Refunds for customers.
* Salary payouts with automated statutory payments such as PF and TDS.
* Vendor payouts with automated TDS payments.
You can make timely payouts on RazorpayX using our developer-friendly
[APIs](https://razorpay.com/docs/api/razorpayx/).
## **List of APIs**
* [Account
Validation](https://razorpay.com/docs/api/razorpayx/account-validation/)
* [Contacts](https://razorpay.com/docs/api/razorpayx/contacts/)
* [Fund
Accounts](https://razorpay.com/docs/api/razorpayx/fund-accounts/)