Software

Peer-to-Peer Payment API (P2P API): How Card-to-Card Transfers Work for PSPs and Banks

Oksana Mikhailovskaya
14 min read

A P2P payment API is the interface a PSP or bank uses to move money between two people, card to card or account to account, through a funding leg and a credit leg. This guide is for PSPs, acquiring banks and e-money institutions (EMIs) that want to add peer-to-peer transfers to their own apps or their clients’ apps.

What Is a P2P Payment API?

A P2P payment API, or peer-to-peer payment API, is a set of requests that lets your app send money from one private person to another. One call tells your platform who pays, who receives and how much. Your platform then runs the debit, the credit, the checks and the notifications behind that call.

A P2P payment is a transfer between two private individuals for a purpose other than trade. It differs from the other card transaction types you already process: no merchant sells anything, and the money ends up with a consumer, not with a shop.

Three transfer types cover most products:

P2P transfer types by funding source and destination
Transfer typeFunding legCredit legRail
Card to cardDebit of the sender’s card, authorized by the sender’s issuerCredit to the recipient’s card, posted by the recipient’s issuerCard scheme push-payment service
Card to accountDebit of the sender’s cardCredit to the recipient’s bank or e-money accountCard scheme plus a domestic account rail
Account to accountDebit of the sender’s payment account by the bank or EMI that holds itCredit to the recipient’s payment accountCredit transfer, for example an instant credit transfer in euro
Note

P2P is not a payout

A payout and a P2P transfer differ in who pays. A payout moves money from a business to a person: winnings, refunds of a balance, seller earnings. A P2P transfer moves money from one person to another. The two use different transaction types, different fee models and, under EU anti-money-laundering law, a different treatment of card transfers.

How Does a P2P Money Transfer Work Through an API?

A P2P money transfer works in two card or account transactions joined by your platform. Your platform first checks and prices the transfer, then debits the sender through the funding leg, then credits the recipient through the credit leg. Each step has an owner, shown below for a card-to-card transfer.

  1. The sender’s app sends the request

    Your client’s app, or your own, calls the API with the sender’s card or token, the recipient’s card or account and the amount to be credited. A sender who saved a card as a network token does not type the card number again.

  2. Your platform verifies and prices the transfer

    Before any money moves, your platform checks the sender’s limits and verification level, chooses the acquiring connection by your payment routing rules and calculates the fee shown to the sender.

  3. The sender authenticates

    Where strong customer authentication applies, your 3DS Server runs 3-D Secure with the sender’s issuer, which authenticates the cardholder.

  4. The funding leg debits the sender

    Your acquirer submits an Account Funding Transaction (AFT) to the card scheme. The sender’s issuer approves or declines it, as it would a purchase.

  5. The credit leg pays the recipient

    Your acquirer, acting as the originating acquirer, submits an Original Credit Transaction (OCT). The recipient’s issuer posts the funds to the recipient’s card.

  6. Your platform confirms or unwinds the transfer

    Your platform closes the transfer in one of two ways. On success, it sends the final status to the app, notifies both people and matches both legs in settlement. If the credit fails, your platform asks your acquirer to submit an AFT reversal or credit adjustment, as Visa rule 7.4.1.3 requires.

The verify step matters more in P2P than in card acceptance. A transfer can be technically possible and still be priced on the wrong connection. That is why eComCharge added routing rules at the verify-p2p stage: the gateway is chosen and the fee calculated before the transfer starts.

Rule

Visa rules for the two legs

Under section 7.4.1.1 of the Visa Product and Service Rules, an AFT must be used to fund person-to-person money transfers in the card-absent environment, and in Europe for all merchants. It carries an AFT indicator and the correct business application identifier (BAI).

Under section 7.4.1.3, the acquirer reverses or adjusts the AFT if the recipient rejects the funds, declines the transfer or the transfer expires.

