-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added new upi flow Requests for Mandates (#528)
* Create upi_intent_new_mandates.sh * Create upi_collect_new_mandate.sh
- Loading branch information
1 parent
0813ec1
commit 97704ba
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
api-reference/mandates/transactions/upi_collect_new_mandate.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
curl --location 'https://api.juspay.in/txns' \ | ||
--header 'Content-Type: application/x-www-form-urlencoded' \ | ||
--header 'Authorization: Basic MzJCNDM3QTZCNUI0OEE5OUEwQTQ4ODU4RDNCQzU1Og==' \ | ||
--data-urlencode 'order_id=test_4_aj' \ | ||
--data-urlencode 'merchant_id=mandate_juspay' \ | ||
--data-urlencode 'payment_method_type=UPI' \ | ||
--data-urlencode 'payment_method=UPI_COLLECT' \ | ||
--data-urlencode 'redirect_after_payment=true' \ | ||
--data-urlencode 'format=json' \ | ||
--data-urlencode 'should_create_mandate=true' \ | ||
--data-urlencode 'mandate_type=EMANDATE' |
12 changes: 12 additions & 0 deletions
12
api-reference/mandates/transactions/upi_intent_new_mandates.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
curl --location 'https://api.juspay.in/txns' \ | ||
--header 'Content-Type: application/x-www-form-urlencoded' \ | ||
--header 'Authorization: Basic MzJCNDMg==' \ | ||
--data-urlencode 'order_id=test_aj' \ | ||
--data-urlencode 'merchant_id=mandate_juspay' \ | ||
--data-urlencode 'payment_method_type=UPI' \ | ||
--data-urlencode 'payment_method=UPI_PAY' \ | ||
--data-urlencode 'redirect_after_payment=true' \ | ||
--data-urlencode 'format=json' \ | ||
--data-urlencode 'sdk_params=true' \ | ||
--data-urlencode 'should_create_mandate=true' \ | ||
--data-urlencode 'mandate_type=EMANDATE' |