# Ifthenpay API

**Canonical:** https://apis.io/apis/ifthenpay-com/ifthenpay-com-api/  
**Provider:** Ifthenpay — https://apis.io/providers/ifthenpay-com/  
**Base URL:** https://api.ifthenpay.com  
**Documentation:** https://www.ifthenpay.com/docs/en/api/pbl

Ifthenpay API is published by [Ifthenpay](https://apis.io/providers/ifthenpay-com/) on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Ifthenpay API as documented publicly: 17 operations. Contract generated from the documentation by API Evangelist (2026-11-12); not the provider's own document.

## Operations (17)

| Method | Path | Summary |
|---|---|---|
| POST | `/api/v1/auth/token` | Generate a JWT bearer token |
| POST | `/directdebit/api/v1/auth/token` | POST /directdebit/api/v1/auth/token |
| GET | `/get` | Request a new PAYSHOP payment reference |
| GET | `/getPayments` | Retrieve List of Payments - SOAP (1.1 and 1.2) |
| GET | `/getPaymentsJsonV2` | Retrieve List of Payments - JSON​ |
| GET | `/getPaymentsXml` | Retrieve List of Payments - XML |
| GET | `/getsandbox` | Request a new PAYSHOP payment reference in sandbox mode |
| GET | `/mbway/status` | check payment status |
| POST | `/multibanco/reference/init` | POST /multibanco/reference/init |
| GET | `/payment/status/` | Check Payment Status |
| POST | `/spg/payment/mbway` | POST /spg/payment/mbway |
| GET | `/status.php` | GET /status.php |
| POST | `/v2/callback/activation` | POST /v2/callback/activation |
| POST | `/v2/payments/read` | POST /v2/payments/read |
| POST | `/v2/payments/refund` | POST /v2/payments/refund |
| POST | `/{gatewayKey}` | request a new payment link and a pinpay code |
| POST | `/{gatewayKey}/{requestStatus}` | enable or disable pay by link and pinpay |

## Machine-readable artifacts (8)

- **OpenAPI** — https://artifacts.apis.io/ifthenpay-com/openapi/_ae-authored/ifthenpay-com-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/ifthenpay-com/json-schema/ifthenpay-com-post-v2-payments-read-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/ifthenpay-com/json-schema/ifthenpay-com-get-getpaymentsjsonv2-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/ifthenpay-com/json-schema/ifthenpay-com-post-v2-payments-read-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/ifthenpay-com/json-schema/ifthenpay-com-post-multibanco-reference-init-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/ifthenpay-com/json-schema/ifthenpay-com-post-multibanco-reference-init-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/ifthenpay-com/json-schema/ifthenpay-com-post-spg-payment-mbway-request-schema.json
- **APIsJSON** — https://artifacts.apis.io/ifthenpay-com/apis.yml

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/ifthenpay-com/ifthenpay-com-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/ifthenpay-com/.