Under section 8.4.1.1, an OCT must involve only a single sender and a single recipient. One request pays one person, so a transfer to several recipients is several transfers.

How Do Visa Direct and Mastercard Move Deliver P2P Transfers, and How Fast?

Visa Direct and Mastercard Move are the card schemes’ push-payment services. They carry the credit leg of a P2P transfer to a card, an account or a wallet. You reach them through an acquirer that originates the credit transactions, not through a direct contract with each recipient’s bank.

18B+
eligible cards, accounts and digital wallets reachable through Visa Direct
195+
countries and territories reached through card, wallet and domestic schemes

Source: Visa Direct product page, figures as published by Visa

Both services push money to cards, accounts and wallets. Visa Direct describes itself as fast money movement “to cards, accounts and wallets through a single connection”, and lists P2P among its payment flows. Mastercard Move is Mastercard’s portfolio of money movement services for banks and non-bank financial institutions, with bank accounts, cards and wallets as endpoints.

Section 8.4.2.2 of the Visa rules sets what the recipient’s issuer must do, including how fast it posts the money:

  • The recipient issuer posts an OCT within 2 business days of receipt or disputes it. In Europe, for a transfer within the region, it posts on the same business day.
  • An issuer that takes part in Fast Funds makes the funds available within 30 minutes of approving the OCT, and within 60 seconds for a domestic OCT in the US.
  • The recipient issuer must not label the credit as a refund and must not charge consumer cardholders an extra transfer fee.

Account-to-account transfers follow the speed rules of the account rail. For an instant credit transfer in euro, the Instant Payments Regulation gives the payee’s provider 10 seconds to make the funds available on the payee’s account and confirm it. Without that confirmation, the payer’s provider restores the payer’s account at once.

Visa adds that availability also depends on account type, region and compliance processes, and that each participant stays responsible for its own legal compliance.

What Can PSPs and Banks Build with a P2P Payment API?

You can build four kinds of products on a P2P payment API. Each one has a different sender, a different recipient and a different compliance load, so decide which one you are building before you choose a connection. The cards below show who uses each and what it needs from your platform.

Bank, EMI

Transfers inside a banking or e-money app

Your own customers send money to friends by card number, account or phone alias, so your existing customer due diligence covers the sender. Where both providers are in the EU, the transfer carries at least both account numbers. On request you supply the names within three working days, or the full payer data for a transfer over EUR 1,000 (Funds Transfer Regulation, Article 5).

PSP

Card-to-card transfers for any cardholder

Anyone with a card sends money to another card from a web page or app. Senders are occasional users, so verification and limits carry most of the risk.

PSP, EMI

Cross-border, card-funded remittance

The sender pays by card and the recipient abroad receives to a card or an account. Currency conversion and the AML information on the transfer become the main work.

PSP serving platforms

P2P inside a client’s platform

A marketplace, community or gaming client lets its users pay each other, and you run the transfers under the client’s brand. Gaming and marketplace clients often need high-risk merchant onboarding before you switch P2P on. The AML obligations stay with the licensed party, you or your client; the scheme obligations sit with the originating acquirer and you as its service provider.

Platform payments to sellers are not P2P: they are business payouts, with their own split and settlement logic. Our post on marketplace settlements and vendor payouts covers that flow.

Good to know

Who does not need a P2P payment API

Two cases call for something simpler than a P2P payment API. If your clients only need to pay out to their own users, such as sellers or players, a payout transaction is the simpler choice and carries no P2P obligations. If you serve one market where banks already offer instant account transfers to every customer, a card-to-card product competes with a service your users already have. Start with the use case, not the API.

Which Licences and AML Rules Apply to P2P Transfers?

In the EU, a P2P transfer is a payment service, so you need a banking, payment institution or e-money licence, or a licensed partner that carries the service. On top of the licence come four sets of rules: strong customer authentication, data on the transfer, customer due diligence and, for account transfers, verification of the payee.

