Cancel the outstanding payment request for the order

Content

Resource URL

https://apps.ticketmatic.com/api/1/{accountname}/orders/{id}/paymentrequest

Description

A payment request can only be cancelled when its status is open.

Example

Request

1use Ticketmatic\Endpoints\Orders;
2
3Orders::cancelpaymentrequest($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/orders"
4)
5
6err := orders.Cancelpaymentrequest(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}/orders/{id}/paymentrequest HTTP/1.1

Response

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