{"openapi":"3.0.3","info":{"title":"Fintech API Suite","version":"1.0.0","description":"The **Fintech API Suite** lets you onboard sub-merchants and collect payments on their behalf: payment links (cards, Apple Pay, Google Pay and pay-by-bank), single and recurring SEPA Direct Debits, refunds, balances and instant payouts. It also reads the bank accounts of your users, with their authorization (AIS).\n\nOpen the sections below for the rules of each area: every endpoint then describes its own parameters, responses and errors.\n\n<details><summary><strong>How the API works</strong></summary>\n\n#### Authentication\n\nSend your token in the `Authorization: Bearer <token>` header. The token must include the scope of every endpoint you call: requests without a valid token are refused with HTTP 401.\n\n#### Records, state and status\n\nEvery resource is a record identified by an `id` of 24 hexadecimal characters and owned by your account: you can read and change only the records you created, and the records of other accounts are reported as not found.\n\nEach record has a `state`, common to all the resources, and a `status`, described in the section of each resource.\n\n| state | meaning |\n|---|---|\n| `NEW` | Record created, processing not started or not completed yet. |\n| `WAIT` | Waiting for an external event: the merchant completing the identity verification, the payer paying, the bank collecting a debit, the user authorizing access to their bank. |\n| `DONE` | Final: `status` gives the outcome. |\n\n#### Following the updates\n\nOperations that depend on an external event are asynchronous. You can follow them in two ways:\n\n* **Polling**: while a record is not `DONE`, `GET /{resource}/{id}` reads the latest situation from the payment network (or from the bank, for AIS) before answering. Changes that come after `DONE` (a merchant suspended, a late payment of an expired link, a chargeback) are applied when the network notifies them: the next `GET` returns them. Payouts are not updated after their creation.\n* **Callback**: pass a `callback` object when you register a merchant or create a payment, and the updated record is sent to your URL whenever its status changes.\n\n#### Amounts and dates\n\nPayment, refund, balance and payout amounts are integers in the minor unit of the currency (cents): `1000` = 10.00 EUR. The Japanese yen (`JPY`) has no minor unit: `1000` = 1000 JPY. AIS amounts (bank balances and transactions) are decimal numbers in the major unit, as provided by the bank: `-42.5` = -42.50 EUR.\n\nDates sent in requests use the `YYYY-MM-DD` format. Timestamps in responses are ISO 8601, in UTC.\n\n#### Lists\n\nList endpoints return the most recently updated records first (payouts: the most recently created) and accept `skip` (default 0) and `limit` (default and maximum 100).\n\n#### Creation endpoints\n\nThe request is validated first: invalid parameters are refused with error 550 and nothing is created, as with the other errors returned before the request is sent to the payment network (e.g. insufficient credit, merchant not enabled). Once sent, `POST /register-merchant`, `POST /pis`, `POST /sdd`, `POST /ais-lite` and `POST /ais` return the created record: if the network refuses it or cannot process it, the record is returned with `state` `DONE`, `status` `error` and the reason in `error`. `POST /payout/{id}` creates a payout only when the network accepts it: otherwise it returns an error and records nothing.\n\n</details>\n\n<details><summary><strong>Errors</strong></summary>\n\nErrors are returned with `success: false`, a descriptive `message` and an `error` code.\n\n| error | HTTP | meaning |\n|---|---|---|\n| 141 | 415 | The request body is not valid JSON. |\n| 510 | 406 | Missing identifier. |\n| 520 | 406 | Malformed identifier. |\n| 530 | 404 | Record not found (or owned by another account). |\n| 540 | 400 | Rejected by the payment or bank network: `message` explains why. Nothing was executed. |\n| 541 | 502 | The outcome could not be confirmed (timeout during a refund or a payout). **Do not retry**: follow the instructions of the endpoint. |\n| 542 | 503 | Service temporarily unavailable: retry later (repeating the same request is safe). |\n| 550 | 400 | Invalid parameters: `message` names the field and the rule. |\n| 560 | 409 | Not allowed in the current state of the record or of the merchant (e.g. refund of a pending payment). |\n| 611 | 402 | The request could not be charged: nothing was started (AIS). |\n| 670 | 402 | Insufficient credit to cover the price of the request or the fair-usage surcharge. Nothing was executed. |\n\n</details>\n\n<details><summary><strong>Fees</strong></summary>\n\n**Fees charged to the merchant.** The fees of the payments are charged to the merchant receiving the funds:\n\n| operation | fee |\n|---|---|\n| Payment link paid with pay-by-bank (`BANK`) | 0.19 € per payment |\n| Payment link paid by card | 0.04 € + 0.13% of the amount |\n| SEPA Direct Debit (a single debit, or each charge of a recurring debit) | 1.60 € + 0.25% of the amount |\n| Direct debit not collected because the payer's account has insufficient funds | 8.50 € |\n| Refund | 0.50 € per refund |\n| Platform maintenance | 3.50 € per month, covered by the fees (see below) |\n\n**Platform maintenance.** Every month the merchant owes at least 3.50 € in fees. The fees of the payments it receives in the month count towards this amount: when they reach 3.50 €, nothing else is due; otherwise the difference up to 3.50 € is invoiced to the merchant. For example, a merchant with 2.10 € of fees in a month is invoiced 1.40 €, while a merchant with 12.00 € of fees pays nothing more.\n\n**Charges to your account.** AIS requests are charged to your account, once for every bank authorization link created (see *Account Information (AIS)*). The other endpoints are free within the fair-usage limits of your plan; beyond them, each call is charged the fair-usage surcharge.\n\n</details>\n\n<details><summary><strong>Merchant Onboarding</strong></summary>\n\nRegister the merchants that receive your payments and follow their identity verification (KYC).\n\n**Flow**\n\n1. `POST /register-merchant` registers the merchant (status `registered_pending_kyc_link`).\n2. The merchant is reviewed and pre-approved (status `accepted`). In the sandbox pre-approval is immediate.\n3. Call `GET /merchant/{id}`: when the merchant is pre-approved (`accepted`) or pre-active (`pre_active`) the response contains `onboardingUrl`, the identity verification page. Redirect the merchant to it **immediately**: the link is valid for 10 minutes and can be opened once. If it has expired, call `GET /merchant/{id}` again: a new link is generated when the previous one is older than 10 minutes.\n4. When the verification is completed the merchant becomes `active` (`state` `DONE`): it can receive payments and request payouts. Progress and pending requests of the verification are reported in `kycDetails`.\n\nWith a `callback`, the merchant is sent to your URL at every status change and every update of `kycDetails`.\n\n**Statuses**\n\n| status | state | meaning |\n|---|---|---|\n| `registered_pending_kyc_link` | NEW | Registered, waiting for pre-approval. |\n| `validation` | (unchanged) | Data under validation. |\n| `waiting` | WAIT | Under review. |\n| `accepted` | WAIT | Pre-approved: complete the identity verification through `onboardingUrl`. |\n| `pre_active` | WAIT | Verification in progress or awaiting final activation. |\n| `active` | DONE | Fully enabled. |\n| `suspended` | DONE | Temporarily suspended: payments and payouts are blocked. |\n| `deactivated` | DONE | Deactivated. |\n| `rejected` | DONE | Onboarding rejected. |\n| `error` | DONE | The registration could not be completed: see `error`. |\n\nPayments, payouts and changes of the payment methods are refused (error 560) for a merchant that has not completed the registration or is `suspended`, `deactivated`, `rejected` or `error`.\n\n**Legal entity type.** Use `organization` for incorporated companies (Srl, SpA, Snc, cooperatives, associations, foundations) and `soleProprietorship` for sole traders and freelancers with a VAT number (e.g. Italian *ditta individuale* or *libero professionista*): in this case `ownerFirstName` and `ownerLastName` are required. Natural persons without a business cannot be onboarded.\n\n**Industry code (NAICS).** `industryCode` is a **NAICS** code (2 to 6 digits), not an ATECO/NACE code. Convert the merchant's ATECO code to NAICS using the official correspondence tables before registering: for example ATECO `56.10` (restaurants) corresponds to NAICS `722511` (full-service restaurants). Send the most specific code available: a code unknown to the network is classified under its closest parent category. Some restricted industries always require a manual compliance review, so their onboarding takes longer.\n\n**Annual revenue band (`yearlyRevenueId`).** The band of the merchant's annual revenue:\n\n| yearlyRevenueId | Annual revenue (EUR) |\n|---|---|\n| 1 | 0 - 5,000 |\n| 2 | 5,001 - 10,000 |\n| 3 | 10,001 - 20,000 |\n| 4 | 20,001 - 50,000 |\n| 5 | 50,001 - 100,000 |\n| 6 | 100,001 - 200,000 |\n| 7 | 200,001 - 500,000 |\n| 8 | 500,001 - 1,000,000 |\n| 9 | 1,000,001 - 2,000,000 |\n| 10 | 2,000,001 - 5,000,000 |\n| 11 | 5,000,001 - 10,000,000 |\n| 12 | 10,000,001 - 20,000,000 |\n| 13 | 20,000,001 - 50,000,000 |\n| 14 | 50,000,001 - 100,000,000 |\n| 15 | 100,000,001 - 200,000,000 |\n| 16 | 200,000,001 - 500,000,000 |\n| 17 | 500,000,001 - 1,000,000,000 |\n| 18 | 1,000,000,001 - 2,000,000,000 |\n| 19 | 2,000,000,001 - 5,000,000,000 |\n| 20 | 5,000,000,001 - 10,000,000,000 |\n| 21 | 10,000,000,001 - 20,000,000,000 |\n| 22 | 20,000,000,001 - 50,000,000,000 |\n| 23 | 50,000,000,001 - 100,000,000,000 |\n| 24 | 100,000,000,001 - 200,000,000,000 |\n| 25 | 200,000,000,001 - 500,000,000,000 |\n| 26 | 500,000,000,001 - 1,000,000,000,000 |\n\n**VAT number.** `vatNumber` is optional but strongly recommended: it prevents the same merchant from being registered twice by your account. A number with digits only is prefixed with the `country` code.\n\n</details>\n\n<details><summary><strong>Merchant Configuration</strong></summary>\n\nPayment methods enabled for each merchant.\n\nA payment method can be used only when it is enabled for the merchant. `GET /merchant-configuration/{id}` lists the enabled methods (Apple Pay and Google Pay are never listed), `PATCH /merchant-configuration/{id}` enables or disables them. The same codes are used by `paymentMethods` of `POST /pis`.\n\n| code | method (type) | used by |\n|---|---|---|\n| `VIS`, `ECA`, `AMX`, `DIN`, `JCB`, `DIS`, `MAU`, `CUP` | Card brands (`card`): Visa, Mastercard, American Express, Diners, JCB, Discover, Maestro, UnionPay | `POST /pis` |\n| `BANK` | Pay-by-bank (`pay_by_bank`) | `POST /pis` |\n| `APL` | Apple Pay (`apple_pay`) | `POST /pis` |\n| `GPA` | Google Pay (`google_pay`) | `POST /pis` |\n| `SEPA` | SEPA Direct Debit (`sepa_direct_debit`) | `POST /sdd` |\n\n**SEPA Direct Debit activation.** SEPA Direct Debit must be activated for each merchant before its first use: send `PATCH /merchant-configuration/{id}` with `{\"paymentMethods\": [{\"type\": \"sepa_direct_debit\", \"enabled\": true}]}`. No other data is needed. The activation is reviewed: until it is approved the method is returned with status `pending` (repeating the request returns `pending` again). Once approved, the method is listed by `GET /merchant-configuration/{id}` (code `SEPA`) and `POST /sdd` can be used. Disabling it is immediate.\n\n</details>\n\n<details><summary><strong>Balance & Payouts</strong></summary>\n\nMerchant balances and instant withdrawals to the merchant bank account.\n\n`GET /balance/{id}` returns the merchant balances by category. The same data is also returned in `balance` by `GET /merchant/{id}`.\n\n| category | meaning |\n|---|---|\n| `processing` | Operating balance: payouts are taken from its `available` amount. |\n| `reserve`, `risk_reserve` | Security deposits. |\n| `instant_payout_advance` | Amounts held for instant payouts. |\n\n`POST /payout/{id}` transfers funds from the available operating balance to the default bank account set by the merchant during onboarding (listed in `payoutAccounts`) with an **instant bank transfer**, in EUR. The payout `status` is the one reported when the transfer is submitted and is not updated afterwards: check the arrival of the transfer on the bank account.\n\n</details>\n\n<details><summary><strong>Payment Links (PIS)</strong></summary>\n\nPayment links paid by card (Apple Pay and Google Pay included) or pay-by-bank.\n\n`POST /pis` creates a payment link (`initiationUrl`) and credits the funds to the merchant. Send the link to the payer: on the payment page they choose one of the offered methods and pay.\n\n**Payment methods.** `paymentMethods` lists the methods offered on the page, by code or name (see *Merchant Configuration*). `card` offers every card brand enabled for the merchant. When `paymentMethods` is omitted the page offers cards and pay-by-bank (`[\"card\", \"BANK\"]`). Every method must be enabled for the merchant, otherwise the link is returned with status `error`. SEPA Direct Debit is not offered on links: use `POST /sdd`.\n\n**Currencies.** `currency` (default `EUR`) is one of `EUR`, `USD`, `GBP`, `CHF`, `CAD`, `RON`, `JPY`, `DKK`, `PLN`, `SEK`, `NOK`. Cards, Apple Pay and Google Pay accept all of them, while pay-by-bank (`BANK`) accepts EUR only: a link offering pay-by-bank in another currency is refused (error 550). Pay-by-bank is offered by default, so a payment in a currency other than EUR needs `paymentMethods` without `BANK` (e.g. `[\"card\"]`).\n\n**Card subscription.** With `subscriptionOnCompletion`, once the payment succeeds a card subscription is started on the same card: `subscriptionOnCompletion.amount` is charged every `monthsFrequency` months, `totalNumberOfPayments` times, from `startingDate`. The link `amount` is the first, upfront payment. The subscription is available only when the link offers cards only: omit `paymentMethods` (the link then offers cards) or send only `card` and card brand codes. Apple Pay, Google Pay and pay-by-bank are refused (error 550). The card is saved by the payment network only when the payment starts a subscription. The subscription charges are collected automatically and are not returned as payments by this API.\n\n**Validity.** The link is valid for **30 days** (`expiresAt`) or until a payment succeeds. Failed or cancelled attempts do not invalidate it: the payer can retry with the same link and the payment stays `pending`. Card payments are captured immediately.\n\n**Fees.** Each payment costs the merchant 0.19 € when paid with pay-by-bank and 0.04 € + 0.13% of the amount when paid by card (see *Fees*).\n\n**Statuses**\n\n| status | state | meaning |\n|---|---|---|\n| `pending` | WAIT | Link active, waiting for the payment. |\n| `completed` | DONE | Paid. An `expired` link paid at the last moment becomes `completed` when the payment is confirmed. |\n| `partially_refunded` | DONE | Paid, part of the amount refunded (`refundedAmount`). |\n| `refunded` | DONE | Fully refunded. |\n| `charged_back` | DONE | The payer disputed the payment and the amount was returned to them. |\n| `expired` | DONE | The link expired without a successful payment. |\n| `error` | DONE | The link could not be created: see `error`. |\n\nWith a `callback`, the payment is sent to your URL when its status changes after the creation.\n\n**Sandbox.** Links can be created for registered merchants even if their identity verification is not completed; payments are simulated.\n\n</details>\n\n<details><summary><strong>SEPA Direct Debit</strong></summary>\n\nSingle and recurring debits of the payer's bank account.\n\nA SEPA Direct Debit collects money directly from a bank account in the SEPA area: there is no payment page and the payer does not confirm the payment. `POST /sdd` debits `debtorIban` in EUR and credits the merchant. Debit an account only with the authorization of its holder.\n\n**Before the first debit.** SEPA Direct Debit must be activated for the merchant (see *Merchant Configuration*). Until the activation is approved, debits are returned with status `error`.\n\n**Debited account.** `debtorIban` is the IBAN of an account in a SEPA country of the European Economic Area, and `debtorName` is the account holder name registered at the bank. Before debiting, the pair is verified with the payer's bank (Verification of Payee): a mismatch rejects the debit (status `error`), while a pair the bank cannot verify does not block it.\n\n**Bank statement.** `description` is the text shown on the payer's bank statement, at most 150 characters.\n\n**Settlement and disputes.** SEPA debits are settled in the following days: a debit stays `pending` until the payer's bank collects it (`completed`) or refuses it (`failed`). The payer can dispute a debit through their bank within 8 weeks: the amount is returned to them and the payment becomes `charged_back`.\n\n**Fees.** Each debit costs the merchant 1.60 € + 0.25% of the amount, for single debits and for every charge of a recurring debit. A debit not collected because the payer's account has insufficient funds costs the merchant 8.50 € (see *Fees*).\n\n### Single debits\n\n`POST /sdd` without `subscription` debits `amount` once. `debtorEmail`, optional, receives the confirmation receipt of the debit.\n\n| status | state | meaning |\n|---|---|---|\n| `pending` | WAIT | Submitted, waiting for the payer's bank. |\n| `completed` | DONE | Collected. |\n| `partially_refunded` | DONE | Collected, part of the amount refunded (`refundedAmount`). |\n| `refunded` | DONE | Fully refunded. |\n| `failed` | DONE | Not collected: refused by the payer's bank or cancelled. |\n| `charged_back` | DONE | Disputed by the payer: the amount was returned to them. |\n| `error` | DONE | Not submitted: see `error`. Nothing was debited. |\n\n### Recurring debits\n\nWith `subscription`, `POST /sdd` creates a recurring debit: each charge of the plan is collected on its date, with no further request. There are two kinds of plan:\n\n* **Recurring plan**: `amount` is charged every `subscription.monthsFrequency` months (1 to 36), `subscription.totalNumberOfPayments` times, from `subscription.startingDate`.\n* **Custom plan**: `subscription.charges` lists every charge with its `date` and `amount`, from 1 to 60 charges. Do not send `amount`: the `amount` of the record is computed as the total of the charges, and a request with both is refused.\n\nRules of both plans:\n\n* every charge is between 50 and 250000 cents (0.50 - 2,500.00 EUR);\n* dates must be after the current date (UTC): `startingDate` is the day of the first charge, and the dates of a custom plan must be in ascending order;\n* `description` is the bank statement text of every charge: when it is omitted the default `Subscription <reference>` is used, and returned in `description`;\n* `debtorEmail` is not accepted: no receipt is sent for the charges.\n\n`GET /sdd/{id}` reads the progress of the plan: charges collected (`subscription.paymentsMade`), total collected (`subscription.totalCharged`), next and last charge date. `PATCH /sdd/{id}` pauses, resumes or cancels the recurring debit, and changes the debited account or the statement text. With a `callback`, the record is sent to your URL whenever it changes (collected charges, status).\n\nThe charges are not returned as separate payments and cannot be refunded through the API yet: contact support to refund a charge.\n\n| status | state | meaning |\n|---|---|---|\n| `active` | WAIT | The charges are collected according to the plan. |\n| `suspended` | WAIT | Paused: no charges are collected until it is resumed. |\n| `completed` | DONE | The plan is over: all its charges were processed. |\n| `cancelled` | DONE | Stopped for good: no further charges. |\n| `failed` | DONE | Stopped by the payment network because of an error: no further charges. |\n| `charged_back` | DONE | The payer disputed a charge through their bank: the recurring debit is no longer active. |\n| `error` | DONE | Not created: see `error`. Nothing will be debited, unless `error` says that the creation could not be confirmed: then contact support before creating it again. |\n\n</details>\n\n<details><summary><strong>Refunds</strong></summary>\n\nRefunds of payment links and single SEPA Direct Debits.\n\n`POST /refund/{id}` refunds a `completed` or `partially_refunded` payment created with `POST /pis` or with `POST /sdd` (single debit), totally (omit `amount`) or partially, up to the amount not yet refunded (`amount - refundedAmount`). Several partial refunds are allowed. The refund is credited to the payer from the merchant balance. Each refund costs the merchant 0.50 € (see *Fees*). The updated payment is returned in the response: no callback is sent for a refund.\n\nIf the outcome of a refund cannot be confirmed (error 541), do not retry: further refunds of the payment are blocked until support has verified the operation.\n\nThe charges of recurring direct debits cannot be refunded through the API yet: contact support.\n\n</details>\n\n<details><summary><strong>Account Information (AIS)</strong></summary>\n\nRead accounts, balances and transactions of a user's bank accounts, after the user authorizes access at their bank.\n\n* **AIS Lite** (`/ais-lite`): one-shot reading with a short-lived authorization (about 24 hours).\n* **AIS Standard** (`/ais`): long-lived authorization (decided by the bank, typically a few months). Requires the user's Italian fiscal code. The data can be refreshed without involving the user, and further bank accounts can be added with `PATCH /ais/{id}`.\n\n**Flow.** Create the request, redirect the user to `consentUrl`: the user authorizes access at the bank and returns to your `redirectUrlSuccess` (or `redirectUrlFailure`). Then call `GET /ais/{id}` (or `GET /ais-lite/{id}`) until `status` is `completed`: data retrieval can take a few seconds after the user returns.\n\n**Charges.** Every request that creates a bank authorization link (`POST /ais-lite`, `POST /ais` and `PATCH /ais/{id}`) is charged to your account once the link has been created. A request refused by the bank network, or ending in `error`, is not charged. When your credit is not enough the request is refused with HTTP 402 before contacting the bank.\n\n**Identical requests.** If you send the same request again (same flow, same user data and same return pages) while a request created in the last 24 hours is still waiting for the user (`pending`), that request is returned with its `consentUrl` and is not charged again. Names, email and place of birth are compared ignoring case and extra spaces.\n\nBank data is delivered only when it was retrieved **after** your request. If the user's bank access is linked to another customer of the platform, only data from an authorization given after your request is delivered: you never receive data authorized for someone else. If the user still has an active authorization from one of your earlier requests, the new request can be completed with data retrieved under that authorization.\n\n**Statuses**\n\n| status | state | meaning |\n|---|---|---|\n| `pending` | WAIT | Waiting for the user authorization or for the bank data. It does not expire: a request the user never authorizes stays `pending`. |\n| `completed` | DONE | `accounts` and `transactions` are available (`dataFetchedAt` = retrieval time). |\n| `error` | DONE | The request could not be created: see `error`. |\n| `deleted` | DONE | Data deleted from the platform with `DELETE`. |\n\n**Refreshing the data (Standard).** While the bank authorization is active (until `consentExpiresAt`, when reported), `GET /ais/{id}?refresh=true` on a `completed` request downloads updated accounts, balances and transactions without involving the user. The refresh can be requested once every 10 minutes and replaces `accounts` and `transactions` with the latest data (`dataFetchedAt`). When the authorization has expired the call returns error 560: use `PATCH /ais/{id}` to renew it.\n\n**Deletion.** `DELETE /ais/{id}` and `DELETE /ais-lite/{id}` permanently erase the personal data, the return pages and the bank data of the request from the platform; the record is kept with status `deleted`. The authorization given by the user to their bank is not affected: the user can revoke it at any time from their bank. Lite authorizations expire on their own after about 24 hours.\n\n</details>\n\n<details><summary><strong>Sandbox</strong></summary>\n\nThe sandbox (`https://test.fintech.openapi.com`) works like production, with simulated money: merchants are pre-approved immediately, payments can be created for a registered merchant even before its identity verification is completed, and payments are simulated.\n\n</details>","termsOfService":"https://openapi.it/en/terms-and-conditions","contact":{"url":"https://openapi.it/en/support","name":"Support"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"servers":[{"url":"https://fintech.openapi.com","description":"Production"},{"url":"https://test.fintech.openapi.com","description":"Sandbox"}],"tags":[{"name":"Merchant Onboarding","description":"Register the merchants that receive your payments and follow their identity verification (KYC). Flow, statuses and rules: section *Merchant Onboarding* of the introduction."},{"name":"Merchant Configuration","description":"Payment methods enabled for each merchant and SEPA Direct Debit activation. Details: section *Merchant Configuration* of the introduction."},{"name":"Balance & Payouts","description":"Merchant balances and instant withdrawals to the merchant bank account. Details: section *Balance & Payouts* of the introduction."},{"name":"Payment Links (PIS)","description":"Payment links paid by card (Apple Pay and Google Pay included) or pay-by-bank. Methods, currencies, statuses and fees: section *Payment Links (PIS)* of the introduction."},{"name":"SEPA Direct Debit","description":"Single and recurring debits of the payer's bank account. Plans, statuses and fees: section *SEPA Direct Debit* of the introduction."},{"name":"Refunds","description":"Refunds of payment links and single SEPA Direct Debits. Rules and fees: section *Refunds* of the introduction."},{"name":"Account Information (AIS)","description":"Read accounts, balances and transactions of a user's bank accounts, after the user authorizes access at their bank. Flow, charges and statuses: section *Account Information (AIS)* of the introduction."}],"security":[{"bearerAuth":[]}],"paths":{"/register-merchant":{"post":{"tags":["Merchant Onboarding"],"summary":"Register a merchant","description":"Registers a merchant on the payment network (status `registered_pending_kyc_link`). Then follow the flow of *Merchant Onboarding*: call `GET /merchant/{id}` until it returns `onboardingUrl`.\n\nA merchant whose VAT number is already registered by your account (in any status other than `error`) is refused with error 560. If the network refuses the registration, the merchant is returned with status `error` and the reason in `error`: correct the data and register it again.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantCreateRequest"}}}},"responses":{"200":{"description":"Merchant registered (status `registered_pending_kyc_link`) or registration refused (status `error`, see `error`).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Merchant"}}}]}}}},"400":{"description":"Invalid parameters (550)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"'industryCode' must be a NAICS code (2 to 6 digits, e.g. 722511). ATECO codes must be converted to NAICS.","error":550,"data":null}}}},"402":{"description":"Insufficient credit for the fair-usage surcharge (670): nothing was executed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.05 > 0.01","error":670,"data":null}}}},"409":{"description":"VAT number already registered (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"A merchant with this VAT number is already registered (id 6ab3a2b379293c45520c7048).","error":560,"data":null}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}},"callbacks":{"merchantStatus":{"{$request.body#/callback/url}":{"post":{"summary":"Merchant status or verification update","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Merchant"}}}},"responses":{"200":{"description":"Received"}}}}}}}},"/merchant":{"get":{"tags":["Merchant Onboarding"],"summary":"List merchants","description":"Lists your merchants. The onboarding status of the merchants not yet `DONE` is aligned with the network before answering, and `onboardingUrl` is regenerated where needed (see `GET /merchant/{id}`). `balance` and `paymentMethods` are returned only by `GET /merchant/{id}`.","parameters":[{"$ref":"#/components/parameters/skipParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Merchant"}}}}]}}}}}}},"/merchant/{id}":{"get":{"tags":["Merchant Onboarding"],"summary":"Get a merchant and its verification link","description":"Returns the merchant. Until the merchant is `DONE` its onboarding status is read again from the network before answering; later changes arrive through the network notifications. When the merchant is `accepted` or `pre_active` the response contains `onboardingUrl`: redirect the merchant to it immediately (valid for 10 minutes, single use). A new link is generated when the previous one is older than 10 minutes.\n\nOnce the merchant is registered, the response also contains `balance` (same data as `GET /balance/{id}`) and `paymentMethods` (same data as `GET /merchant-configuration/{id}`), read in real time: they are `null` when they cannot be read at that moment.","parameters":[{"name":"id","in":"path","required":true,"description":"Merchant id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Merchant"}}}]}}}},"404":{"description":"Merchant not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Merchant not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}}}}},"/merchant-configuration/{id}":{"get":{"tags":["Merchant Configuration"],"summary":"Get the merchant payment methods","description":"Returns the payment methods currently enabled for the merchant (`code` and `type`, see the table in *Merchant Configuration*). Apple Pay (`APL`) and Google Pay (`GPA`) are not listed.","parameters":[{"name":"id","in":"path","required":true,"description":"Merchant id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"paymentMethods":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethod"}}}}}}]},"example":{"success":true,"message":"","error":null,"data":{"paymentMethods":[{"code":"VIS","type":"card"},{"code":"ECA","type":"card"},{"code":"BANK","type":"pay_by_bank"}]}}}}},"400":{"description":"Rejected by the payment network (540)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The payment methods request was rejected.","error":540,"data":null}}}},"404":{"description":"Merchant not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Merchant not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}},"409":{"description":"Merchant not registered or not enabled yet (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Registration not completed","value":{"success":false,"message":"The merchant has not completed the registration: no payment methods are available.","error":560,"data":null}},"e2":{"summary":"Merchant not enabled yet","value":{"success":false,"message":"The payment methods request is not available: the merchant is not enabled yet. Check its status with GET /merchant/{id}.","error":560,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}},"patch":{"tags":["Merchant Configuration"],"summary":"Enable or disable payment methods","description":"Enables or disables payment methods of the merchant. Only the listed methods change, and repeating the same request has no effect. The outcome of each method is returned in `results`: a method with status `partial` or `failed` was not (fully) changed, and `message` summarizes the outcome.\n\n**SEPA Direct Debit** cannot be switched on directly: `{\"type\": \"sepa_direct_debit\", \"enabled\": true}` (or `SEPA`) sends an activation request, reviewed before the method is enabled. No other data is needed: its result has status `pending` until the approval (`unchanged` if it is already active). Disabling it is immediate.","parameters":[{"name":"id","in":"path","required":true,"description":"Merchant id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentMethodsUpdateRequest"},"example":{"paymentMethods":[{"type":"apple_pay","enabled":true},{"type":"sepa_direct_debit","enabled":true}]}}}},"responses":{"200":{"description":"Request processed: see the status of each method.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"object","properties":{"results":{"type":"array","items":{"$ref":"#/components/schemas/PaymentMethodUpdateResult"}}}}}}]},"example":{"success":true,"message":"Payment methods updated: SEPA Direct Debit will be enabled after approval.","error":null,"data":{"results":[{"type":"apple_pay","code":null,"enabled":true,"status":"updated","message":null},{"type":"sepa_direct_debit","code":"SEPA","enabled":true,"status":"pending","message":"SEPA Direct Debit activation requested: the method will be enabled after approval."}]}}}}},"400":{"description":"Invalid parameters (550) or rejected by the payment network (540)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Invalid parameters","value":{"success":false,"message":"Every item of 'paymentMethods' needs a 'type' (e.g. VIS, BANK) and a boolean 'enabled'.","error":550,"data":null}},"e2":{"summary":"Rejected by the network","value":{"success":false,"message":"The payment methods update was rejected.","error":540,"data":null}},"e3":{"summary":"Method not available","value":{"success":false,"error":550,"data":null,"message":"Payment method 'ABC' cannot be configured: use a card brand (e.g. VIS, ECA, AMX), apple_pay (APL), google_pay (GPA), pay_by_bank (BANK) or sepa_direct_debit (SEPA)."}}}}}},"402":{"description":"Insufficient credit for the fair-usage surcharge (670): nothing was executed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.05 > 0.01","error":670,"data":null}}}},"404":{"description":"Merchant not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Merchant not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}},"409":{"description":"Merchant not registered or not enabled (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Registration not completed","value":{"success":false,"message":"The merchant has not completed the registration.","error":560,"data":null}},"e2":{"summary":"Merchant blocked","value":{"success":false,"message":"The merchant is not enabled (status: suspended).","error":560,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): retry later, repeating the request is safe","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}}},"/balance/{id}":{"get":{"tags":["Balance & Payouts"],"summary":"Get the merchant balance","description":"Returns the merchant balances by category (see the table in *Balance & Payouts*) and the bank accounts receiving the payouts, read in real time.","parameters":[{"name":"id","in":"path","required":true,"description":"Merchant id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Balance"}}}]}}}},"400":{"description":"Rejected by the payment network (540)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The balance request was rejected.","error":540,"data":null}}}},"404":{"description":"Merchant not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Merchant not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}},"409":{"description":"Merchant not registered or not enabled yet (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Registration not completed","value":{"success":false,"message":"The merchant has not completed the registration: no balance is available.","error":560,"data":null}},"e2":{"summary":"Merchant not enabled yet","value":{"success":false,"message":"The balance request is not available: the merchant is not enabled yet. Check its status with GET /merchant/{id}.","error":560,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}}},"/payout/{id}":{"post":{"tags":["Balance & Payouts"],"summary":"Withdraw funds (instant transfer)","description":"Transfers `amount` (EUR cents) from the available operating balance to the default bank account set by the merchant during onboarding with an instant bank transfer. The returned payout reports the status of the transfer when it was submitted.\n\nIf the response is error 541 the outcome is not confirmed: **do not retry** before checking the merchant balance and the bank account.","parameters":[{"name":"id","in":"path","required":true,"description":"Merchant id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["amount"],"properties":{"amount":{"type":"integer","minimum":1,"example":100000,"description":"EUR cents to transfer."}}}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Payout"}}}]}}}},"400":{"description":"Invalid parameters (550) or rejected by the payment network (540)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Invalid amount","value":{"success":false,"message":"'amount' is required and must be a positive integer in cents.","error":550,"data":null}},"e2":{"summary":"Rejected by the network","value":{"success":false,"message":"The payout was rejected: amount exceeds the available balance","error":540,"data":null}}}}}},"402":{"description":"Insufficient credit for the fair-usage surcharge (670): nothing was executed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.05 > 0.01","error":670,"data":null}}}},"404":{"description":"Merchant not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Merchant not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}},"409":{"description":"Not allowed for the merchant (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Registration not completed","value":{"success":false,"message":"The merchant has not completed the registration.","error":560,"data":null}},"e2":{"summary":"Merchant blocked","value":{"success":false,"message":"The merchant is not enabled (status: suspended).","error":560,"data":null}},"e3":{"summary":"Outstanding fees","value":{"success":false,"message":"Payouts are temporarily blocked for this merchant because of outstanding fees. Please contact support.","error":560,"data":null}}}}}},"502":{"description":"Outcome not confirmed (541): do not retry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The payout outcome could not be confirmed. Do not retry: check the merchant balance and the bank account before submitting a new payout.","error":541,"data":null}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}},"get":{"tags":["Balance & Payouts"],"summary":"Get a payout","parameters":[{"name":"id","in":"path","required":true,"description":"Payout id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Payout"}}}]}}}},"404":{"description":"Payout not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Payout not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}}},"description":"Returns a payout, with the status reported when the transfer was submitted."}},"/payout":{"get":{"tags":["Balance & Payouts"],"summary":"List payouts","description":"Lists the payouts of all your merchants, most recently created first, optionally filtered by merchant.","parameters":[{"name":"merchantId","in":"query","required":false,"description":"Return only the records of this merchant (24 hexadecimal characters).","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"}},{"$ref":"#/components/parameters/skipParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Payout"}}}}]}}}},"406":{"description":"Malformed merchantId (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid merchantId.","error":520,"data":null}}}}}}},"/pis":{"post":{"tags":["Payment Links (PIS)"],"summary":"Create a payment link","description":"Creates a payment link for the merchant `merchantId` and returns it in `initiationUrl`, with status `pending`: send it to the payer. Payment methods, currencies, card subscriptions and statuses are described in *Payment Links*.\n\nThe merchant must have completed the identity verification (in the sandbox, the registration is enough) and must not be blocked. If the network refuses the link (for example because a method is not enabled for the merchant), the payment is returned with status `error` and the reason in `error`.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLinkCreateRequest"},"examples":{"default":{"summary":"Cards and pay-by-bank (default methods)","value":{"merchantId":"6ab3a2b379293c45520c7048","amount":2500,"description":"Order #12345","payerFirstName":"Mario","payerLastName":"Rossi","redirectUrlSuccess":"https://www.acme.it/payment/success","redirectUrlFailure":"https://www.acme.it/payment/failure"}},"cardsUsd":{"summary":"Cards only, in USD","value":{"merchantId":"6ab3a2b379293c45520c7048","amount":4900,"currency":"USD","paymentMethods":["card"],"description":"Order #12346","redirectUrlSuccess":"https://www.acme.it/payment/success","redirectUrlFailure":"https://www.acme.it/payment/failure"}},"subscription":{"summary":"Card payment starting a subscription","value":{"merchantId":"6ab3a2b379293c45520c7048","amount":1500,"description":"Membership - first month","subscriptionOnCompletion":{"amount":1500,"monthsFrequency":1,"totalNumberOfPayments":11,"startingDate":"2026-12-01"},"redirectUrlSuccess":"https://www.acme.it/payment/success","redirectUrlFailure":"https://www.acme.it/payment/failure"}}}}}},"responses":{"200":{"description":"Link created (status `pending`) or not created (status `error`, see `error`).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PaymentLink"}}}]},"example":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-26T09:58:12+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"WAIT","status":"pending","amount":2500,"currency":"EUR","refundedAmount":0,"description":"Order #12345","payerFirstName":"Mario","payerLastName":"Rossi","paymentMethods":["card","BANK"],"subscriptionOnCompletion":null,"redirectUrlSuccess":"https://www.acme.it/payment/success","redirectUrlFailure":"https://www.acme.it/payment/failure","initiationUrl":"https://pay.example.com/checkout/abc","expiresAt":"2026-11-25T09:58:12+00:00","error":""}}}}},"400":{"description":"Invalid parameters (550)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Currency not accepted by a method","value":{"success":false,"message":"Pay-by-bank (BANK), offered by default together with cards, accepts EUR only, while the payment is in USD. Use 'currency' EUR, or send 'paymentMethods' without BANK (e.g. [\"card\"]).","error":550,"data":null}},"e2":{"summary":"Subscription with non-card methods","value":{"success":false,"message":"'subscriptionOnCompletion' is available only when the payment method is card: send 'paymentMethods' with card methods only (e.g. [\"card\"]) or omit 'paymentMethods'.","error":550,"data":null}},"e3":{"summary":"SEPA Direct Debit on a link","value":{"success":false,"message":"SEPA Direct Debit cannot be offered on a payment link: create the payment with POST /sdd, which debits the payer's account directly.","error":550,"data":null}}}}}},"402":{"description":"Insufficient credit for the fair-usage surcharge (670): nothing was executed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.05 > 0.01","error":670,"data":null}}}},"404":{"description":"Merchant not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Merchant not found.","error":530,"data":null}}}},"409":{"description":"Not allowed for the merchant (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Registration not completed","value":{"success":false,"message":"The merchant has not completed the registration.","error":560,"data":null}},"e2":{"summary":"Merchant blocked","value":{"success":false,"message":"The merchant is not enabled (status: suspended).","error":560,"data":null}},"e3":{"summary":"Onboarding not completed (production)","value":{"success":false,"message":"The merchant onboarding is not completed yet: payments cannot be created.","error":560,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}},"callbacks":{"paymentStatus":{"{$request.body#/callback/url}":{"post":{"summary":"Payment status update (completed, expired, charged_back)","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLink"}}}},"responses":{"200":{"description":"Received"}}}}}}},"get":{"tags":["Payment Links (PIS)"],"summary":"List payment links","description":"Lists the payment links of all your merchants, optionally filtered by merchant. Statuses are returned as stored: read a single payment to update it.","parameters":[{"name":"merchantId","in":"query","required":false,"description":"Return only the records of this merchant (24 hexadecimal characters).","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"}},{"$ref":"#/components/parameters/skipParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentLink"}}}}]}}}},"406":{"description":"Malformed merchantId (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid merchantId.","error":520,"data":null}}}}}}},"/pis/{id}":{"get":{"tags":["Payment Links (PIS)"],"summary":"Get a payment link","description":"Returns the payment. While it is `pending`, its status is read from the network before answering.","parameters":[{"name":"id","in":"path","required":true,"description":"Payment id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab51faed39ba031c051f8ae"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/PaymentLink"}}}]},"example":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-26T10:04:40+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"DONE","status":"completed","amount":2500,"currency":"EUR","refundedAmount":0,"description":"Order #12345","payerFirstName":"Mario","payerLastName":"Rossi","paymentMethods":["card","BANK"],"subscriptionOnCompletion":null,"redirectUrlSuccess":"https://www.acme.it/payment/success","redirectUrlFailure":"https://www.acme.it/payment/failure","initiationUrl":"https://pay.example.com/checkout/abc","expiresAt":"2026-11-25T09:58:12+00:00","error":""}}}}},"404":{"description":"Payment not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Payment not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}}}}},"/sdd":{"post":{"tags":["SEPA Direct Debit"],"summary":"Create a SEPA Direct Debit","description":"Debits `debtorIban` once (single debit) or, with `subscription`, creates a recurring debit collected according to its plan. The account verification, the plans with their limits and the statuses are described in *SEPA Direct Debit*.\n\nA single debit is returned with status `pending`, a recurring debit with status `active`. If the network refuses it (for example because SEPA Direct Debit is not active for the merchant, or the account holder does not match the IBAN), the record is returned with status `error` and the reason in `error`: nothing is debited.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SddCreateRequest"},"examples":{"single":{"summary":"Single debit","value":{"merchantId":"6ab3a2b379293c45520c7048","amount":1500,"debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","debtorEmail":"mario.rossi@example.com","description":"Invoice 2026/118"}},"recurring":{"summary":"Recurring plan: 15.00 EUR every month, 12 times","value":{"merchantId":"6ab3a2b379293c45520c7048","amount":1500,"debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","description":"Gym membership","payerFirstName":"Mario","payerLastName":"Rossi","subscription":{"monthsFrequency":1,"totalNumberOfPayments":12,"startingDate":"2026-12-01"}}},"custom":{"summary":"Custom plan: two charges with their own dates and amounts","value":{"merchantId":"6ab3a2b379293c45520c7048","debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","description":"Course fee","subscription":{"charges":[{"date":"2026-12-15","amount":5000},{"date":"2027-01-15","amount":2500}]}}}}}}},"responses":{"200":{"description":"Debit submitted (`pending`), recurring debit created (`active`) or not created (`error`, see `error`).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SddPayment"}}}]},"examples":{"single":{"summary":"Single debit","value":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-26T09:58:12+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"WAIT","status":"pending","amount":1500,"currency":"EUR","refundedAmount":0,"description":"Invoice 2026/118","payerFirstName":null,"payerLastName":null,"debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","debtorEmail":"mario.rossi@example.com","error":""}}},"recurring":{"summary":"Recurring plan","value":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-26T09:58:12+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"WAIT","status":"active","amount":1500,"currency":"EUR","description":"Gym membership","payerFirstName":"Mario","payerLastName":"Rossi","debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","debtorEmail":null,"subscription":{"plan":"recurring","monthsFrequency":1,"totalNumberOfPayments":12,"startingDate":"2026-12-01","paymentsMade":0,"totalCharged":0,"nextChargeDate":"2026-12-01","lastChargeDate":null},"error":""}}},"custom":{"summary":"Custom plan","value":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-26T09:58:12+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"WAIT","status":"active","amount":7500,"currency":"EUR","description":"Course fee","payerFirstName":null,"payerLastName":null,"debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","debtorEmail":null,"subscription":{"plan":"custom","charges":[{"date":"2026-12-15","amount":5000},{"date":"2027-01-15","amount":2500}],"paymentsMade":0,"totalCharged":0,"nextChargeDate":"2026-12-15","lastChargeDate":null},"error":""}}},"error":{"summary":"SEPA Direct Debit not active","value":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-26T09:58:12+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"DONE","status":"error","amount":1500,"currency":"EUR","refundedAmount":0,"description":"Invoice 2026/118","payerFirstName":null,"payerLastName":null,"debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","debtorEmail":"mario.rossi@example.com","error":"SEPA Direct Debit is not active for the merchant: request its activation with PATCH /merchant-configuration/{id} ({\"type\": \"sepa_direct_debit\", \"enabled\": true})."}}}}}}},"400":{"description":"Invalid parameters (550)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Invalid IBAN","value":{"success":false,"message":"'debtorIban' is required and must be a valid IBAN (e.g. IT60X0542811101000000123456).","error":550,"data":null}},"e2":{"summary":"Amount with a custom plan","value":{"success":false,"message":"'amount' must not be sent with a custom plan: it is computed as the total of 'subscription.charges'.","error":550,"data":null}},"e3":{"summary":"Charge out of limits","value":{"success":false,"message":"'amount' is the amount of each charge of the recurring plan: it must be between 50 and 250000 (0.50 - 2500.00 EUR).","error":550,"data":null}},"e4":{"summary":"Starting date not in the future","value":{"success":false,"message":"'subscription.startingDate' must be a future date: the first charge is collected on that day.","error":550,"data":null}},"e5":{"summary":"Currency other than EUR","value":{"success":false,"message":"SEPA Direct Debit is collected in EUR only: omit 'currency' or send EUR.","error":550,"data":null}}}}}},"402":{"description":"Insufficient credit for the fair-usage surcharge (670): nothing was executed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.05 > 0.01","error":670,"data":null}}}},"404":{"description":"Merchant not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Merchant not found.","error":530,"data":null}}}},"409":{"description":"Not allowed for the merchant (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Registration not completed","value":{"success":false,"message":"The merchant has not completed the registration.","error":560,"data":null}},"e2":{"summary":"Merchant blocked","value":{"success":false,"message":"The merchant is not enabled (status: suspended).","error":560,"data":null}},"e3":{"summary":"Onboarding not completed (production)","value":{"success":false,"message":"The merchant onboarding is not completed yet: payments cannot be created.","error":560,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}},"callbacks":{"debitStatus":{"{$request.body#/callback/url}":{"post":{"summary":"Direct debit update (collected, failed, disputed; recurring debits: charges collected and status changes)","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SddPayment"}}}},"responses":{"200":{"description":"Received"}}}}}}},"get":{"tags":["SEPA Direct Debit"],"summary":"List SEPA Direct Debits","description":"Lists the single and recurring direct debits of all your merchants, optionally filtered by merchant. Statuses and counters are returned as stored: read a single debit to update it.","parameters":[{"name":"merchantId","in":"query","required":false,"description":"Return only the records of this merchant (24 hexadecimal characters).","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"}},{"$ref":"#/components/parameters/skipParam"},{"$ref":"#/components/parameters/limitParam"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/SddPayment"}}}}]}}}},"406":{"description":"Malformed merchantId (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid merchantId.","error":520,"data":null}}}}}}},"/sdd/{id}":{"get":{"tags":["SEPA Direct Debit"],"summary":"Get a SEPA Direct Debit","description":"Returns the direct debit. While a single debit is `pending`, its status is read from the network before answering. For a recurring debit that is `active` or `suspended`, the status and the progress of the plan (`subscription`) are read from the network.","parameters":[{"name":"id","in":"path","required":true,"description":"Direct debit id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab51faed39ba031c051f8ae"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SddPayment"}}}]},"examples":{"single":{"summary":"Single debit collected","value":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-29T08:12:03+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"DONE","status":"completed","amount":1500,"currency":"EUR","refundedAmount":0,"description":"Invoice 2026/118","payerFirstName":null,"payerLastName":null,"debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","debtorEmail":"mario.rossi@example.com","error":""}}},"recurring":{"summary":"Recurring debit in progress","value":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2027-01-01T10:00:05+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"WAIT","status":"active","amount":1500,"currency":"EUR","description":"Gym membership","payerFirstName":"Mario","payerLastName":"Rossi","debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","debtorEmail":null,"subscription":{"plan":"recurring","monthsFrequency":1,"totalNumberOfPayments":12,"startingDate":"2026-12-01","paymentsMade":2,"totalCharged":3000,"nextChargeDate":"2027-02-01","lastChargeDate":"2027-01-01"},"error":""}}}}}}},"404":{"description":"Direct debit not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Payment not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}}}},"patch":{"tags":["SEPA Direct Debit"],"summary":"Change a recurring direct debit","description":"Changes a recurring direct debit while it is `active` or `suspended`. Send at least one of:\n\n* `status`: `suspended` pauses the charges, `active` resumes them, `cancelled` stops the recurring debit for good (final);\n* `debtorIban` together with `debtorName`: the account debited by the next charges;\n* `description`: the bank statement text of the next charges (an empty string restores the default).\n\nThe current situation is read from the network first: a recurring debit already in a final status (`completed`, `cancelled`, `failed`, `charged_back`, `error`) cannot be changed (error 560). A request that only sets `status` to the current one returns the record unchanged. The updated record is returned in the response: no callback is sent for this change. Single debits cannot be changed.","parameters":[{"name":"id","in":"path","required":true,"description":"Recurring direct debit id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab51faed39ba031c051f8ae"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SddUpdateRequest"},"examples":{"pause":{"summary":"Pause the charges","value":{"status":"suspended"}},"account":{"summary":"Change the debited account","value":{"debtorIban":"DE89370400440532013000","debtorName":"Hans Muster"}},"cancel":{"summary":"Cancel for good","value":{"status":"cancelled"}}}}}},"responses":{"200":{"description":"Recurring direct debit updated (or nothing to change).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SddPayment"}}}]},"example":{"success":true,"message":"Recurring direct debit updated.","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-11-20T15:30:00+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"WAIT","status":"suspended","amount":1500,"currency":"EUR","description":"Gym membership","payerFirstName":"Mario","payerLastName":"Rossi","debtorIban":"IT60X0542811101000000123456","debtorName":"Mario Rossi","debtorEmail":null,"subscription":{"plan":"recurring","monthsFrequency":1,"totalNumberOfPayments":12,"startingDate":"2026-12-01","paymentsMade":0,"totalCharged":0,"nextChargeDate":"2026-12-01","lastChargeDate":null},"error":""}}}}},"400":{"description":"Invalid parameters (550) or rejected by the payment network (540)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Invalid status","value":{"success":false,"message":"'status' must be 'active' (resume), 'suspended' (pause) or 'cancelled' (stop for good).","error":550,"data":null}},"e2":{"summary":"Incomplete account","value":{"success":false,"message":"'debtorIban' is required and must be a valid IBAN (e.g. IT60X0542811101000000123456). To change the debited account send both 'debtorIban' and 'debtorName'.","error":550,"data":null}},"e3":{"summary":"Empty request","value":{"success":false,"message":"Nothing to change: send 'status', 'debtorIban' together with 'debtorName', or 'description'.","error":550,"data":null}},"e4":{"summary":"Rejected by the network","value":{"success":false,"message":"The change of the recurring direct debit was rejected.","error":540,"data":null}}}}}},"402":{"description":"Insufficient credit for the fair-usage surcharge (670): nothing was executed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.05 > 0.01","error":670,"data":null}}}},"404":{"description":"Direct debit not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Direct debit not found.","error":530,"data":null}}}},"406":{"description":"Missing (510) or malformed (520) identifier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Malformed identifier","value":{"success":false,"message":"Invalid identifier.","error":520,"data":null}},"e2":{"summary":"Missing identifier","value":{"success":false,"message":"Missing identifier.","error":510,"data":null}}}}}},"409":{"description":"Not a recurring debit, no longer changeable, or merchant not enabled (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Single debit","value":{"success":false,"message":"Only recurring direct debits (created with 'subscription') can be changed: a single direct debit cannot be modified.","error":560,"data":null}},"e2":{"summary":"Recurring debit over","value":{"success":false,"message":"The recurring direct debit is cancelled and can no longer be changed.","error":560,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): retry later (repeating the same change is safe).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}}},"/refund/{id}":{"post":{"tags":["Refunds"],"summary":"Refund a payment","description":"Refunds a `completed` or `partially_refunded` payment link or single direct debit, totally (omit `amount`) or partially, up to `amount - refundedAmount`. The response contains the payment with the fields of its type.\n\nIf the response is error 541 the outcome is being verified: **do not retry**. Charges of recurring direct debits cannot be refunded through the API yet (error 560).","parameters":[{"name":"id","in":"path","required":true,"description":"Payment id (payment link or single direct debit).","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab51faed39ba031c051f8ae"}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RefundRequest"}}}},"responses":{"200":{"description":"Refund completed: `refundedAmount` and `status` updated.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/PaymentLink"},{"$ref":"#/components/schemas/SddPayment"}]}}}]},"example":{"success":true,"message":"Refund completed.","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-27T11:20:00+00:00","merchantId":"6ab3a2b379293c45520c7048","state":"DONE","status":"partially_refunded","amount":2500,"currency":"EUR","refundedAmount":500,"description":"Order #12345","payerFirstName":"Mario","payerLastName":"Rossi","paymentMethods":["card","BANK"],"subscriptionOnCompletion":null,"redirectUrlSuccess":"https://www.acme.it/payment/success","redirectUrlFailure":"https://www.acme.it/payment/failure","initiationUrl":"https://pay.example.com/checkout/abc","expiresAt":"2026-11-25T09:58:12+00:00","error":""}}}}},"400":{"description":"Invalid parameters (550) or rejected by the payment network (540)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Amount too high","value":{"success":false,"message":"The refund amount exceeds the refundable amount (500 cents).","error":550,"data":null}},"e2":{"summary":"Rejected by the network","value":{"success":false,"message":"The refund was rejected.","error":540,"data":null}}}}}},"402":{"description":"Insufficient credit for the fair-usage surcharge (670): nothing was executed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.05 > 0.01","error":670,"data":null}}}},"404":{"description":"Payment not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Payment not found.","error":530,"data":null}}}},"406":{"description":"Missing (510) or malformed (520) identifier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Malformed identifier","value":{"success":false,"message":"Invalid identifier.","error":520,"data":null}},"e2":{"summary":"Missing identifier","value":{"success":false,"message":"Missing identifier.","error":510,"data":null}}}}}},"409":{"description":"Not refundable in its current state, never submitted (status `error`), or merchant not enabled (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Not collected yet","value":{"success":false,"message":"Only completed payments can be refunded (current status: pending).","error":560,"data":null}},"e2":{"summary":"Already refunded","value":{"success":false,"message":"The payment has already been fully refunded.","error":560,"data":null}},"e3":{"summary":"Previous refund being verified","value":{"success":false,"message":"A previous refund of this payment has an unconfirmed outcome and is being verified. Please contact support.","error":560,"data":null}},"e4":{"summary":"Recurring direct debit","value":{"success":false,"message":"The charges of a recurring direct debit are collected automatically according to the plan and cannot be refunded through the API yet: contact support to refund a charge. Single payments (POST /pis, POST /sdd without subscription) can be refunded.","error":560,"data":null}}}}}},"502":{"description":"Outcome not confirmed (541): do not retry","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The refund outcome could not be confirmed. Do not retry: the refund is being verified.","error":541,"data":null}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}}},"/ais-lite":{"post":{"tags":["Account Information (AIS)"],"summary":"Create an AIS Lite request","description":"One-shot reading of the user's bank accounts (authorization valid about 24 hours). Redirect the user to `consentUrl`, then read the request until `status` is `completed`. The request is charged to your account once the bank authorization link is created (see *Account Information (AIS)*). If an identical request created in the last 24 hours is still `pending`, that request is returned instead, with `message` explaining it, and nothing is charged.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AisLiteCreateRequest"}}}},"responses":{"200":{"description":"Request created (status `pending`), refused (status `error`, see `error`), or identical pending request returned (not charged).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AisRecord"}}}]},"example":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-26T09:58:12+00:00","state":"WAIT","status":"pending","flow":"lite","consentUrl":"https://bank.example.com/consent/abc","accounts":[],"transactions":[]}}}}},"400":{"description":"Invalid parameters (550)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"'birthDate' must be a valid date in YYYY-MM-DD format.","error":550,"data":null}}}},"402":{"description":"Insufficient credit (670) or the request could not be charged (611): no bank authorization was started (with 611 the request is kept with status `error`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Insufficient credit","value":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.5 > 0.1","error":670,"data":null}},"e2":{"summary":"Charge failed","value":{"success":false,"message":"Billing error message: The request could not be charged: no bank authorization was started. Check your credit and retry.","error":611,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}},"get":{"tags":["Account Information (AIS)"],"summary":"List AIS Lite requests","parameters":[{"$ref":"#/components/parameters/skipParam"},{"$ref":"#/components/parameters/limitParam"}],"description":"Statuses are returned as stored: read a single request to update it.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AisRecord"}}}}]}}}}}}},"/ais-lite/{id}":{"get":{"tags":["Account Information (AIS)"],"summary":"Get an AIS Lite request","description":"While the request is `pending`, the availability of the bank data is checked before answering (it can take a few seconds after the user returns from the bank).","parameters":[{"name":"id","in":"path","required":true,"description":"AIS request id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AisRecord"}}}]}}}},"404":{"description":"AIS request not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"AIS record not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}},"409":{"description":"Data refresh (`refresh=true`) is not available for AIS Lite (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Data refresh is available only for the standard AIS flow.","error":560,"data":null}}}}}},"delete":{"tags":["Account Information (AIS)"],"summary":"Delete an AIS Lite request from the platform","description":"Permanently erases the personal data (returned empty), the return pages and the bank data of the request; the record is kept with status `deleted`. The authorization given to the bank is not revoked. Repeating the call has no further effect.","parameters":[{"name":"id","in":"path","required":true,"description":"AIS request id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"responses":{"200":{"description":"Data deleted.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AisRecord"}}}]},"example":{"success":true,"message":"AIS data deleted from the platform.","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","state":"DONE","status":"deleted","flow":"lite","firstName":"","lastName":"","email":"","birthDate":"","birthPlace":"","fiscalCode":null,"redirectUrlSuccess":"","redirectUrlFailure":"","consentUrl":null,"consentExpiresAt":null,"accounts":[],"transactions":[],"dataFetchedAt":null,"error":""}}}}},"404":{"description":"AIS request not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"AIS record not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}}}}},"/ais":{"post":{"tags":["Account Information (AIS)"],"summary":"Create an AIS Standard request","description":"Long-lived reading of the user's bank accounts (authorization decided by the bank, typically a few months). Requires the user's Italian fiscal code. Redirect the user to `consentUrl`, then read the request until `status` is `completed`. The request is charged to your account once the bank authorization link is created (see *Account Information (AIS)*). If an identical request created in the last 24 hours is still `pending`, that request is returned instead, with `message` explaining it, and nothing is charged.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AisCreateRequest"}}}},"responses":{"200":{"description":"Request created (status `pending`), refused (status `error`, see `error`), or identical pending request returned (not charged).","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AisRecord"}}}]},"example":{"success":true,"message":"","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","createdAt":"2026-10-26T09:58:11+00:00","updatedAt":"2026-10-26T09:58:12+00:00","state":"WAIT","status":"pending","flow":"standard","consentUrl":"https://bank.example.com/consent/abc","accounts":[],"transactions":[]}}}}},"400":{"description":"Invalid parameters (550)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"'birthDate' must be a valid date in YYYY-MM-DD format.","error":550,"data":null}}}},"402":{"description":"Insufficient credit (670) or the request could not be charged (611): no bank authorization was started (with 611 the request is kept with status `error`)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Insufficient credit","value":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.5 > 0.1","error":670,"data":null}},"e2":{"summary":"Charge failed","value":{"success":false,"message":"Billing error message: The request could not be charged: no bank authorization was started. Check your credit and retry.","error":611,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}},"get":{"tags":["Account Information (AIS)"],"summary":"List AIS Standard requests","parameters":[{"$ref":"#/components/parameters/skipParam"},{"$ref":"#/components/parameters/limitParam"}],"description":"Statuses are returned as stored: read a single request to update it.","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AisRecord"}}}}]}}}}}}},"/ais/{id}":{"get":{"tags":["Account Information (AIS)"],"summary":"Get an AIS Standard request","description":"While the request is `pending`, the availability of the bank data is checked before answering (it can take a few seconds after the user returns from the bank). With `refresh=true` on a `completed` request, updated bank data is downloaded under the existing authorization, at most once every 10 minutes (see *Account Information (AIS)*): `message` tells whether the data was refreshed.","parameters":[{"name":"id","in":"path","required":true,"description":"AIS request id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"},{"name":"refresh","in":"query","required":false,"schema":{"type":"boolean","default":false},"description":"true = download updated bank data without a new authorization (completed Standard requests only; ignored while the request is `pending`)."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AisRecord"}}}]}}}},"400":{"description":"Refresh rejected by the bank network (540)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The data refresh was rejected.","error":540,"data":null}}}},"404":{"description":"AIS request not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"AIS record not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}},"409":{"description":"Refresh not available (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Authorization expired","value":{"success":false,"message":"The bank authorization is no longer active (status: expired). Use PATCH /ais/{id} to renew it.","error":560,"data":null}},"e2":{"summary":"Request not completed","value":{"success":false,"message":"Data refresh is available only for completed requests (current status: error).","error":560,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}},"delete":{"tags":["Account Information (AIS)"],"summary":"Delete an AIS Standard request from the platform","description":"Permanently erases the personal data (returned empty), the return pages and the bank data of the request; the record is kept with status `deleted`. The authorization given to the bank is not revoked. Repeating the call has no further effect.","parameters":[{"name":"id","in":"path","required":true,"description":"AIS request id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"responses":{"200":{"description":"Data deleted.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AisRecord"}}}]},"example":{"success":true,"message":"AIS data deleted from the platform.","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","state":"DONE","status":"deleted","flow":"standard","firstName":"","lastName":"","email":"","birthDate":"","birthPlace":"","fiscalCode":null,"redirectUrlSuccess":"","redirectUrlFailure":"","consentUrl":null,"consentExpiresAt":null,"accounts":[],"transactions":[],"dataFetchedAt":null,"error":""}}}}},"404":{"description":"AIS request not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"AIS record not found.","error":530,"data":null}}}},"406":{"description":"Malformed identifier (520)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"Invalid identifier.","error":520,"data":null}}}}}},"patch":{"tags":["Account Information (AIS)"],"summary":"Add bank accounts to an AIS Standard request","description":"Starts a new authorization so the user can add further bank accounts, or renew an expired authorization. The response contains a new `consentUrl` and the record returns to `pending`: the previous data stays visible until data retrieved **after** this request is available, then `accounts` and `transactions` are replaced. If the previous authorization is still active, the request can be completed with the accounts already authorized, before the user uses the new link: if the added accounts are missing, call `GET /ais/{id}?refresh=true` once the user has returned. Not available for AIS Lite requests, deleted requests or requests that ended in `error` without an authorization link. No request body. Every call is charged to your account, at the price of AIS Standard, once the new link has been created.","parameters":[{"name":"id","in":"path","required":true,"description":"AIS Standard request id.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"example":"6ab3a2b379293c45520c7048"}],"responses":{"200":{"description":"Authorization started: redirect the user to `consentUrl`.","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ResponseEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/AisRecord"}}}]},"example":{"success":true,"message":"Account addition started: redirect the user to consentUrl.","error":null,"data":{"id":"6ab51faed39ba031c051f8ae","state":"WAIT","status":"pending","flow":"standard","consentUrl":"https://bank.example.com/consent/def"}}}}},"400":{"description":"Rejected by the bank network (540)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The account addition request was rejected: fiscalCode does not match the user data","error":540,"data":null}}}},"402":{"description":"Insufficient credit (670) or the request could not be charged (611): no bank authorization was started","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Insufficient credit","value":{"success":false,"message":"Billing error message: Insufficient Credit in Wallet: 0.5 > 0.1","error":670,"data":null}},"e2":{"summary":"Charge failed","value":{"success":false,"message":"Billing error message: The request could not be charged: no bank authorization was started. Check your credit and retry.","error":611,"data":null}}}}}},"404":{"description":"AIS request not found or owned by another account (530)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"AIS record not found.","error":530,"data":null}}}},"406":{"description":"Missing (510) or malformed (520) identifier","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"Malformed identifier","value":{"success":false,"message":"Invalid identifier.","error":520,"data":null}},"e2":{"summary":"Missing identifier","value":{"success":false,"message":"Missing identifier.","error":510,"data":null}}}}}},"409":{"description":"Not available for this request (560)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"examples":{"e1":{"summary":"AIS Lite","value":{"success":false,"message":"Adding bank accounts is available only for the standard AIS flow.","error":560,"data":null}},"e2":{"summary":"Deleted","value":{"success":false,"message":"The AIS record has been deleted: create a new AIS request.","error":560,"data":null}},"e3":{"summary":"No authorization link","value":{"success":false,"message":"The AIS record has no consent to extend: create a new AIS request.","error":560,"data":null}}}}}},"503":{"description":"Service temporarily unavailable (542): nothing was executed, retry later","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"},"example":{"success":false,"message":"The service is temporarily unavailable. Please retry later.","error":542,"data":null}}}}}}}},"components":{"schemas":{"ResponseEnvelope":{"type":"object","properties":{"success":{"type":"boolean","example":true},"message":{"type":"string","example":""},"error":{"type":"integer","nullable":true,"example":null,"description":"Error code (see *Errors* in the introduction), null on success."}}},"ErrorResponse":{"type":"object","properties":{"success":{"type":"boolean","example":false},"message":{"type":"string","example":"Merchant not found."},"error":{"type":"integer","example":530},"data":{"nullable":true,"example":null}}},"Callback":{"type":"object","description":"Your endpoint notified with the updated record whenever its status changes.","required":["url"],"properties":{"url":{"type":"string","format":"uri","example":"https://webhook.site/my-endpoint"},"method":{"type":"string","enum":["POST","JSON"],"default":"JSON"},"field":{"type":"string","default":"data","description":"Name of the field containing the record."},"retry":{"type":"integer","default":0},"headers":{"type":"object","additionalProperties":{"type":"string"},"example":{"authorization":"Bearer my_token"}}}},"Administrator":{"type":"object","required":["email","name","surname"],"description":"Person who will administer the merchant account.","properties":{"countryCode":{"type":"string","default":"IT","example":"IT","description":"ISO 3166-1 alpha-2 country code."},"email":{"type":"string","format":"email","example":"mario.rossi@acme.it","description":"Personal email of the administrator (different from `adminEmail`)."},"name":{"type":"string","example":"Mario"},"surname":{"type":"string","example":"Rossi"}}},"MerchantCreateRequest":{"type":"object","required":["companyName","adminEmail","website","industryCode","yearlyRevenueId","redirectUrlAfterKyc","administrator"],"properties":{"companyName":{"type":"string","example":"ACME Srl","description":"Registered or trading name (for a sole proprietorship, the business name)."},"adminEmail":{"type":"string","format":"email","maxLength":45,"example":"amministrazione@pec.acme.it","description":"Company administration or certified email (PEC), at most 45 characters."},"country":{"type":"string","default":"IT","example":"IT","description":"ISO 3166-1 alpha-2 country of the company."},"legalEntityType":{"type":"string","enum":["organization","soleProprietorship"],"default":"organization","description":"`organization` for companies, `soleProprietorship` for sole traders and freelancers with a VAT number (see *Merchant Onboarding*)."},"ownerFirstName":{"type":"string","nullable":true,"example":null,"description":"Required for `soleProprietorship`: first name of the owner."},"ownerLastName":{"type":"string","nullable":true,"example":null,"description":"Required for `soleProprietorship`: last name of the owner."},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"example":"IT01234567890","description":"VAT number (recommended): spaces, dots and hyphens are removed and a number with digits only is prefixed with `country`. At most 20 characters, prefix included."},"fiscalCode":{"type":"string","nullable":true,"maxLength":32,"example":"01234567890","description":"Company fiscal code (for a sole proprietorship, usually the owner's personal fiscal code). At most 32 characters."},"website":{"type":"string","example":"https://www.acme.it","description":"Company website: a URL or a host name (e.g. www.acme.it)."},"industryCode":{"type":"string","pattern":"^\\d{2,6}$","example":"722511","description":"NAICS industry code, 2 to 6 digits (convert ATECO codes to NAICS, see *Merchant Onboarding*)."},"yearlyRevenueId":{"type":"integer","minimum":1,"example":2,"description":"Annual revenue band, 1 to 26 (see *Merchant Onboarding*).","maximum":26},"redirectUrlAfterKyc":{"type":"string","format":"uri","example":"https://www.acme.it/onboarding-completed","description":"http(s) page the merchant returns to after the identity verification.","maxLength":2048},"administrator":{"$ref":"#/components/schemas/Administrator"},"callback":{"$ref":"#/components/schemas/Callback"}}},"KycIssue":{"type":"object","properties":{"message":{"type":"string","example":"Organization details couldn't be verified"},"remediatingActions":{"type":"array","items":{"type":"string"},"example":["Upload a proof of organization tax info"]}}},"KycSection":{"type":"object","properties":{"status":{"type":"string","example":"needs_action","description":"Verification status of the section (e.g. ok, pending, needs_action, invalid)."},"issues":{"type":"array","items":{"$ref":"#/components/schemas/KycIssue"}}}},"KycDetails":{"type":"object","description":"Progress of the identity verification, updated by the network while the merchant completes it.","properties":{"capabilities":{"type":"object","properties":{"receivePayments":{"type":"string","nullable":true,"example":"active","description":"Whether the merchant can receive payments: `active`, `pending` or `blocked`."},"payouts":{"type":"string","nullable":true,"example":"pending","description":"Whether the merchant can withdraw funds (payouts): `active`, `pending` or `blocked`."}}},"sections":{"type":"object","properties":{"company":{"$ref":"#/components/schemas/KycSection"},"individuals":{"$ref":"#/components/schemas/KycSection"},"support":{"$ref":"#/components/schemas/KycSection"},"bankAccount":{"$ref":"#/components/schemas/KycSection"},"contracts":{"$ref":"#/components/schemas/KycSection"},"other":{"$ref":"#/components/schemas/KycSection"}}}}},"Merchant":{"type":"object","properties":{"id":{"type":"string","example":"6ab3a2b379293c45520c7048","readOnly":true},"createdAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:11+00:00","readOnly":true},"updatedAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:14+00:00","readOnly":true},"state":{"type":"string","enum":["NEW","WAIT","DONE"],"readOnly":true,"example":"WAIT"},"status":{"type":"string","readOnly":true,"example":"accepted","enum":["registered_pending_kyc_link","validation","waiting","accepted","pre_active","active","suspended","deactivated","rejected","error"],"description":"See *Merchant Onboarding*."},"companyName":{"type":"string","example":"ACME Srl","description":"Registered or trading name (for a sole proprietorship, the business name)."},"adminEmail":{"type":"string","format":"email","maxLength":45,"example":"amministrazione@pec.acme.it","description":"Company administration or certified email (PEC), at most 45 characters."},"country":{"type":"string","default":"IT","example":"IT","description":"ISO 3166-1 alpha-2 country of the company."},"legalEntityType":{"type":"string","enum":["organization","soleProprietorship"],"default":"organization","description":"`organization` for companies, `soleProprietorship` for sole traders and freelancers with a VAT number (see *Merchant Onboarding*)."},"ownerFirstName":{"type":"string","nullable":true,"example":null,"description":"Required for `soleProprietorship`: first name of the owner."},"ownerLastName":{"type":"string","nullable":true,"example":null,"description":"Required for `soleProprietorship`: last name of the owner."},"vatNumber":{"type":"string","nullable":true,"maxLength":20,"example":"IT01234567890","description":"VAT number (recommended): spaces, dots and hyphens are removed and a number with digits only is prefixed with `country`. At most 20 characters, prefix included."},"fiscalCode":{"type":"string","nullable":true,"maxLength":32,"example":"01234567890","description":"Company fiscal code (for a sole proprietorship, usually the owner's personal fiscal code). At most 32 characters."},"website":{"type":"string","example":"https://www.acme.it","description":"Company website: a URL or a host name (e.g. www.acme.it)."},"industryCode":{"type":"string","pattern":"^\\d{2,6}$","example":"722511","description":"NAICS industry code, 2 to 6 digits (convert ATECO codes to NAICS, see *Merchant Onboarding*)."},"yearlyRevenueId":{"type":"integer","minimum":1,"example":2,"description":"Annual revenue band (see *Merchant Onboarding*)."},"redirectUrlAfterKyc":{"type":"string","format":"uri","example":"https://www.acme.it/onboarding-completed","description":"http(s) page the merchant returns to after the identity verification."},"administrator":{"$ref":"#/components/schemas/Administrator"},"onboardingUrl":{"type":"string","format":"uri","nullable":true,"readOnly":true,"example":"https://onboarding.example.com/session/abc","description":"Identity verification page (status `accepted` or `pre_active`). Valid for 10 minutes, single use: call `GET /merchant/{id}` again for a new one."},"kycDetails":{"allOf":[{"$ref":"#/components/schemas/KycDetails"}],"nullable":true,"readOnly":true,"description":"`null` until the network sends the first verification update; not refreshed by `GET`."},"error":{"type":"string","readOnly":true,"example":"","description":"Reason for the `error` status or for the last problem, empty when none."},"balance":{"allOf":[{"$ref":"#/components/schemas/Balance"}],"nullable":true,"readOnly":true,"description":"Only in `GET /merchant/{id}`: same data of `GET /balance/{id}`, read in real time. null when the merchant is not registered yet or the data cannot be read at that moment."},"paymentMethods":{"type":"array","nullable":true,"readOnly":true,"items":{"$ref":"#/components/schemas/PaymentMethod"},"description":"Only in `GET /merchant/{id}`: payment methods enabled for the merchant (same data of `GET /merchant-configuration/{id}`), read in real time. null when not available."}}},"PaymentMethod":{"type":"object","properties":{"code":{"type":"string","example":"VIS","description":"Method code (see the table in *Merchant Configuration*; only these methods are listed): the value accepted by `paymentMethods` of `POST /pis`. `SEPA` is used by `POST /sdd`."},"type":{"type":"string","example":"card","description":"Method family, e.g. `card`, `pay_by_bank` or `sepa_direct_debit`."}}},"PaymentMethodsUpdateRequest":{"type":"object","required":["paymentMethods"],"properties":{"paymentMethods":{"type":"array","minItems":1,"maxItems":20,"description":"Methods to enable or disable, each listed once. Methods not listed are left unchanged.","items":{"type":"object","required":["type","enabled"],"properties":{"type":{"type":"string","pattern":"^[A-Za-z0-9_]{2,30}$","example":"apple_pay","description":"Card brand code (`VIS`, `ECA`, `AMX`, `DIN`, `JCB`, `DIS`, `MAU`, `CUP`), `apple_pay` (`APL`), `google_pay` (`GPA`), `pay_by_bank` (`BANK`) or `sepa_direct_debit` (`SEPA`), case-insensitive. Other methods are refused (error 550). `card` cannot be changed as a whole: change the single card brands (e.g. `VIS`, `ECA`). Enabling `sepa_direct_debit` (or `SEPA`) sends an activation request, approved separately."},"enabled":{"type":"boolean","example":true,"description":"true to enable the method, false to disable it."}}},"example":[{"type":"apple_pay","enabled":true},{"type":"BANK","enabled":true}]}}},"PaymentMethodUpdateResult":{"type":"object","properties":{"type":{"type":"string","nullable":true,"example":"card"},"code":{"type":"string","nullable":true,"example":"VIS","description":"Method code (`null` for Apple Pay)."},"enabled":{"type":"boolean","nullable":true,"example":true,"description":"Requested state."},"status":{"type":"string","enum":["updated","unchanged","partial","pending","failed"],"example":"updated","description":"`updated` / `unchanged`: the method is in the requested state; `partial`: applied only in part; `pending`: SEPA Direct Debit activation requested, awaiting approval; `failed`: not applied (see `message`)."},"message":{"type":"string","nullable":true,"example":null,"description":"Reason of a partial or failed update, or note on a pending activation."}}},"BalanceEntry":{"type":"object","properties":{"category":{"type":"string","enum":["processing","reserve","instant_payout_advance","risk_reserve"],"example":"processing","description":"See *Balance & Payouts*."},"currency":{"type":"string","example":"EUR"},"available":{"type":"integer","example":500000,"description":"Withdrawable amount (cents)."},"balance":{"type":"integer","example":600000,"description":"Total balance (cents)."},"pending":{"type":"integer","example":75000,"description":"Amount not yet available (cents)."},"reserved":{"type":"integer","example":25000,"description":"Amount on hold (cents)."},"totalReservedCents":{"type":"integer","example":0,"description":"For reserve categories: target amount of the deposit (cents)."}}},"Balance":{"type":"object","properties":{"balances":{"type":"array","items":{"$ref":"#/components/schemas/BalanceEntry"}},"payoutAccounts":{"type":"array","description":"Bank accounts receiving the payouts.","items":{"type":"object","properties":{"iban":{"type":"string","nullable":true,"example":"IT60X0542811101000000123456"},"bankName":{"type":"string","nullable":true,"example":"Banca Esempio"}}}}}},"Payout":{"type":"object","properties":{"id":{"type":"string","example":"6ab3a2b379293c45520c7048","readOnly":true},"createdAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:11+00:00","readOnly":true},"updatedAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:14+00:00","readOnly":true},"merchantId":{"type":"string","example":"6ab3a2b379293c45520c7048"},"amount":{"type":"integer","example":100000,"description":"Cents."},"currency":{"type":"string","example":"EUR"},"status":{"type":"string","example":"received","description":"Status reported when the transfer was submitted (not updated afterwards)."},"reason":{"type":"string","example":"approved","description":"Reason reported by the payment network (e.g. `approved`)."},"direction":{"type":"string","example":"outgoing","description":"Direction of the transfer (`outgoing`)."},"description":{"type":"string","example":"Withdrawal"},"iban":{"type":"string","nullable":true,"example":"IT60X0542811101000000123456"},"bic":{"type":"string","nullable":true,"example":null},"beneficiaryName":{"type":"string","nullable":true,"example":"ACME Srl"}}},"PaymentLinkCreateRequest":{"type":"object","required":["merchantId","amount","redirectUrlSuccess","redirectUrlFailure"],"properties":{"merchantId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","example":"6ab3a2b379293c45520c7048","description":"Merchant receiving the funds."},"amount":{"type":"integer","minimum":1,"maximum":10000000,"example":2500,"description":"Amount in the minor unit of `currency` (2500 = 25.00 EUR; JPY has no minor unit)."},"currency":{"type":"string","enum":["EUR","USD","GBP","CHF","CAD","RON","JPY","DKK","PLN","SEK","NOK"],"default":"EUR","description":"Cards, Apple Pay and Google Pay accept every currency; pay-by-bank accepts EUR only."},"paymentMethods":{"type":"array","minItems":1,"maxItems":20,"default":["card","BANK"],"items":{"type":"string","pattern":"^[A-Za-z0-9_]{2,30}$"},"example":["card","BANK"],"description":"Methods offered on the payment page, each listed once: codes (e.g. `VIS`, `APL`, `BANK`) or names (`card`, `apple_pay`, `google_pay`, `pay_by_bank`), case-insensitive. `card` offers every card brand enabled for the merchant. Only cards, Apple Pay, Google Pay and pay-by-bank are accepted (error 550 otherwise); SEPA Direct Debit is not accepted: use `POST /sdd`. Default `[\"card\", \"BANK\"]`, or `[\"card\"]` with `subscriptionOnCompletion`."},"description":{"type":"string","default":"Order Payment","example":"Order #12345","description":"Shown to the payer on the payment page. Longer texts are truncated to 450 characters."},"payerFirstName":{"type":"string","maxLength":100,"example":"Mario","description":"Optional first name of the payer, returned with the payment (not shown to the payer)."},"payerLastName":{"type":"string","maxLength":100,"example":"Rossi","description":"Optional last name of the payer, returned with the payment (not shown to the payer)."},"subscriptionOnCompletion":{"type":"object","description":"Card subscription started when the payment succeeds, on the card used by the payer (see *Payment Links*). The link `amount` is the first, upfront payment. Available only when `paymentMethods` is omitted or lists only `card` and card brand codes (Apple Pay, Google Pay and pay-by-bank are refused).","required":["amount","monthsFrequency","totalNumberOfPayments","startingDate"],"properties":{"amount":{"type":"integer","minimum":50,"maximum":250000,"example":1500,"description":"Cents charged at every renewal (1500 = 15.00)."},"monthsFrequency":{"type":"integer","minimum":1,"maximum":36,"example":1,"description":"Months between two charges."},"totalNumberOfPayments":{"type":"integer","minimum":1,"maximum":999999,"example":12,"description":"Number of renewal charges."},"startingDate":{"type":"string","format":"date","example":"2026-12-01","description":"Date of the first renewal charge (YYYY-MM-DD), after the current date (UTC)."}}},"redirectUrlSuccess":{"type":"string","format":"uri","example":"https://www.acme.it/payment/success","description":"http(s) page shown after a successful payment.","maxLength":2048},"redirectUrlFailure":{"type":"string","format":"uri","example":"https://www.acme.it/payment/failure","description":"http(s) page shown after a failed or cancelled attempt.","maxLength":2048},"callback":{"$ref":"#/components/schemas/Callback"}}},"PaymentLink":{"type":"object","properties":{"id":{"type":"string","example":"6ab51faed39ba031c051f8ae","readOnly":true},"createdAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:11+00:00","readOnly":true},"updatedAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:14+00:00","readOnly":true},"merchantId":{"type":"string","example":"6ab3a2b379293c45520c7048"},"state":{"type":"string","enum":["NEW","WAIT","DONE"],"readOnly":true,"example":"WAIT"},"status":{"type":"string","readOnly":true,"enum":["pending","completed","partially_refunded","refunded","charged_back","expired","error"],"example":"pending","description":"See *Payment Links*."},"amount":{"type":"integer","example":2500},"currency":{"type":"string","example":"EUR"},"refundedAmount":{"type":"integer","readOnly":true,"example":0,"description":"Refunded so far (minor unit)."},"description":{"type":"string","example":"Order #12345"},"payerFirstName":{"type":"string","nullable":true,"example":"Mario","description":"null when not provided."},"payerLastName":{"type":"string","nullable":true,"example":"Rossi","description":"null when not provided."},"paymentMethods":{"type":"array","items":{"type":"string"},"example":["card","BANK"],"description":"Methods offered, as codes (`card` = every enabled card brand)."},"subscriptionOnCompletion":{"allOf":[{"type":"object","description":"Card subscription started when the payment succeeds, on the card used by the payer (see *Payment Links*). The link `amount` is the first, upfront payment. Available only when `paymentMethods` is omitted or lists only `card` and card brand codes (Apple Pay, Google Pay and pay-by-bank are refused).","required":["amount","monthsFrequency","totalNumberOfPayments","startingDate"],"properties":{"amount":{"type":"integer","minimum":50,"maximum":250000,"example":1500,"description":"Cents charged at every renewal (1500 = 15.00)."},"monthsFrequency":{"type":"integer","minimum":1,"maximum":36,"example":1,"description":"Months between two charges."},"totalNumberOfPayments":{"type":"integer","minimum":1,"maximum":999999,"example":12,"description":"Number of renewal charges."},"startingDate":{"type":"string","format":"date","example":"2026-12-01","description":"Date of the first renewal charge (YYYY-MM-DD), after the current date (UTC)."}}}],"nullable":true},"redirectUrlSuccess":{"type":"string","example":"https://www.acme.it/payment/success"},"redirectUrlFailure":{"type":"string","example":"https://www.acme.it/payment/failure"},"initiationUrl":{"type":"string","format":"uri","nullable":true,"readOnly":true,"example":"https://pay.example.com/checkout/abc","description":"Payment page to send to the payer."},"expiresAt":{"type":"string","format":"date-time","nullable":true,"readOnly":true,"example":"2026-11-25T09:58:12+00:00","description":"End of validity of the link (30 days)."},"error":{"type":"string","readOnly":true,"example":"","description":"Reason of the `error` status or of the last problem, empty when none."}}},"SddRecurringPlan":{"type":"object","title":"Recurring plan","description":"`amount` charged every `monthsFrequency` months, `totalNumberOfPayments` times, from `startingDate`. `amount` (the amount of each charge) must be between 50 and 250000 cents.","required":["monthsFrequency","totalNumberOfPayments","startingDate"],"properties":{"monthsFrequency":{"type":"integer","minimum":1,"maximum":36,"example":1,"description":"Months between two charges."},"totalNumberOfPayments":{"type":"integer","minimum":1,"maximum":999999,"example":12,"description":"Number of charges."},"startingDate":{"type":"string","format":"date","example":"2026-12-01","description":"Day of the first charge (YYYY-MM-DD), after the current date (UTC)."}}},"SddCustomPlan":{"type":"object","title":"Custom plan","description":"Every charge with its own date and amount. Do not send `amount` with this plan: it is computed as the total of the charges. Do not mix it with the fields of the recurring plan.","required":["charges"],"properties":{"charges":{"type":"array","minItems":1,"maxItems":60,"items":{"type":"object","required":["date","amount"],"properties":{"date":{"type":"string","format":"date","example":"2026-12-15","description":"Day of the charge (YYYY-MM-DD): after the current date (UTC) and after the previous charge."},"amount":{"type":"integer","minimum":50,"maximum":250000,"example":5000,"description":"Cents."}}},"example":[{"date":"2026-12-15","amount":5000},{"date":"2027-01-15","amount":2500}]}}},"SddSubscription":{"type":"object","description":"Plan of a recurring direct debit and its progress, read from the payment network. The progress fields are absent when the recurring debit was not created (`error`).","properties":{"plan":{"type":"string","enum":["recurring","custom"],"example":"recurring"},"monthsFrequency":{"type":"integer","example":1,"description":"Recurring plan only."},"totalNumberOfPayments":{"type":"integer","example":12,"description":"Recurring plan only."},"startingDate":{"type":"string","format":"date","example":"2026-12-01","description":"Recurring plan only."},"charges":{"type":"array","description":"Custom plan only.","items":{"type":"object","properties":{"date":{"type":"string","format":"date","example":"2026-12-15"},"amount":{"type":"integer","example":5000}}}},"paymentsMade":{"type":"integer","example":2,"description":"Charges collected so far."},"totalCharged":{"type":"integer","example":3000,"description":"Total collected so far (cents)."},"nextChargeDate":{"type":"string","format":"date","nullable":true,"example":"2027-02-01","description":"Day of the next charge, null when the recurring debit is over."},"lastChargeDate":{"type":"string","format":"date","nullable":true,"example":"2027-01-01","description":"Day of the last charge collected, null before the first one."}}},"SddCreateRequest":{"type":"object","required":["merchantId","debtorIban","debtorName"],"description":"`amount` is required, except with a custom plan.","properties":{"merchantId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$","example":"6ab3a2b379293c45520c7048","description":"Merchant receiving the funds (SEPA Direct Debit must be active)."},"amount":{"type":"integer","minimum":1,"maximum":10000000,"example":1500,"description":"Single debit: the amount debited, in cents (1500 = 15.00 EUR). Recurring plan: the amount of each charge, between 50 and 250000. Custom plan: do not send it."},"currency":{"type":"string","enum":["EUR"],"default":"EUR","description":"SEPA Direct Debit is collected in EUR only."},"debtorIban":{"type":"string","example":"IT60X0542811101000000123456","description":"IBAN of the debited account, in a SEPA country of the European Economic Area. Spaces are ignored; format and check digits are validated."},"debtorName":{"type":"string","maxLength":140,"example":"Mario Rossi","description":"Account holder name as registered at the bank, verified with the IBAN before debiting (Verification of Payee)."},"debtorEmail":{"type":"string","format":"email","example":"mario.rossi@example.com","description":"Optional email of the payer, single debits only: it receives the confirmation receipt of the debit. Not accepted with `subscription`."},"description":{"type":"string","maxLength":150,"example":"Gym membership","description":"Text shown on the payer's bank statement, at most 150 characters. Single debit default: `Order Payment`. Recurring debit default: `Subscription <reference>`."},"payerFirstName":{"type":"string","maxLength":100,"example":"Mario","description":"Optional first name of the payer, returned with the payment (not shown to the payer)."},"payerLastName":{"type":"string","maxLength":100,"example":"Rossi","description":"Optional last name of the payer, returned with the payment (not shown to the payer)."},"subscription":{"description":"Optional plan: with it the debit is recurring (see *SEPA Direct Debit*). Without it, `amount` is debited once.","oneOf":[{"$ref":"#/components/schemas/SddRecurringPlan"},{"$ref":"#/components/schemas/SddCustomPlan"}]},"callback":{"$ref":"#/components/schemas/Callback"}}},"SddPayment":{"type":"object","properties":{"id":{"type":"string","example":"6ab51faed39ba031c051f8ae","readOnly":true},"createdAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:11+00:00","readOnly":true},"updatedAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:14+00:00","readOnly":true},"merchantId":{"type":"string","example":"6ab3a2b379293c45520c7048"},"state":{"type":"string","enum":["NEW","WAIT","DONE"],"readOnly":true,"example":"WAIT"},"status":{"type":"string","readOnly":true,"example":"pending","enum":["pending","completed","partially_refunded","refunded","failed","charged_back","active","suspended","cancelled","error"],"description":"Single debits: `pending`, `completed`, `partially_refunded`, `refunded`, `failed`, `charged_back`, `error`. Recurring debits: `active`, `suspended`, `completed`, `cancelled`, `failed`, `charged_back`, `error`. See *SEPA Direct Debit*."},"amount":{"type":"integer","example":1500,"description":"Single debit: the amount debited. Recurring plan: the amount of each charge. Custom plan: the total of the charges."},"currency":{"type":"string","example":"EUR"},"refundedAmount":{"type":"integer","readOnly":true,"example":0,"description":"Single debits only: refunded so far (cents)."},"description":{"type":"string","example":"Gym membership","description":"Text shown on the payer's bank statement, at most 150 characters."},"payerFirstName":{"type":"string","nullable":true,"example":"Mario","description":"null when not provided."},"payerLastName":{"type":"string","nullable":true,"example":"Rossi","description":"null when not provided."},"debtorIban":{"type":"string","example":"IT60X0542811101000000123456"},"debtorName":{"type":"string","example":"Mario Rossi"},"debtorEmail":{"type":"string","nullable":true,"example":null},"subscription":{"allOf":[{"$ref":"#/components/schemas/SddSubscription"}],"description":"Recurring debits only."},"error":{"type":"string","readOnly":true,"example":"","description":"Reason of the `error` status or of the last problem, empty when none."}}},"SddUpdateRequest":{"type":"object","description":"Send at least one change. `debtorIban` and `debtorName` go together.","properties":{"status":{"type":"string","enum":["active","suspended","cancelled"],"description":"`suspended` pauses the charges, `active` resumes them, `cancelled` stops the recurring debit for good."},"debtorIban":{"type":"string","example":"DE89370400440532013000","description":"New debited account, with `debtorName` (same rules as in `POST /sdd`)."},"debtorName":{"type":"string","maxLength":140,"example":"Hans Muster","description":"Account holder name of `debtorIban`."},"description":{"type":"string","maxLength":150,"example":"Gym membership 2027","description":"Text shown on the payer's bank statement, at most 150 characters. An empty string restores the default `Subscription <reference>`."}}},"RefundRequest":{"type":"object","properties":{"amount":{"type":"integer","minimum":1,"example":500,"description":"Amount to refund, in the minor unit of the payment currency. Omit it to refund the whole remaining amount."}}},"AisLiteCreateRequest":{"type":"object","required":["firstName","lastName","email","birthDate","birthPlace","redirectUrlSuccess","redirectUrlFailure"],"properties":{"firstName":{"type":"string","example":"Mario"},"lastName":{"type":"string","example":"Rossi"},"email":{"type":"string","format":"email","example":"mario.rossi@example.com"},"birthDate":{"type":"string","format":"date","example":"1985-04-23","description":"YYYY-MM-DD, a past date not earlier than 1900-01-01."},"birthPlace":{"type":"string","example":"Milano"},"redirectUrlSuccess":{"type":"string","format":"uri","example":"https://www.acme.it/ais/ok","description":"http(s) page the user returns to after authorizing at the bank.","maxLength":2048},"redirectUrlFailure":{"type":"string","format":"uri","example":"https://www.acme.it/ais/ko","description":"http(s) page the user returns to if the authorization fails or is cancelled.","maxLength":2048}}},"AisAccount":{"type":"object","properties":{"iban":{"type":"string","nullable":true,"example":"IT60X0542811101000000123456"},"currency":{"type":"string","nullable":true,"example":"EUR"},"balance":{"type":"number","nullable":true,"example":1250.75,"description":"Major units."}}},"AisTransaction":{"type":"object","properties":{"transactionId":{"type":"string","example":"3f7a1c0e9b2d4a6f8e1b2c3d4e5f6a7b","description":"Identifier of the transaction: stable across refreshes when the bank provides its own transaction id."},"accountIban":{"type":"string","nullable":true,"example":"IT60X0542811101000000123456"},"amount":{"type":"number","nullable":true,"example":-42.5,"description":"Major units, negative for debits."},"currency":{"type":"string","example":"EUR"},"date":{"type":"string","nullable":true,"example":"2026-05-14","description":"ISO 8601 date or date-time."},"description":{"type":"string","nullable":true,"example":"Coffee shop"},"category":{"type":"string","nullable":true,"example":null},"subcategory":{"type":"string","nullable":true,"example":null},"type":{"type":"string","nullable":true,"example":null},"status":{"type":"string","nullable":true,"example":null},"bankReference":{"type":"string","nullable":true,"example":null,"description":"Bank reference of the operation, when provided."}}},"AisCreateRequest":{"type":"object","required":["firstName","lastName","email","birthDate","birthPlace","redirectUrlSuccess","redirectUrlFailure","fiscalCode"],"properties":{"firstName":{"type":"string","example":"Mario"},"lastName":{"type":"string","example":"Rossi"},"email":{"type":"string","format":"email","example":"mario.rossi@example.com"},"birthDate":{"type":"string","format":"date","example":"1985-04-23","description":"YYYY-MM-DD, a past date not earlier than 1900-01-01."},"birthPlace":{"type":"string","example":"Milano"},"redirectUrlSuccess":{"type":"string","format":"uri","example":"https://www.acme.it/ais/ok","description":"http(s) page the user returns to after authorizing at the bank.","maxLength":2048},"redirectUrlFailure":{"type":"string","format":"uri","example":"https://www.acme.it/ais/ko","description":"http(s) page the user returns to if the authorization fails or is cancelled.","maxLength":2048},"fiscalCode":{"type":"string","example":"RSSMRA85D23F205R","description":"Italian personal fiscal code of the user (16 characters with a valid check character; spaces are removed and letters converted to uppercase)."}}},"AisRecord":{"type":"object","properties":{"id":{"type":"string","example":"6ab3a2b379293c45520c7048","readOnly":true},"createdAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:11+00:00","readOnly":true},"updatedAt":{"type":"string","format":"date-time","example":"2026-10-26T09:58:14+00:00","readOnly":true},"state":{"type":"string","enum":["NEW","WAIT","DONE"],"readOnly":true,"example":"DONE"},"status":{"type":"string","readOnly":true,"enum":["pending","completed","error","deleted"],"example":"completed","description":"See *Account Information*."},"flow":{"type":"string","enum":["lite","standard"],"example":"standard"},"firstName":{"type":"string","example":"Mario"},"lastName":{"type":"string","example":"Rossi"},"email":{"type":"string","format":"email","example":"mario.rossi@example.com"},"birthDate":{"type":"string","format":"date","example":"1985-04-23","description":"YYYY-MM-DD, a past date not earlier than 1900-01-01."},"birthPlace":{"type":"string","example":"Milano"},"redirectUrlSuccess":{"type":"string","format":"uri","example":"https://www.acme.it/ais/ok","description":"http(s) page the user returns to after authorizing at the bank."},"redirectUrlFailure":{"type":"string","format":"uri","example":"https://www.acme.it/ais/ko","description":"http(s) page the user returns to if the authorization fails or is cancelled."},"fiscalCode":{"type":"string","nullable":true,"example":"RSSMRA85D23F205R","description":"Standard flow only."},"consentUrl":{"type":"string","format":"uri","nullable":true,"readOnly":true,"example":"https://bank.example.com/consent/abc","description":"Page where the user authorizes access to their bank accounts."},"consentExpiresAt":{"type":"string","format":"date-time","nullable":true,"readOnly":true,"example":"2027-03-01T00:00:00+00:00","description":"Expiry of the bank authorization, when reported by the bank. Until then the data can be refreshed (Standard)."},"accounts":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/AisAccount"}},"transactions":{"type":"array","readOnly":true,"items":{"$ref":"#/components/schemas/AisTransaction"}},"dataFetchedAt":{"type":"string","format":"date-time","nullable":true,"readOnly":true,"example":"2026-10-26T10:06:15+00:00","description":"When the bank data was retrieved."},"error":{"type":"string","readOnly":true,"example":"","description":"Reason for the `error` status, empty otherwise."}}}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"parameters":{"skipParam":{"name":"skip","in":"query","required":false,"description":"Number of records to skip.","schema":{"type":"integer","default":0,"minimum":0}},"limitParam":{"name":"limit","in":"query","required":false,"description":"Maximum number of records (max 100).","schema":{"type":"integer","default":100,"minimum":1,"maximum":100}}}},"externalDocs":{"description":"First time here? Generate a new access token","url":"https://console.openapi.com/oauth"}}