The second Payment Services Directive (PSD2) lists money remittance as a payment service in Annex I and defines it in Article 4(22): funds received from a payer, without a payment account, only to transfer them to a payee. Our overview of payment service licences explains the licence types.

EU rules that apply to a P2P transfer, and who carries each
RuleWhat it requiresWho carries it
PSD2, Article 97Strong customer authentication when the payer initiates an electronic payment, linked to the amount and the payee for remote paymentsThe sender’s issuer authenticates. You send the funding leg through 3-D Secure
Funds Transfer Regulation, Article 2(3)The rules on information accompanying transfers apply to card transfers between consumers, even though card purchases are exemptYou, as the payer’s payment service provider
Funds Transfer Regulation, Articles 4 and 5Payer name, account number and address, document number or date and place of birth, plus payee name and account number (or a unique transaction identifier). Inside the EU, account numbers suffice on the transfer, with full data on request within three working days for transfers over EUR 1,000You collect and verify the data before you send the transfer
AML Directive, Articles 11 and 13Customer due diligence for every business relationship, and for an occasional transfer of funds over EUR 1,000, plus ongoing monitoringYou, for your users. Your client, if it holds its own licence
Instant Payments RegulationVerification of the payee: the payer’s provider matches the account number and the payee’s name before the payer authorises a credit transferThe bank or EMI that holds the sender’s account. Euro area since 9 October 2025, other EU states by 9 July 2027
Visa rules, section 8.4.1.2Validate sender data, comply with anti-money-laundering law, disclose data collection, and notify Visa before the first OCTThe originating acquirer, and you as its service provider

These rules took effect on different dates. The Funds Transfer Regulation 2023/1113 has applied since 30 December 2024. From 10 July 2027 the AML Directive is repealed and its customer due diligence rules move to the directly applicable AML Regulation 2024/1624.

If you do not hold a licence yet, our guide on how to start a payment processing company compares working under your own licence with working through a licensed partner.

How Should You Set KYC Levels and P2P Transfer Limits?

Tie every limit to how well you know the sender, and count linked transfers as one. A sender you have only seen once gets small, few transfers. A fully verified customer gets more. The Funds Transfer Regulation counts transfers that appear to be linked, and split payments are a classic way to stay under thresholds.

Five limits do most of the work. Set each of them by sender, by card and by recipient, and agree them with your acquirer, which may require some of them:

Limits to configure before launch

  • Amount per transfer, per day and per month for each verification level.
  • Number of transfers per card in a day, so a stolen card cannot be emptied in a burst.
  • Number of different senders that one recipient card may receive from.
  • A first-transfer hold or a lower cap for a new recipient.
  • Country lists for the sender’s card and the recipient’s card.

Two tools keep these limits workable. Our post on setting transaction limits shows how card-based limits work on the gateway, and automated identity checks let limits rise for verified senders without manual review.

Illustrative example

Two small transfers that count as one

Assumptions, invented for the example: a sender inside the EU sends EUR 600 and then EUR 500 to the same recipient on the same day. Both providers are in the EU. The sender is an occasional user, not a customer with an account.

  • Each transfer alone is under EUR 1,000. Together they appear linked and come to EUR 1,100.
  • Under Article 5 of the Funds Transfer Regulation, the recipient’s provider can now ask for the full payer information, and you must supply it within three working days.
  • Under Article 11 of the AML Directive, customer due diligence is due for an occasional transfer of funds over EUR 1,000. Each transfer here is under that line, so treat the split as a structuring signal and verify the sender before the next one.

The practical rule: sum transfers per sender and per recipient over a rolling window, and step up verification before the sum, not the single transfer, passes your threshold.

What Are the Fraud Risks of a P2P Payment API?

The main fraud risks are stolen cards used to fund transfers, senders tricked into paying a fraudster, mule cards that collect stolen money, and transfers sent to the wrong person. All four end with money that has left your platform. Under PSD2, a payment order cannot be revoked once your platform has received it.

