# Examples

### Gateways

* [Paypal. Create gateway](/payum/examples/1-paypal-create-gateway.md)
* [Paypal. Capture](/payum/examples/2-paypal-capture.md)
* [Paypal. Redirects](/payum/examples/3-paypal-redirects.md)
* [Get status](/payum/examples/4-get-status.md)
* [Stripe.Js. Create gateway](/payum/examples/5-stripe-js-create-gateway.md)
* [Stripe.Js. Capture](/payum/examples/6-stripe-js-capture.md)
* [Stripe.Js. Render form](/payum/examples/7-stripe-js-render-form.md)
* [Stripe. Credit card](/payum/examples/8-stripe-credit-card.md)

### Scripts

These scripts shows you how to fill the gap betwen an http request that comes to you, a refund for example and the payum gateway. It is expected that you copy\past the script to your code and reuse it for all gateways without changes.

* [Capture](/payum/examples/capture-script.md)
* [Authorise](/payum/examples/authorise-script.md)
* [Purchase is done](/payum/examples/done-script.md)
* [Refund](/payum/examples/refund-script.md)
* [Notify](/payum/examples/notify-script.md)
* [Payout](/payum/examples/payout-script.md)


---

# 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://payum.gitbook.io/payum/examples.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.
