> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinata.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# delete

Delete a payment instruction

## Usage

```typescript theme={null}
import { PinataSDK } from "pinata";

const pinata = new PinataSDK({
  pinataJwt: process.env.PINATA_JWT!,
  pinataGateway: "example-gateway.mypinata.cloud",
});

const result = await pinata.x402.deletePaymentInstruction(
  "01234567-89ab-cdef-0123-456789abcdef"
);
```

## Returns

```typescript theme={null}
type PaymentInstructionDeleteResponse = {
  data: {};
};
```

## Parameters

### id (required)

* Type: `string`

The unique identifier of the payment instruction to delete

```typescript theme={null}
const result = await pinata.x402.deletePaymentInstruction(
  "01234567-89ab-cdef-0123-456789abcdef"
);
```
