Saltar al contenido

Payments without an IBAN

Contract with a customer's bank account without the agent ever seeing the IBAN.

View as Markdown

How it works

The IBAN never passes through the agent. You receive a paymentRef: opaque, single-use, expiring, bound to your credential and to the specific quote. Only the server knows which account is behind it.

  • Opaque. It carries no account data. Only the server can resolve it.
  • Single use. It backs one order and never a second one.
  • Expiring. It stops working after a short time.
  • Bound. It works only for the credential that originated it and for the quote it was made for.

Never put an IBAN in tool arguments

The agent never sees the IBAN. The MCP rejects any IBAN in a tool argument, and the API rejects a raw IBAN in an order. Enable tool approval in your client so you can review each call before it runs.

The customer opens a secure page and types their IBAN themselves. This works over MCP and REST.

  1. draft_create (POST /drafts) leaves the configuration and the customer contact.
  2. payment_link_create (POST /payment-links) with draftId and collectPersonalData=true.

    It returns a 30-minute url.

  3. Hand the url to the customer as is, through the channel where you talk to them.

    That page is not a conversation with you: they open it in their browser and type their IBAN and their details themselves.

  4. payment_link_status (GET /payment-links/{linkId}/status) until it says completed.

    It returns paymentRef, the masked IBAN (ES** **** **** **** **** 1234) and the holder initials. Show the customer the masked one so they can confirm it is their account.

  5. order_create (POST /orders) with paymentRef, claimedTotal and conditions.userConfirmedAt.

    Do not send customer.iban or the data the customer already typed in the link. If the link did not collect them, send the customer first name and surnames: the holder must share a surname with them.

Platforms that already hold payment data

If your platform already holds the customer's payment data, you can exchange it for a paymentRef from your server.

  1. Request a credential with payment:tokenize (granted separately and never by default).
  2. From your server, POST /agent/payment-credentials with iban, holderName, bindTo and ttlSec.

    It answers a paymentRef.

  3. Use it in order_create exactly like the one from the link.

    This operation does not exist as an MCP tool and the MCP rejects any IBAN in its arguments.

Server to server, not an MCP tool

Tokenization runs only over REST, from your server (POST /agent/payment-credentials). It is not an MCP tool, because an IBAN cannot pass through a model context. See the API reference and Credentials and capabilities.

Guarantees

  • A paymentRef works for a single order (PAYMENT_REF_ALREADY_REDEEMED from the second attempt on).
  • It expires after 30 minutes at most and is only accepted from the credential that originated it, for the quote it was bound to.
  • If the order amounts are not the ones the customer saw, it is rejected (PAYMENT_REF_QUOTE_MISMATCH).
  • The account holder must be the contracting person: they share at least one surname with the person on the order (for a company, they match the company name or the contact person). If someone else pays, that person should contract themselves through the secure link with collectPersonalData=true, or through the website: an agent cannot skip this check.
  • The link locks after 5 wrong IBANs.
  • Everything is kept in the order audit: who requested the payment, when and with which masked account.

While delegated payment is off on the server, order_create still accepts orders without paymentRef (what exists today); once it is turned on, it becomes required.

Personaliza tu tarifa