CHANGE: At smartgateway-payment-links/docs/payment-links-via-api/session-api--payment-links by Debdeepa Karmakar #287
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[{"filePath":"https://github.com/juspay/juspay-sdk-integration-demo/blob/api-reference-hdfc/add-ons/payment-links/new-request.sh","text":"curl --location --request POST 'https://smartgatewayuat.hdfcbank.com/session' \\n--header 'Authorization: Basic base_64_encoded_api_key==' \\n--header 'x-merchantid: your_merchant_id' \\n--header 'Content-Type: application/json' \\n--data-raw '{\n "order_id": "testing-order-one",\n "amount": "2000.0",\n "currency" : "INR",\n "customer_id": "testing-customer-one",\n "customer_email": "[email protected]",\n "customer_phone": "9876543210",\n "payment_page_client_id": "your_client_id",\n "action": "paymentPage",\n "return_url": "https://shop.merchant.com",\n "description": "Complete your payment",\n "first_name": "John",\n "last_name": "wick",\n "payment_filter" : {\n "allowDefaultOptions": false,\n "options": [\n {\n "paymentMethodType": "NB",\n "enable": true\n },\n {\n "paymentMethodType": "UPI",\n "enable": true\n },\n {\n "paymentMethodType": "CARD",\n "enable": true\n },\n {\n "paymentMethodType": "WALLET",\n "enable" : true\n }\n ]\n },\n"options.create_mandate": "OPTIONAL",\n"mandate.max_amount": "4000.00",\n"mandate.start_date":"1699368604",\n"mandate.end_date":"1763971322",\n"mandate.frequency" : "MONTHLY",\n"metadata.expiryInMins" : "15",\n"source_object" : "PAYMENT_LINK",\n"udf1": "udf1-dummy",\n"udf2": "udf2-dummy",\n"udf3": "udf3-dummy",\n"udf4": "udf4-dummy",\n"udf6": "udf6-dummy",\n"udf5": "udf5-dummy",\n"udf7": "udf7-dummy",\n"udf8": "udf8-dummy",\n"udf9": "udf9-dummy",\n"udf10": "udf10-dummy",\n"send_mail": true,\n"send_sms" : true}'","sha":"c1246085459db0f1648523900fadf207e5906265"}]