P2P fraud risks and the controls that reduce them
RiskWhat goes wrongHow to reduce it
Stolen card funds the transferA fraudster funds transfers from a stolen card and moves the money to a card they controlRun 3-D Secure on every funding leg, set velocity limits per card and check card history before the AFT
Sender is tricked into payingThe sender authorises a transfer to a fraudster posing as a seller, a relative or a bankShow the recipient’s name where the rail supports it, hold or cap first transfers to a new recipient and warn on unusual amounts
Mule card collects the moneyOne recipient card collects transfers from many unrelated senders, then cashes outLimit distinct senders per recipient card and review recipients with many first-time senders
Sender enters the wrong recipientThe sender mistypes the card number or accountTokenize recipients for repeat transfers and check names. Under PSD2 Article 88, you are not liable for a wrong identifier but must make reasonable efforts to recover the funds
Credit fails after the debitThe recipient’s issuer declines or the transfer expires after the sender was chargedHave your acquirer submit the AFT reversal or credit adjustment, as Visa rule 7.4.1.3 requires, and reconcile both legs every day

Two controls screen the funding card before the AFT: card history and rule-based filters. Our Smart Check post shows the counters kept for each card, P2P transfers and payouts included, and how a rule reads them. On the platform, SmartCheck card history supplies 16 metrics for each card over 360 days, with history from all PSPs on the processing network, not only yours. Rule-based anti-fraud tools add filters on top.

How Do You Integrate a P2P Payment API?

You can build the P2P stack yourself, connect to a scheme service through your acquirer and build the logic around it, or run P2P on a gateway platform that already holds the transaction types and connectors. The choice decides who maintains scheme changes, routing, limits and reconciliation.

Build or connect directly

  • You write the AFT and OCT handling, the limits, the fee logic and the reconciliation.
  • You certify each scheme change and each new acquirer yourself.
  • It fits an operator with a large payments engineering team and one or two acquirers.

Run P2P on a gateway platform

  • The platform vendor maintains the transaction types, connectors and scheme updates.
  • You configure routing, limits and fees for your clients, under your brand.
  • It fits a PSP or bank that wants P2P next to card acceptance, payouts and 3-D Secure.

Whichever you choose, your clients connect in one of three ways. They call the API server to server, send the sender to a hosted page, or embed the flow in a mobile app. The same integration methods serve card acceptance, and mobile SDKs for Android and iOS cover apps.

  1. Choose the transfer types and markets

    You decide card to card, card to account or account to account, and the sender and recipient countries.

  2. Confirm the scheme set-up with your acquirer

    Your acquirer confirms it can originate AFTs and OCTs in your countries and notifies the scheme before the first OCT.

  3. Set KYC levels, limits and fees

    Your compliance team writes the limits by verification level. Your product team sets the fee the sender sees.

  4. Test failure paths, not only success

    Your developers test a declined AFT, a declined OCT after a successful AFT, a timeout and a duplicate request with the same idempotency key, the unique request ID that stops a retry from creating a second transfer.

  5. Go live on a small share

    You open the product to verified customers first and widen limits once the fraud and reversal rates are known.

Two resources help before you commit: our white-label API checklist lists what your developers should verify before the integration starts, and our guide on how to choose a white-label payment platform helps you compare vendors.

P2P Transfers with eComCharge

On the eComCharge white-label gateway, P2P is one of 12 transaction types: a transfer of funds from card to card between private individuals. It runs on the same gateway as payments, refunds and payouts, under your brand.

  • P2P card-to-card transfers and payouts to cards as separate transaction types.
  • Smart Routing rules applied at the verify-p2p stage: the gateway is selected and the fee calculated before the transfer starts.
  • SmartCheck counters of successful and failed P2P transfers for each card, usable in routing rules.
  • A 3DS Server certified by Visa, Mastercard and UnionPay.
  • A local token vault, plus network tokens through Visa Token Service and Mastercard Secure Card on File, the schemes’ tokenization services.
  • PCI DSS Level 1, with annual security audits since 2012.
  • 170+ active connectors with banks and payment methods.

