-
Notifications
You must be signed in to change notification settings - Fork 794
Closed
Description
I used the python sample code for listing payments and it worked great. I am wondering if deleting a payment is possible with version 1 API. I got error 404 with this code:
connection = httplib.HTTPSConnection('connect.squareup.com')
request_headers = {'Authorization': 'Bearer ' + access_token,
'Accept': 'application/json',
'Content-Type': 'application/json'}
request_path = "/v1/" + locationID + "/payments/" + id
connection.request('DELETE', request_path, '', request_headers)
Metadata
Metadata
Assignees
Labels
No labels