Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Documentation Lotuspay #652

Merged
merged 1 commit into from
Aug 20, 2024
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
3 changes: 3 additions & 0 deletions documentation/Core_Resources/Source/List/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
$ curl https://api-test.lotuspay.com/v1/sources?limit=10 \
-u sk_test_XjIHowXWSI23uvjepz2X82: \
-G
24 changes: 24 additions & 0 deletions documentation/Core_Resources/Source/List/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"object": "list",
"url": "/v1/mandates",
"has_more": false,
"data": [
{
"id": "SC004433221AA",
"reference1": "test1"
},
{
"id": "SC004433221BB",
"reference1": "test2"
},
{
"id": "SC004433221CC",
"reference1": "test3"
},
{
"id": "SC004433221DD",
"reference1": "test4"
}
]
}

2 changes: 2 additions & 0 deletions documentation/Core_Resources/Source/Process/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$ curl https://api-test.lotuspay.com/v1/sources/SC004433221AA/process \
-u sk_test_xd22123sxlkadsf8wjbkx:
52 changes: 52 additions & 0 deletions documentation/Core_Resources/Source/Process/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"id": "SC004433221AA",
"object": "source",
"created": 1530224170,
"livemode": true,
"metadata": {
},
"client_secret": null,
"date_submitted": null,
"date_withdrawn": null,
"flow": "redirect",
"nach_debit": {
"amount_collection": null,
"amount_maximum": 10000,
"category_code": "L001",
"category_description": "Loan installment amount",
"creditor_agent_code": "HDFC",
"creditor_agent_name": "HDFC BANK",
"creditor_agent_mmbid": "HDFC0999999",
"creditor_name": "LOTUSPAY SOLUTIONS PVT LTD",
"creditor_utility_code": "NACH00000000005549",
"date_first_collection": "2023-09-16",
"date_final_collection": null,
"date_of_mandate": "2023-09-15",
"debtor_agent_code": "ICIC",
"debtor_agent_name": "ICICI BANK",
"debtor_agent_mmbid": "ICIC0000001",
"debtor_account_name": "AMIT JAIN",
"debtor_account_number": "****5678",
"debtor_account_type": "savings",
"debtor_email": "[email protected]",
"debtor_mobile": "9123456789",
"debtor_pan": null,
"debtor_phone": null,
"frequency": "MNTH",
"instrument": "DEBIT",
"occurrence_sequence_type": "RCUR",
"reference1": "LOAN_ID_123",
"reference2": null,
"variant": "physical"
},
"origin": "API",
"redirect": {
},
"type": "nach_debit",
"status": "pending_submission",
"agent": null,
"bank_account": null,
"customer": null,
"mandate": null,
"nach_profile": "NP00AABBCC1122"
}
2 changes: 2 additions & 0 deletions documentation/Core_Resources/Source/Reminder/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$ curl https://api-test.lotuspay.com/v1/sources/SC004433221AA/send_reminder_email \
-u sk_test_xd22123sxlkadsf8wjbkx:
3 changes: 3 additions & 0 deletions documentation/Core_Resources/Source/Reminder/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"success": "Reminder email sent to the customer"
}
2 changes: 2 additions & 0 deletions documentation/Core_Resources/Source/Search/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$ curl https://api-test.lotuspay.com/v1/sources/search/id/3322 \
-u sk_test_XjIHowXWSI23uvjepz2X82:
24 changes: 24 additions & 0 deletions documentation/Core_Resources/Source/Search/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"object": "list",
"url": "/v1/sources",
"has_more": false,
"data": [
{
"id": "SC004433221AA",
"reference1": "test1"
},
{
"id": "SC004433221BB",
"reference1": "test2"
},
{
"id": "SC004433221CC",
"reference1": "test3"
},
{
"id": "SC0044332211DD",
"reference1": "test4"
}
]
}

2 changes: 2 additions & 0 deletions documentation/Core_Resources/Source/Withdraw/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$ curl https://api-test.lotuspay.com/v1/sources/SC004433221AA/withdraw \
-u sk_test_xd22123sxlkadsf8wjbkx:
52 changes: 52 additions & 0 deletions documentation/Core_Resources/Source/Withdraw/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"id": "SC004433221AA",
"object": "source",
"created": 1530224170,
"livemode": true,
"metadata": {
},
"client_secret": null,
"date_submitted": null,
"date_withdrawn": "2022-01-01",
"flow": "redirect",
"nach_debit": {
"amount_collection": null,
"amount_maximum": 10000,
"category_code": "L001",
"category_description": "Loan installment amount",
"creditor_agent_code": "HDFC",
"creditor_agent_name": "HDFC BANK",
"creditor_agent_mmbid": "HDFC0999999",
"creditor_name": "LOTUSPAY SOLUTIONS PVT LTD",
"creditor_utility_code": "NACH00000000005549",
"date_first_collection": "2023-09-16",
"date_final_collection": null,
"date_of_mandate": "2023-09-15",
"debtor_agent_code": "ICIC",
"debtor_agent_name": "ICICI BANK",
"debtor_agent_mmbid": "ICIC0000001",
"debtor_account_name": "AMIT JAIN",
"debtor_account_number": "****5678",
"debtor_account_type": "savings",
"debtor_email": "[email protected]",
"debtor_mobile": "9123456789",
"debtor_pan": null,
"debtor_phone": null,
"frequency": "MNTH",
"instrument": "DEBIT",
"occurrence_sequence_type": "RCUR",
"reference1": "LOAN_ID_123",
"reference2": null,
"variant": "physical"
},
"origin": "API",
"redirect": {
},
"type": "nach_debit",
"status": "withdrawn",
"agent": null,
"bank_account": null,
"customer": null,
"mandate": null,
"nach_profile": "NP00AABBCC1122"
}