The PIS (Payment Initiation Service) API lets you collect payments on behalf of your customers through payment links and SEPA direct debits. With a single integration you can register merchants, create links payable by card, Apple Pay, Google Pay or bank transfer, set up single or recurring SEPA debits, manage refunds and transfer the collected funds to the merchant's account with an instant bank transfer.
The payer receives a link, chooses how to pay and completes the payment in just a few steps. The funds are credited to the merchant's balance, and the status of every payment can always be checked via API or received automatically via callback.
With the PIS API you can:
Openapi offers the following payment methods:
The payment collection process is based on four steps:
POST /register-merchant
The merchant is the company or professional receiving the payments. Companies, sole traders and freelancers with a VAT number can be registered. The required fields to include in the payload are:
{
"companyName": "ACME Srl",
"adminEmail": "[email protected]",
"country": "IT",
"legalEntityType": "organization",
"vatNumber": "IT01234567890",
"fiscalCode": "01234567890",
"website": "https://www.acme.it",
"industryCode": "722511",
"yearlyRevenueId": 2,
"redirectUrlAfterKyc": "https://www.acme.it/onboarding-completed",
"administrator": {
"name": "Mario",
"surname": "Rossi",
"email": "[email protected]",
"countryCode": "IT"
}
}
After registration, the merchant is reviewed and pre-approved. At that point, the GET /merchant/{id} call returns the onboardingUrl, the page where the merchant completes the identity verification. Once the verification is complete, the merchant becomes active and can receive payments and request payouts.
POST /pis
To create a payment link, the required fields to include in the payload are:
You can also specify the currency, the payment methods to offer, a description shown to the payer and a callback to receive updates. If you don't specify the methods, the link offers cards and pay-by-bank.
{
"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"
}
POST /pis
The response contains the initiationUrl, the link to send to the payer, and the link's expiry date (expiresAt). If a payment attempt fails, the payer can try again with the same link.
{
"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": ""
}
}
POST /pis
With the subscriptionOnCompletion parameter, a subscription starts automatically after the first payment, on the same card used by the payer. You can choose the installment amount, how many months apart to charge them, the total number of installments and the start date. The subscription is available for links that offer card payment only.
{
"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"
}
The status of every payment can be checked with GET /pis/{id} or received via callback at every status change:
POST /sdd
With SEPA Direct Debit, the amount is debited directly from the payer's account, in euros, with no payment page. Before each debit, the account holder's name is verified with the payer's bank (Verification of Payee): if it does not match the IBAN, the debit is rejected. The method must be activated once for each merchant and becomes available after approval. The required fields to include in the payload are:
{
"merchantId": "6ab3a2b379293c45520c7048",
"amount": 1500,
"debtorIban": "IT60X0542811101000000123456",
"debtorName": "Mario Rossi",
"debtorEmail": "[email protected]",
"description": "Invoice 2026/118"
}
POST /sdd
The debit stays in pending status until the payer's bank collects it (completed) or rejects it (failed). The payer can dispute the debit through their bank within 8 weeks.
{
"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": "[email protected]",
"error": ""
}
}
POST /sdd
With the subscription parameter, the debit becomes recurring and each installment is collected on its date, with no further requests. Two types of plan are available:
{
"merchantId": "6ab3a2b379293c45520c7048",
"amount": 1500,
"debtorIban": "IT60X0542811101000000123456",
"debtorName": "Mario Rossi",
"description": "Gym membership",
"subscription": {
"monthsFrequency": 1,
"totalNumberOfPayments": 12,
"startingDate": "2026-12-01"
}
}
With GET /sdd/{id} you can track the progress of the plan: installments collected, total collected and date of the next installment. With PATCH /sdd/{id} you can pause, resume or cancel the recurring debit, or change the debited account and the bank statement description.
POST /refund/{id}
You can refund payments made via link and single SEPA debits, in full or in part. For a partial refund, specify the amount in cents; for a full refund, no payload is needed. The amount is returned to the payer from the merchant's balance.
{
"amount": 500
}
POST /refund/{id}
{
"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": ""
}
}
POST /payout/{id}
With GET /balance/{id} you can check the merchant's balance: available amount, amount pending credit and amount on hold. The available amount can be transferred to the bank account provided by the merchant during registration, with an instant bank transfer in euros. Simply specify the merchant ID and the amount in cents.
{
"amount": 100000
}
POST /payout/{id}
{
"success": true,
"message": "",
"error": null,
"data": {
"id": "6ab3a2b379293c45520c7049",
"createdAt": "2026-10-26T09:58:11+00:00",
"updatedAt": "2026-10-26T09:58:14+00:00",
"merchantId": "6ab3a2b379293c45520c7048",
"amount": 100000,
"currency": "EUR",
"status": "received",
"reason": "approved",
"direction": "outgoing",
"description": "Withdrawal",
"iban": "IT60X0542811101000000123456",
"bic": null,
"beneficiaryName": "ACME Srl"
}
}
The PIS API is designed for any organization that wants to integrate payment collection into its services, for itself or for its customers:
Payment links, SEPA debits, refunds and payouts all go through a single integration: payments are managed entirely via API, from collection to fund transfer.
Do you need help?
Haven't found the answer you're looking for?
Fill in all the details, we will get back to you as soon as possible!
It is the Payment Initiation Service that lets you collect payments on behalf of your customers, through payment links and SEPA direct debits. With a single integration you manage the entire cycle, from merchant registration to the transfer of funds to their account.
Payment links can be paid by card (Visa, Mastercard, American Express, Diners, JCB, Discover, Maestro and UnionPay), Apple Pay, Google Pay and pay-by-bank, meaning a bank transfer from the payer's account. SEPA Direct Debit is also available to debit an account in the SEPA area directly, once or with a recurring plan.
Card, Apple Pay and Google Pay payments accept 11 currencies: EUR, USD, GBP, CHF, CAD, RON, JPY, DKK, PLN, SEK and NOK. Pay-by-bank and SEPA Direct Debit work in euros only.
First, you register the merchant, meaning the company or professional with a VAT number who receives the payments. After registration, the merchant completes an online identity verification. Once verified, you can create payment links and debits on their behalf.
Yes, in two ways. With cards, a subscription starts automatically on the same card after the first payment, with the amount, frequency and number of installments of your choice. With SEPA Direct Debit, you can create a recurring plan or a custom plan of up to 60 installments, each with its own date and amount, and you can pause, resume or cancel it at any time.
Yes. Payments made via link and single SEPA debits can be refunded in full or in part, including with multiple partial refunds. The amount is returned to the payer from the merchant's balance.
Payments are credited to the merchant's balance, which you can check at any time via API. The available amount can be transferred to the merchant's bank account with an instant bank transfer.
The payment link is created immediately and remains valid for 30 days. Card payments are collected immediately. SEPA debits take a few days instead, as they are collected when the payer's bank processes them.
It is designed for software houses and platforms that want to offer their customers the ability to collect payments, for management and invoicing software, e-commerce sites and marketplaces, and for subscription services such as gyms, schools and associations. More generally, it is for anyone who wants to integrate payment collection into their services, for themselves or for their customers.