# Introduction

Welcome to the FlexShopper API. We're excited to partner with you!

There are two ways to integrate with FlexShopper:

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Medusa</strong></td><td>A powerful REST API that you can call from anywhere.</td><td><a href="integration-guides/medusa">medusa</a></td><td><a href="https://4176832357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjXJ1xrzW7EjxBfTqGsM2%2Fuploads%2Fgit-blob-f36e7816c943a903e85170351fd280dc3403c531%2Fserver-card-bg.png?alt=media">server-card-bg.png</a></td></tr><tr><td><strong>Payment Plugin</strong></td><td>A comprehensive iframe for your web app.</td><td><a href="integration-guides/payment-plugin">payment-plugin</a></td><td><a href="https://4176832357-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjXJ1xrzW7EjxBfTqGsM2%2Fuploads%2Fgit-blob-79ec33124bab177581f6572b0f968021cac8f2f6%2Fbrowser-card-bg.png?alt=media">browser-card-bg.png</a></td></tr></tbody></table>

## Medusa

[Medusa](https://dev.flexshopper.com/medusa/integration-guides/medusa), our REST API, is suitable for you either if you don't have a **web** application, or if you're simply seeking more control over your visual interface. Medusa enables you to integrate with FlexShopper while preserving your own application's look and feel.

{% hint style="success" %}
We strongly recommend using the Medusa integration.
{% endhint %}

{% content-ref url="integration-guides/medusa" %}
[medusa](https://dev.flexshopper.com/medusa/integration-guides/medusa)
{% endcontent-ref %}

## Payment Plugin

[Payment Plugin](https://dev.flexshopper.com/medusa/integration-guides/payment-plugin), the suite of web components and iframe, is suitable for you if you already have a customer-facing **web** application UI. This integration is typically the easiest of the two, but requires you to already have a web application to embed Payment Plugin into as an iframe.

{% content-ref url="integration-guides/payment-plugin" %}
[payment-plugin](https://dev.flexshopper.com/medusa/integration-guides/payment-plugin)
{% endcontent-ref %}


---

# 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://dev.flexshopper.com/medusa/readme.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.
