---
title: "Void an offline pay-by-link order"
method: POST
path: "/v2/instore/paybylink/orders/{token}/void"
tags: ["Instore"]
---

# Void an offline pay-by-link order

`POST /v2/instore/paybylink/orders/{token}/void`

Void the instore order, for example if a customer wishes to cancel. Any authorizations or held funds for the pay-by-link order are released.

## Path parameters

- `token` string, string, required

## Request body

- object
  - `merchantOperatorId` string — Identifier of the POS operator.
  - `requestId` string — Unique identifier for the void request.

## Response `200`

Pay-by-link order voided successfully.

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.dev/scalapay/apis/scalapay-api.md) · [All operations](https://skmtc.dev/scalapay/apis/scalapay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalapay/apis/scalapay-api/revisions/c43238b80cb9?raw)
