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

Patch 2 #576

Open
wants to merge 215 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
75d32f1
adding mandate registration files
ArbindaKrPrasad Oct 28, 2022
87106bb
adding mandate registration files
ArbindaKrPrasad Oct 28, 2022
122f36d
get mandate status files
ArbindaKrPrasad Oct 28, 2022
fc86243
mandate-recurring-code-added
ArbindaKrPrasad Nov 1, 2022
490b07f
Indentation change
ArbindaKrPrasad Dec 30, 2022
78b9d5d
Code Snippets for EC Integration
Feb 16, 2023
5795c70
Updated Code Snippets
Feb 16, 2023
bc8f9d0
Code Snippets for iOS
Feb 16, 2023
0ab4786
txn payloads added
Feb 16, 2023
f8a25da
lifecycle code snippets
Feb 16, 2023
5dfe6f4
misc code snippets
Feb 16, 2023
aa5c003
misc code snippets update
Feb 16, 2023
50e9e8f
misc code snippets updates
Feb 16, 2023
8eed48d
wallets code update
Feb 17, 2023
b57611c
create initiate payload updated
Feb 20, 2023
49f5cb8
misc
Feb 20, 2023
07bf31d
misc1
Feb 20, 2023
86d66d6
mandate-registration
Mar 29, 2023
2f2dd52
mandate-update
Mar 29, 2023
95bb59f
mandate-update2
Mar 29, 2023
ee32fc1
sandbox_to_prod
Apr 9, 2023
e898398
flutter
Apr 12, 2023
45ef91f
react_native
Apr 13, 2023
02e011a
cordova
Apr 14, 2023
72e4f5e
cordova2
Apr 14, 2023
84954f1
cordova3
Apr 14, 2023
5afdea6
dashboard
Apr 24, 2023
af42e0c
intro
Apr 25, 2023
1e6c577
token
Apr 26, 2023
62fc4d3
payout
Apr 27, 2023
390aa72
customer
Apr 27, 2023
cf0b58f
payout
Apr 29, 2023
11a0110
payv3
Apr 30, 2023
c0c00f8
intro
Apr 30, 2023
03defe6
gpay
Apr 30, 2023
7d8dff0
orders
May 3, 2023
468b228
wallet
May 5, 2023
720dda1
wallets
Ankit-Jain11 May 5, 2023
26941c0
Merge pull request #1 from juspay/master
Ankit-Jain11 May 9, 2023
010d765
payv3
May 9, 2023
9799b1a
test
May 9, 2023
3d36866
mandates
May 9, 2023
63d6197
upi
May 10, 2023
5ac1296
offers
Ankit-Jain11 May 13, 2023
04ec61e
bank-account-api
Ankit-Jain11 May 13, 2023
74e393e
UPI
Ankit-Jain11 May 13, 2023
06cff49
cred-pay
Ankit-Jain11 May 17, 2023
0080b0e
cred-app-check
Ankit-Jain11 May 17, 2023
0ff3c4b
outages
Ankit-Jain11 May 18, 2023
f3380a5
dotp
May 23, 2023
faa3e10
refund-order
May 26, 2023
1366e73
new-mandate-api
May 26, 2023
9618428
session-api-v1
May 30, 2023
2908890
session-api
May 30, 2023
52f2b05
webhooks
Jun 2, 2023
0fde2fd
webhooks-structure
Jun 2, 2023
0b21adf
rename
Jun 2, 2023
15b342b
notification-api
Jun 19, 2023
bae7098
status-verification
Jun 21, 2023
3052b65
add-ons
Jun 21, 2023
39ce4ce
requests
Jun 24, 2023
b55336b
upi
Jun 24, 2023
7f04406
gpay
Jun 24, 2023
03b17a9
drafts
Jun 24, 2023
28506a7
refunds
Jun 24, 2023
7a578bf
atm
Jun 24, 2023
eaae5ec
payouts
Jun 27, 2023
4b902c2
rename
Jun 27, 2023
54b528b
mandates-order-create
Jun 27, 2023
2b6098d
upi-json
Jun 28, 2023
938fe14
webhooks-new
Jun 28, 2023
8c33170
new-responses
Jun 28, 2023
d3fe72b
formatting
Jun 30, 2023
6faed57
version
Jul 3, 2023
b79bc54
response
Aug 7, 2023
c3b4c0a
change: github>juspay>juspay-sdk-integration-demo>api-reference>payou…
kadrolkar Aug 8, 2023
1d69da6
Merge pull request #78 from juspay/aditya.kadrolkar-1691492367713
ArbindKrPrasad Aug 8, 2023
e942ec9
linkerror
Aug 10, 2023
6e0f54b
payment-form
Aug 16, 2023
d2f566a
create-order
Aug 17, 2023
db5f7c3
payment-forms
Aug 17, 2023
e327073
new-webhooks
Aug 21, 2023
e96bf33
change: github>juspay>juspay-sdk-integration-demo>api-reference>payou…
kadrolkar Aug 31, 2023
35b7fcc
change: github>juspay>juspay-sdk-integration-demo>api-reference>payou…
kadrolkar Aug 31, 2023
d7a38f3
change: github>juspay>juspay-sdk-integration-demo>api-reference>payou…
kadrolkar Aug 31, 2023
fcdc527
Merge pull request #88 from juspay/aditya.kadrolkar-1693473033396
ArbindKrPrasad Aug 31, 2023
6cb9dda
Create webhooks-sample-request.sh
ArbindKrPrasad Sep 8, 2023
7d00d94
Create gateway-ref.sh
Ankit-Jain11 Sep 11, 2023
083d5d8
Update gateway-ref.sh
Ankit-Jain11 Sep 11, 2023
c1b3ce2
3ds
Sep 26, 2023
a302b58
restructure
Sep 26, 2023
dab42b6
order-status
Sep 29, 2023
790b2b8
date-created
Sep 29, 2023
fba7586
wallet-changes
Sep 29, 2023
bb4dfaf
webhooks
Oct 3, 2023
fe43972
basic-auth
Oct 4, 2023
b951d0f
tokenization
Oct 5, 2023
c7ebcd6
json-correction
Oct 6, 2023
f7b37fc
change: github>juspay>juspay-sdk-integration-demo>api-reference>order…
deepesh7dm Oct 9, 2023
5cd8338
Merge pull request #121 from juspay/deepesh.maheshwari-1696837872809
Ankit-Jain11 Oct 9, 2023
6eb4c5e
mandates
Oct 10, 2023
3d1c73b
change: github>juspay>juspay-sdk-integration-demo>api-reference>upi/c…
deepesh7dm Oct 11, 2023
3ac70b4
change: github>juspay>juspay-sdk-integration-demo>api-reference>upi/c…
deepesh7dm Oct 11, 2023
ea965ab
change: github>juspay>juspay-sdk-integration-demo>api-reference>manda…
aklankjuspay Oct 11, 2023
1eba723
Merge pull request #124 from juspay/aklank.jain-1697028643194
Ankit-Jain11 Oct 11, 2023
c95c8ae
change: github>juspay>juspay-sdk-integration-demo>api-reference>manda…
atul-pandey-juspay Oct 11, 2023
c4df55b
Merge pull request #125 from juspay/atul.pandey-1697033558840
Ankit-Jain11 Oct 11, 2023
6ed68e1
Merge pull request #123 from juspay/deepesh.maheshwari-1697008513235
Ankit-Jain11 Oct 11, 2023
45c93d6
check-status
Oct 17, 2023
a25c5b2
alt-id
Oct 17, 2023
eb2e2b2
change: github>juspay>juspay-sdk-integration-demo>api-reference>offer…
Oct 18, 2023
28bd992
change: github>juspay>juspay-sdk-integration-demo>api-reference>offer…
Oct 18, 2023
ba59777
change: github>juspay>juspay-sdk-integration-demo>api-reference>offer…
Oct 19, 2023
6013556
change: github>juspay>juspay-sdk-integration-demo>api-reference>offer…
Oct 19, 2023
7030c17
Merge pull request #134 from juspay/anasuya.c-1697630258094
Ankit-Jain11 Oct 19, 2023
7feed5a
moto
Oct 19, 2023
35b181d
change: github>juspay>juspay-sdk-integration-demo>api-reference>order…
Oct 20, 2023
59b417b
change: github>juspay>juspay-sdk-integration-demo>api-reference>order…
Oct 20, 2023
c1379a8
change: github>juspay>juspay-sdk-integration-demo>api-reference>order…
Oct 20, 2023
93e761b
Merge pull request #136 from juspay/japnit.sidhu-1697794075390
Ankit-Jain11 Oct 20, 2023
08c02f3
change: github>juspay>juspay-sdk-integration-demo>api-reference>order…
Oct 20, 2023
fd8a3bc
Merge pull request #137 from juspay/japnit.sidhu-1697800063246
Ankit-Jain11 Oct 20, 2023
f984eff
upi-mandates
Oct 25, 2023
03632e3
curl-update
Oct 25, 2023
043944e
upi-intent
Oct 25, 2023
f07f37a
rename
Oct 25, 2023
cf74fc4
change: github>juspay>juspay-sdk-integration-demo>api-reference>payou…
kadrolkar Oct 25, 2023
a53f57a
session-v2
Oct 26, 2023
ea81271
Merge pull request #143 from juspay/aditya.kadrolkar-1698248664701
Ankit-Jain11 Oct 30, 2023
80a4f6f
pm-outages
Oct 31, 2023
a4d09b6
change: github>juspay>juspay-sdk-integration-demo>api-reference>manda…
Nov 1, 2023
aefa213
Merge pull request #145 from juspay/balaji.b-1698822315781
Ankit-Jain11 Nov 1, 2023
9f1a9f7
change: github>juspay>juspay-sdk-integration-demo>api-reference>offer…
Nov 7, 2023
9fa4752
change: github>juspay>juspay-sdk-integration-demo>api-reference>offer…
Nov 7, 2023
3aa8908
change: github>juspay>juspay-sdk-integration-demo>api-reference>offer…
Nov 7, 2023
3ed2c1a
Merge pull request #149 from juspay/pranesh.kumar-1699355823778
Ankit-Jain11 Nov 7, 2023
735913b
Update response.json
Ankit-Jain11 Nov 16, 2023
6b0ad04
Update request.sh
Ankit-Jain11 Nov 16, 2023
19fc134
updates
Nov 19, 2023
c8560d9
updates2
Nov 19, 2023
e94a52b
advanced
Nov 19, 2023
9936dd8
change: github>juspay>juspay-sdk-integration-demo>api-reference>manda…
Ankit-Jain11 Nov 20, 2023
3b00a3c
Merge pull request #169 from juspay/ankit.jain-1700456747176
Ankit-Jain11 Nov 20, 2023
809f64b
change: github>juspay>juspay-sdk-integration-demo>api-reference>manda…
aklankjuspay Nov 20, 2023
cbe50a9
Merge pull request #177 from juspay/aklank.jain-1700463268819
Ankit-Jain11 Nov 24, 2023
1b20e96
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
5676593
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
a7eee6a
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
1c55fdb
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
edbb9ec
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
61eedb4
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
2b9ad54
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
f06282b
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
a031655
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
32c6590
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
cbf2d4e
change: github>juspay>juspay-sdk-integration-demo>api-reference>card/…
Nov 28, 2023
5b0b0e7
Merge pull request #179 from juspay/udit.khandelwal-1701173973206
Ankit-Jain11 Nov 28, 2023
6015716
alt-id
Nov 28, 2023
523e0a3
fix
Nov 28, 2023
da0bd73
Create request.json
Ankit-Jain11 Nov 29, 2023
6acf0a0
fingerprint-v2
Dec 1, 2023
9bc3739
Update request-card-no.json
Ankit-Jain11 Dec 1, 2023
3799c4e
curl
Dec 1, 2023
0941331
update
Dec 2, 2023
cb0cf9d
Create non-ec-pci
rubaijuspay99 Dec 12, 2023
e4c2fcf
Delete tokenization/non-ec-pci
rubaijuspay99 Dec 12, 2023
c1014bc
Create test.txt
rubaijuspay99 Dec 12, 2023
cca5126
Add files via upload
rubaijuspay99 Dec 12, 2023
df8dd64
Delete tokenization/non-ec-pci/test.txt
rubaijuspay99 Dec 12, 2023
bcec82d
Add files via upload
rubaijuspay99 Dec 19, 2023
3d2d8aa
end-points
Dec 21, 2023
c785823
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
Advait316 Dec 22, 2023
8df0ac5
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
Advait316 Dec 22, 2023
3427368
Merge pull request #205 from juspay/advait.mahesh-1703249088556
rubaijuspay99 Dec 22, 2023
e89e72e
Update request.sh
rubaijuspay99 Feb 1, 2024
2a9bac2
Update request.sh
rubaijuspay99 Feb 9, 2024
dc6b4a9
Update request.sh
rubaijuspay99 Feb 9, 2024
84049c4
Update request.sh
rubaijuspay99 Feb 9, 2024
e5d7a09
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
222fca2
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
e38193f
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
bc090cc
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
fdc6e45
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
6924b02
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
dc03c13
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
774684e
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
61abdc5
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
0a42cde
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
6163a28
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
35d7988
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
64dbffa
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
7d59424
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
e388942
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
7db0bcb
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
kdebdeepa Feb 21, 2024
60de46a
Merge pull request #265 from juspay/debdeepa.karmakar-1708502097065
rubaijuspay99 Feb 21, 2024
8df2373
PLs
rubaijuspay99 Mar 21, 2024
b451261
endpoints
rubaijuspay99 Mar 21, 2024
d02f64c
CHANGE: At smartgateway-payment-links/docs/payment-links-via-api/sess…
rubaijuspay99 Mar 27, 2024
a6f29a0
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
rubaijuspay99 Mar 27, 2024
2c733de
CHANGE: At smartgateway-payment-links/docs/payment-links-via-api/sess…
rubaijuspay99 Mar 29, 2024
53510a0
CHANGE: At smartgateway-tranportal-integration/docs/tranportal-integr…
rubaijuspay99 Jun 11, 2024
2ca11c8
endpoint changes
rubaijuspay99 Jun 28, 2024
7d201a7
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
rubaijuspay99 Jun 28, 2024
597af91
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
rubaijuspay99 Jun 28, 2024
b124c3c
CHANGE: At smartgateway-mandate-integration/docs/express-checkout/pau…
rubaijuspay99 Jun 28, 2024
60ccb71
mandate status
rubaijuspay99 Jun 28, 2024
b1ffa16
mandate status
rubaijuspay99 Jun 28, 2024
1b75857
CHANGE: At smartgateway-tranportal-integration/docs/tranportal-integr…
rubaijuspay99 Jul 1, 2024
4fc9881
CHANGE: At smartgateway-mandate-integration/docs/express-checkout/man…
rubaijuspay99 Jul 9, 2024
2b4f30e
Update request-collect.sh (#525)
srikanthjuspay Jul 11, 2024
f7c0516
Update request-intent.sh (#526)
srikanthjuspay Jul 11, 2024
7183285
Update request.sh (#570)
srikanthjuspay Jul 30, 2024
1fe7e1f
change: github>juspay>juspay-sdk-integration-demo>api-reference-hdfc>…
rubaijuspay99 Jul 30, 2024
eab3a72
Update intent.sh update (#575)
kdebdeepa Jul 31, 2024
22929e4
Update intent.sh
kdebdeepa Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions Wallet/authenticate/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
curl -X POST https://smartgateway.hdfcbank.com/wallets/$wallet_id \
-u your_api_key: \
-d "command=authenticate"
9 changes: 9 additions & 0 deletions Wallet/authenticate/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "wlt_q23xzki3pazgtezo",
"object": "wallet_account",
"wallet": "MOBIKWIK",
"token": null,
"current_balance": null,
"linked": false,
"last_refreshed": null
}
13 changes: 13 additions & 0 deletions Wallet/create-wallet/mobile_number.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"id": "wlt_yvuidaocnaupkvz3",
"object": "wallet_account",
"wallet": "MOBIKWIK",
"token": null,
"current_balance": null,
"linked": false,
"last_refreshed": null,
"metadata": {
"mobile_number": "9999999999"
},
"gateway_reference_id": null
}
5 changes: 5 additions & 0 deletions Wallet/create-wallet/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl -X POST https://smartgateway.hdfcbank.com/customers/$customer_id/wallets \
-u your_api_key: \
-h "version=2023-06-30"
-d "gateway=MOBIKWIK" \
-d "command=authenticate"
9 changes: 9 additions & 0 deletions Wallet/create-wallet/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "wlt_q23xzki3pazgtezo",
"object": "wallet_account",
"wallet": "MOBIKWIK",
"token": null,
"current_balance": null,
"linked": false,
"last_refreshed": null
}
3 changes: 3 additions & 0 deletions Wallet/delink-wallet/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
curl -X POST https://smartgateway.hdfcbank.com/wallets/$wallet_id \
-u your_api_key: \
-d "command=delink"
17 changes: 17 additions & 0 deletions Wallet/delink-wallet/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"wallet": "PAYTM",
"token": null,
"last_refreshed": null,
"object": "wallet_account",
"id": "wlm_vNb87tTUvbb86bD",
"current_balance": null,
"sub_details": [
{
"payment_method": "PAYTM",
"payment_method_type": "WALLET",
"last_refreshed": null,
"current_balance": null
}
],
"linked": false
}
13 changes: 13 additions & 0 deletions Wallet/eligibility/error.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"payment_methods_eligibility": [
{
"status": "USER_NOT_FOUND",
"payment_method_type": "WALLET",
"payment_method": "OLAPOSTPAID",
"is_eligible": false,
"gateway_error_code": "OC_011",
"gateway_error_message": "user not found",
"description": "Olapostpaid Wallet"
}
]
}
5 changes: 5 additions & 0 deletions Wallet/eligibility/request-amount.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl -X POST \
https://smartgateway.hdfcbank.com/customers/testcustomer/eligibility \
-H 'Authorization: Basic NkY4Q****MzNzQ1Og==' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'amount=1'
5 changes: 5 additions & 0 deletions Wallet/eligibility/request-gateway-data.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl --location --request POST 'https://smartgateway.hdfcbank.com/customers/testcustomer/eligibility' \
--header 'Authorization: Basic NTlEQzNG****QzE1Og==' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'amount=1' \
--data-urlencode 'gateway_data={"SIMPL" : {"payload":"rtyuyhgrfde34r5ty6u7i765gty"}'
6 changes: 6 additions & 0 deletions Wallet/eligibility/request-gateway-id.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
curl --location --request POST 'https://smartgateway.hdfcbank.com/customers/testcustomer/eligibility' \
--header 'Authorization: Basic NTlEQzNG****QzE1Og==' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'amount=1' \
--data-urlencode 'gateway_data={"SIMPL" : {"payload":"rtyuyhgrfde34r5ty6u7i765gty"}'\
--data-urlencode 'gateway_reference_id=test'
4 changes: 4 additions & 0 deletions Wallet/eligibility/request-order-id.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --location --request POST 'https://smartgateway.hdfcbank.com/customers/testwallet145/eligibility' \
--header 'Authorization: Basic NTlEQzNG****QzE1Og==' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'order_id=test1234'
34 changes: 34 additions & 0 deletions Wallet/eligibility/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"payment_methods_eligibility": [
{
"status": "SUCCESS",
"payment_method_type": "WALLET",
"payment_method": "LAZYPAY",
"is_eligible": true,
"eligibility_strategy": "TRANSACTION",
"due_date": "03 December 2019",
"description": "Lazy Pay Wallet"
},
{
"status": "SUCCESS",
"payment_method_type": "WALLET",
"payment_method": "OLAPOSTPAID",
"is_eligible": true,
"gateway_error_message": "Ola Postpaid available",
"gateway_error_code": "OC_000",
"eligibility_strategy": "TRANSACTION",
"description": "Ola Postpaid Wallet"
},
{
"status": "SUCCESS",
"payment_method_type": "WALLET",
"payment_method": "SIMPL",
"is_eligible": true,
"gateway_error_message": "linking_required",
"gateway_error_code": "linking_required",
"eligibility_strategy": "USER",
"description": "Simpl Wallet",
"balance": 0
}
]
}
2 changes: 2 additions & 0 deletions Wallet/get-wallet/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
curl -X GET https://smartgateway.hdfcbank.com/wallets/$wallet_id \
-u your_api_key:
9 changes: 9 additions & 0 deletions Wallet/get-wallet/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "wlt_q23xzki3pazgtezo",
"object": "wallet_account",
"wallet": "MOBIKWIK",
"token": "tok_winysteev9eftrwcv6me",
"current_balance": 250,
"linked": "true",
"last_refreshed": "2016-08-02T08:07:52+0000"
}
5 changes: 5 additions & 0 deletions Wallet/link-wallet/error.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"error_message": "OTP is required while linking wallet.",
"status": "Invalid Request",
"error_code": "Invalid"
}
4 changes: 4 additions & 0 deletions Wallet/link-wallet/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl -X POST https://smartgateway.hdfcbank.com/wallets/$wallet_id \
-u your_api_key: \
-d "command=link"
-d "otp=345678"
9 changes: 9 additions & 0 deletions Wallet/link-wallet/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"id": "wlt_q23xzki3pazgtezo",
"object": "wallet_account",
"wallet": "MOBIKWIK",
"token": "tok_winysteev9eftrwcv6me",
"current_balance": 250,
"linked": true,
"last_refreshed": "2016-08-01T08:07:52+0000"
}
21 changes: 21 additions & 0 deletions Wallet/list-wallets/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"object": "list",
"list": [
{
"id": "wlt_d10hncoc6xldk",
"object": "wallet_account",
"wallet": "PAYTM",
"token": null,
"current_balance": null,
"linked": false,
"last_refreshed": null,
"metadata": {
"mobile_number": "9999999999"
},
"gateway_reference_id": null
}
],
"count": 1,
"offset": 0,
"total": 1
}
2 changes: 2 additions & 0 deletions Wallet/list-wallets/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
curl -X GET https://smartgateway.hdfcbank.com/customers/guest_user/wallets \
-u your_api_key:
50 changes: 50 additions & 0 deletions Wallet/list-wallets/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"list": [
{
"wallet": "MOBIKWIK",
"token": "tk_bkc87beikjcnlblc87asa897sb8anisjkl8b",
"last_refreshed": "2023-09-11T08:29:47Z",
"juspay_bank_code": "JP_MOBIKWIK",
"object": "wallet_account",
"id": "wlm_Giuln7b8Uy78uyhjI",
"current_balance": 100,
"sub_details": [
{
"payment_method": "MOBIKWIK",
"payment_method_type": "WALLET",
"last_refreshed": "2023-09-11T08:29:47Z",
"current_balance": 100
}
],
"linked": true
},
{
"wallet": "PAYTM",
"token": "tk_biknby8976v567uygjkhvc5x3789h0npou",
"last_refreshed": "2023-09-11T08:29:46Z",
"juspay_bank_code": "JP_PAYTM",
"object": "wallet_account",
"id": "wlm_vUtyjb78klnU8l",
"current_balance": 45,
"sub_details": [
{
"payment_method": "PAYTM_POSTPAID",
"payment_method_type": "WALLET",
"last_refreshed": "2023-09-11T08:29:46.985Z",
"current_balance": 22250
},
{
"payment_method": "PAYTM",
"payment_method_type": "WALLET",
"last_refreshed": "2023-09-11T08:29:46Z",
"current_balance": 45
}
],
"linked": true
}
],
"offset": 0,
"count": 2,
"total": 2,
"object": "list"
}
4 changes: 4 additions & 0 deletions Wallet/refresh-all/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
curl --location --request GET 'https://smartgateway.hdfcbank.com/customers/cth_eN4e4kR12CJV/wallets/refresh-balances' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'version: 2023-06-30' \
--header 'Authorization: Basic NTlEQ****QzE1Og=='
59 changes: 59 additions & 0 deletions Wallet/refresh-all/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"list": [
{
"wallet": "MOBIKWIK",
"token": "tk_ecbio8b69p8aiojdnap9b8u ",
"last_refreshed": "2023-09-11T08:29:47Z",
"juspay_bank_code": "JP_MOBIKWIK",
"object": "wallet_account",
"metadata": {
"mobile_number": "9999999999"
},
"id": "wlm_vT890Ngjknnknb89",
"current_balance": 100,
"gateway_reference_id": null,
"sub_details": [
{
"payment_method": "MOBIKWIK",
"payment_method_type": "WALLET",
"last_refreshed": "2023-09-11T08:29:47Z",
"current_balance": 100
}
],
"linked": true
},
{
"wallet": "PAYTM",
"token": "tk_csdjcbsd678ovsyfowe9f8nsjdncbs86va",
"last_refreshed": "2023-09-11T08:29:46Z",
"juspay_bank_code": "JP_PAYTM",
"object": "wallet_account",
"metadata": {
"device_id": "blUutbvo76578u",
"mobile_number": "9999999999"
},
"id": "wlm_blUutbvo76578u",
"current_balance": 95,
"gateway_reference_id": null,
"sub_details": [
{
"payment_method": "PAYTM_POSTPAID",
"payment_method_type": "WALLET",
"last_refreshed": "2023-09-11T08:29:46.985Z",
"current_balance": 22222
},
{
"payment_method": "PAYTM",
"payment_method_type": "WALLET",
"last_refreshed": "2023-09-11T08:29:46Z",
"current_balance": 95
}
],
"linked": true
}
],
"offset": 0,
"count": 2,
"total": 2,
"object": "list"
}
3 changes: 3 additions & 0 deletions Wallet/refresh-wallet/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
curl -X POST https://smartgateway.hdfcbank.com/wallets/$wallet_id \
-u your_api_key: \
-d "command=refresh"
17 changes: 17 additions & 0 deletions Wallet/refresh-wallet/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"wallet": "MOBIKWIK",
"token": "tkn_bceo87bpefjwlbfcv86vq8bxiwyen3",
"last_refreshed": "2023-09-11T08:26:15.000Z",
"object": "wallet_account",
"id": "wlm_bBJb6i6bjhvgnc",
"current_balance": 100,
"sub_details": [
{
"payment_method": "MOBIKWIK",
"payment_method_type": "WALLET",
"last_refreshed": "2023-09-11T08:26:15Z",
"current_balance": 100
}
],
"linked": true
}
5 changes: 5 additions & 0 deletions Wallet/topup/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
curl -X POST https://smartgateway.hdfcbank.com/wallets/$wallet_id/topup \
-u your_api_key: \
-d "amount=1.00"
-d "topup_txn_id=topup_sdj4kjr8"
-d "return_url=https://shop.merchant.com/payments/handleResponse"
6 changes: 6 additions & 0 deletions Wallet/topup/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"topup_txn_id": "topup_sdj4kjr8",
"wallet_id": "wlt_q23xzki3pazgtezo",
"status": "PENDING",
"payment_url": "https://smartgateway.hdfcbank.com/wallets/topup/start/wtpup_g6kasufbfsre1ntb"
}
6 changes: 6 additions & 0 deletions Wallet/update-mobile/request.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
curl --location --request POST 'https://smartgateway.hdfcbank.com/wallets/wlt_yvuidaupkvz3' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'version: 2023-06-30' \
--header 'Authorization: Basic MTkx*****RGODBDNDg2Og==' \
--data-urlencode 'command=update' \
--data-urlencode 'mobile_number=7777777777'
13 changes: 13 additions & 0 deletions Wallet/update-mobile/response.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"id": "wlt_yvuidaupkvz3",
"object": "wallet_account",
"wallet": "PAYTM",
"token": null,
"current_balance": null,
"linked": false,
"last_refreshed": null,
"metadata": {
"mobile_number": "7777777777"
},
"gateway_reference_id": null
}
Loading