Skip to content

Error 404 when DELETE a payment #18

@miketran78727

Description

@miketran78727

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions