# Instructions

Visit the [instructions directory in our github repo](https://github.com/seabed-labs/pre-authorized-debit/tree/main/programs/pre-authorized-debit-v1/src/instructions) for an in-depth review or you can visit one of the following sections for an overview of each. Note that the IDL information can be found in the [Anchor IDL](/open-source-primitives/pre-authorized-debit-v1/program/anchor-idl.md) section.&#x20;

1. [Init Smart Delegate](/open-source-primitives/pre-authorized-debit-v1/program/instructions/init-smart-delegate.md) - Create the singleton smart delegate PDA
2. [Init Pre Authorization](/open-source-primitives/pre-authorized-debit-v1/program/instructions/init-pre-authorization.md) - Create a pre-authorization (recurring or one-time)
3. [Close Pre Authorization](/open-source-primitives/pre-authorized-debit-v1/program/instructions/close-pre-authorization.md) - Cancel an existing pre-authoriztion
4. [Update Pause Pre Authoriztion](/open-source-primitives/pre-authorized-debit-v1/program/instructions/update-pause-pre-authorization.md) - Pause/Unpause an existing pre-authorization
5. [Debit](/open-source-primitives/pre-authorized-debit-v1/program/instructions/debit.md) - Debit funds via a pre-authorization from a token account


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seabed.so/open-source-primitives/pre-authorized-debit-v1/program/instructions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
