Skip to content

Commit

Permalink
Added new upi flow Requests for Mandates (#528)
Browse files Browse the repository at this point in the history
* Create upi_intent_new_mandates.sh

* Create upi_collect_new_mandate.sh
  • Loading branch information
aklankjuspay authored Jul 12, 2024
1 parent 0813ec1 commit 97704ba
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api-reference/mandates/transactions/upi_collect_new_mandate.sh
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 api-reference/mandates/transactions/upi_intent_new_mandates.sh
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'

0 comments on commit 97704ba

Please sign in to comment.