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

CHANGE: At api-reference/docs/express-checkout/getcustomer by Garima Suryavanshi #511

Open
wants to merge 7 commits into
base: api-reference
Choose a base branch
from

Conversation

rubaijuspay99
Copy link
Contributor

[{"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"}]

…mer/get-customer/request.sh @ api-reference/docs/getcustomer by Garima Suryavanshi
…mer/get-customer/request-auth_token.sh @ api-reference/docs/getcustomer by Garima Suryavanshi
…mer/get-customer/

response-auth_token.json @ api-reference/docs/getcustomer by Garima Suryavanshi
…mer/create-customer/

request.sh @ api-reference/docs/createcustomer by Garima Suryavanshi
…mer/update-customer/

request.sh @ api-reference/docs/updatecustomer by Garima Suryavanshi
…s/create-order/response-auth.json @ api-reference/docs/create-order-api by Garima Suryavanshi
…s/create-order/request.sh @ api-reference/docs/create-order-api by Garima Suryavanshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants