Usage
Returns
Parameters
id (required)
- Type:
string
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Pinata SDK x402.paymentInstructions.delete removes a payment instruction from your Pinata account so its associated CIDs are no longer monetized.
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"
);
type PaymentInstructionDeleteResponse = {
data: {};
};
stringconst result = await pinata.x402.deletePaymentInstruction(
"01234567-89ab-cdef-0123-456789abcdef"
);