Created
July 21, 2016 17:59
-
-
Save darilldrems/5741d4cbcf8532e4276f2e8468c60357 to your computer and use it in GitHub Desktop.
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
//to generate qr code for a product | |
POST curl https://pwcstaging.herokuapp.com/product/getQrCode | |
-H "Authorization: Bearer [access_token_here]" | |
-d merchant_id=jeeh | |
-d name=hgfh | |
-d description=selling that thing | |
-d amount_locked=true //can be true or false | |
-d amount=10000 | |
-d image=fhfggfjfghghgg //A base64 encode image string | |
//to get generated qr code using product ref | |
POST curl https://pwcstaging.herokuapp.com/product/getQrCode | |
-H "Authorization: Bearer [access_token_here]" | |
-d product_id=7363647 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment