CHANGE: At api-reference/docs/express-checkout/getcustomer by Garima Suryavanshi #511
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://raw.githubusercontent.com/juspay/juspay-sdk-integration-demo/api-reference/customer/get-customer/request.sh","text":"curl -X GET \\n https://api.hyperpg.in/customers/:customerid \\n -u your_api_key: \\n -H 'x-merchantid: merchant_id'\\n -H 'Content-Type: application/x-www-form-urlencoded'\","sha":"f1a9bde013db133c1959ce34e3a1045c7e4a6b63"},{"text":"curl -X GET \\n 'https://api.hyperpg.in/customers/:customer_id?options.get_client_auth_token=true' \\n-u your_api_key: \\n-H 'x-merchantid: merchant_id'","filePath":"https://raw.githubusercontent.com/juspay/juspay-sdk-integration-demo/api-reference/customer/get-customer/request-auth_token.sh","sha":"7b433deb1b04ed08e79214f8afa644c0ff622167"},{"text":"{\n "object_reference_id": "customer",\n "object": "customer",\n "mobile_number": "9999999999",\n "mobile_country_code": "91",\n "last_updated": "2020-03-17T14:29:17Z",\n "last_name": "al",\n "juspay": {\n "client_auth_token_expiry": "2020-03-17T14:45:26Z",\n "client_auth_token": "tkn_8649cd66d30c47728b8dd2fb6279a4cc"\n },\n "id": "cst_tooedar2k7j1d60b",\n "first_name": "name",\n "email_address": "[email protected]",\n "date_created": "2020-03-17T14:29:17Z"\n }","filePath":"https://raw.githubusercontent.com/juspay/juspay-sdk-integration-demo/api-reference/customer/get-customer/\nresponse-auth_token.json","sha":"4d1cd5aa4891314f39fca4477b765ef0d7b2cca3"},{"text":"curl -X POST https://api.hyperpg.in/customers\\n-u your_api_key:\\n-H 'x-merchantid: merchant_id'\\n-H 'Content-Type: application/x-www-form-urlencoded'\\n-d "object_reference_id=[email protected]"\\n-d "mobile_number=9988776655"\ \n-d "email_address=[email protected]"\\n-d "first_name=John"\\n-d "last_name=Smith"\\n-d "mobile_country_code=91"\\n-d"options.get_client_auth_token=true"\","filePath":"https://raw.githubusercontent.com/juspay/juspay-sdk-integration-demo/api-reference/customer/create-customer/\nrequest.sh","sha":"40d3579cf4a6a295531c67896d4da2af6ce3f043"},{"text":"curl -X POST https://api.hyperpg.in/customers/cst_om2l6ctlptxwxuzj \\n-u your_api_key: \\n-H 'Content-Type: application/x-www-form-urlencoded'\\n-d "mobile_number=9988776644" \ \n-d "email_address=[email protected]" \\n-d "first_name=Jon" \\n-d "last_name=Snow" \\n-d "mobile_country_code=91"","filePath":"https://raw.githubusercontent.com/juspay/juspay-sdk-integration-demo/api-reference/customer/update-customer/\nrequest.sh","sha":"e19a86cce05a27483de95a7ab85339db77fc7f36"},{"text":"{\n "udf9": "",\n "udf8": "",\n "udf7": "",\n "udf6": "",\n "udf5": "",\n "udf4": "",\n "udf3": "",\n "udf2": "",\n "udf10": "",\n "udf1": "",\n "status_id": 10,\n "status": "NEW",\n "return_url": "",\n "refunded": false,\n "product_id": "",\n "payment_links": {\n "web": "https://api.hyperpg.in/merchant/pay/ordeu_8bddad1e3b9c85eab3db4528575c01b",\n "mobile": "https://api.hyperpg.in/merchant/pay/ordeu_8bddad1e3b9c85eab3db4528575c01b?mobile=true",\n "iframe": "https://api.hyperpg.in/merchant/ipay/ordeu_8bddad1e3b9c485eab3db4528575c01b"\n },\n "order_id": "14183944763",\n "merchant_id": "merchantId",\n "juspay": {\n "client_auth_token_expiry": "2020-06-16T10:43:35Z",\n "client_auth_token": "tkn_753275c49a44a1a313eb2567f2fd6b"\n },\n "id": "ordeu_8bddad1e3b9c85eab3db4528575c01b",\n "date_created": "2020-06-16T10:28:35Z",\n "customer_phone": "9999999999",\n "customer_id": "1235677",\n "customer_email": "[email protected]",\n "currency": "INR",\n "amount_refunded": 0,\n "amount": 1\n}","filePath":"https://raw.githubusercontent.com/juspay/juspay-sdk-integration-demo/api-reference/orders/create-order/response-auth.json","sha":"161855c20c67ef9757d48605ac6b497f9df2464d"},{"text":"curl --location --request POST 'https://api.hyperpg.in/orders' \\n--header 'version: 2023-06-30' \\n--header 'Content-Type: application/x-www-form-urlencoded' \\n--header 'x-merchantid: merchant_id'\\n--header 'Authorization: Basic QTA0QT*******ODg1Og==' \\n--data-urlencode 'order_id=14183944763' \\n--data-urlencode 'amount=100.00' \\n--data-urlencode 'currency=INR' \\n--data-urlencode 'customer_id=guest_user_101' \\n--data-urlencode 'customer_email=[email protected]' \\n--data-urlencode 'customer_phone=9988665522' \\n--data-urlencode 'product_id=prod-141833' \\n--data-urlencode 'return_url=http://shop.merchant.com/payments/handleResponse' \\n--data-urlencode 'description=Sample description' \\n--data-urlencode 'billing_address_first_name=Juspay' \\n--data-urlencode 'billing_address_last_name=Technologies' \\n--data-urlencode 'billing_address_line1=Girija Building' \\n--data-urlencode 'billing_address_line2=Ganapathi Temple Road' \\n--data-urlencode 'billing_address_line3=8th Block, Koramangala' \\n--data-urlencode 'billing_address_city=Bengaluru' \\n--data-urlencode 'billing_address_state=Karnataka' \\n--data-urlencode 'billing_address_country=India' \\n--data-urlencode 'billing_address_postal_code=560095' \\n--data-urlencode 'billing_address_phone=9988775566' \\n--data-urlencode 'billing_address_country_code_iso=IND' \\n--data-urlencode 'shipping_address_first_name=Juspay' \\n--data-urlencode 'shipping_address_last_name=Technologies' \\n--data-urlencode 'shipping_address_line1=Girija Building' \\n--data-urlencode 'shipping_address_line2=Ganapathi Temple Road' \\n--data-urlencode 'shipping_address_line3=8th Block, Koramangala' \\n--data-urlencode 'shipping_address_city=Bengaluru' \\n--data-urlencode 'shipping_address_state=Karnataka' \\n--data-urlencode 'shipping_address_postal_code=560095' \\n--data-urlencode 'shipping_address_phone=9962881912' \\n--data-urlencode 'shipping_address_country_code_iso=IND' \\n--data-urlencode 'shipping_address_country=India' \\n--data-urlencode 'metadata.PAYTM:PROMO_CAMP_ID=xyz' \\n--data-urlencode 'metadata.PAYTM:CUST_ID=1234' \\n--data-urlencode 'metadata.PAYU:offer_key=1234' \\n--data-urlencode 'metadata.PAYU:gateway_reference_id=bus' \\n--data-urlencode 'options.get_client_auth_token=true' \\n--data-urlencode 'metadata.subvention_amount=90'\n","filePath":"https://raw.githubusercontent.com/juspay/juspay-sdk-integration-demo/api-reference/orders/create-order/request.sh","sha":"beb8603297f8629fd614524e22488efa73081b2d"}]