Remove a payment method

Content

Resource URL

https://apps.ticketmatic.com/api/1/{accountname}/settings/ticketsales/paymentmethods/{id}

Description

Payment methods are archivable: this call won’t actually delete the object from the database. Instead, it will mark the object as archived, which means it won’t show up anymore in most places.

Most object types are archivable and can’t be deleted: this is needed to ensure consistency of historical data.

Example

Request

1use Ticketmatic\Endpoints\Settings\Ticketsales\Paymentmethods;
2
3Paymentmethods::delete($client, $id);

Response

This operation does not return a response. The status can be checked by looking at the HTTP status code.

Request

1import (
2    "github.com/ticketmatic/tm-go/ticketmatic"
3    "github.com/ticketmatic/tm-go/ticketmatic/settings/ticketsales/paymentmethods"
4)
5
6err := paymentmethods.Delete(client, id)

Response

This operation does not return a response. The status can be checked by looking at the HTTP status code.

Request

1DELETE /api/1/{accountname}/settings/ticketsales/paymentmethods/{id} HTTP/1.1

Response

This operation does not return a response. The status can be checked by looking at the HTTP status code.