| Subject |
Interface To Suare |
| From |
Michael <michael@itntgroup.com.au> |
| Date |
Thu, 10 Dec 2020 04:14:53 -0500 |
| Newsgroups |
dbase.getting-started |
Hi Guys,
I havent done much work in this area but I have seen some code floating around which looks simple enough.
However, I always seem to have trouble with the Tokens, Can someone help with some code to Post this Curl code from Dbase,
curl https://connect.squareupsandbox.com/v2/devices/codes \
-X POST \
-H 'Square-Version: 2020-11-18' \
-H 'Authorization: Bearer EAAAEOJ-BwWS_3lC-r06cFzv0veA9Vc0MmRV08Ei0jFKFS9Mi8UB87zm1n1pvBsa' \
-H 'Content-Type: application/json' \
-d '{
"idempotency_key": "cc2404c4-48b5-4864-a81a-9b4418869565",
"device_code": {
"product_type": "TERMINAL_API"
}
}'
Thank you,
Michael
|
|