The P2P section of the API documentation describes the requests.

A software-as-a-service installation takes from 1 week and an installation on your own servers from 3 months.

eComCharge pricing depends strictly on your specific needs, so contact our sales team for a quote.

The white-label payment gateway page lists all 12 transaction types. Separate pages describe the platform for low-risk PSPs and for European banks.

Frequently asked questions

A P2P payment API, or peer-to-peer payment API, is the interface a PSP or bank uses to move money between two private people, card to card or account to account. One request names the sender, the recipient and the amount. The platform behind it debits the sender, credits the recipient and runs the checks and notifications.

It runs as two card transactions. The funding leg debits the sender's card as an Account Funding Transaction, which the sender's issuer approves after 3-D Secure where it applies. The credit leg pays the recipient's card as an Original Credit Transaction, which the recipient's issuer posts. Your platform links the two legs, and if the credit fails your acquirer reverses or adjusts the funding leg.

It depends on the rail and on the recipient's provider. On Visa, the recipient's issuer must post an Original Credit Transaction within 2 business days, or on the same business day for a transfer within Europe. Issuers in Fast Funds make the money available within 30 minutes of approval, and within 60 seconds for a domestic transfer in the US. Euro instant credit transfers between accounts must reach the payee within 10 seconds, or the payer's provider restores the payer's account.

In the EU, yes. Money remittance and the execution of payment transactions are payment services under PSD2, so you need an authorisation as a bank, payment institution or e-money institution, or a licensed partner that provides the service. The licence comes with anti-money-laundering duties: customer due diligence, monitoring and data on each transfer.

In the EU, they do. The Funds Transfer Regulation exempts card payments for goods and services, but Article 2(3) applies its rules when a card is used for a transfer between consumers. The payer's provider sends payer and payee names and account numbers, and the payer's address or identity details, or a unique transaction identifier, and verifies the payer's data before the transfer.

Not once it is sent. Under PSD2, a payment order cannot be revoked after the payer's provider has received it. If the sender typed a wrong card or account number, the provider is not liable but must make reasonable efforts to recover the funds. Fraud controls therefore have to act before the credit leg, not after it.

The difference is who pays. A P2P transfer moves money from one private person to another, funded by the sender's card or account. A payout moves money from a business to a person, such as a marketplace paying a seller or a gaming site paying winnings. On the eComCharge gateway, P2P and payout are two separate transaction types.

The cost depends on the transfer types, the markets, your volume and the acquiring connections you need. On eComCharge, P2P runs on the same gateway as card acceptance and payouts. eComCharge pricing depends strictly on your specific needs, so contact our sales team for a quote.


Respectfully, the eComCharge Team

eComCharge develops and delivers the PCI DSS Level 1 certified white-label payment platform for Payment Service Providers and Payment Orchestration.

Request demo

Relevant guides

Software

SaaS Payment Platform: How Embedded and Recurring Payments Work

How vertical SaaS platforms and the PSPs that serve them run embedded payments: the four models and their liability, recurring billing and SCA, failed renewals, cross-border acquiring, PCI DSS scope and the revenue maths.

Oksana Mikhailovskaya
Oksana Mikhailovskaya June 20, 2025
Software

Payment Routing: What It Is, How It Works and Key Strategies

An overview of payment routing for PSPs and banks: how a gateway chooses the acquirer for each online payment, the main rule types, static vs dynamic routing, least-cost routing, failover and cascading, KPIs and risks.

Oksana Mikhailovskaya
Oksana Mikhailovskaya March 11, 2025

Set up your payment processing system

in 7 days, not a year
Request demo