Overview

Let your customer authorize future charges to their bank account (הרשאה לחיוב חשבון) by approving a mandate at their own bank.

A direct debit mandate (הרשאה לחיוב חשבון) lets you, the creditor, charge your customer's bank account through Masav (מס״ב). With Open Finance the customer approves the mandate at their own bank, online, with no forms and no branch visit.

The mandate journey: review the terms and enter the account, approve at the bank, mandate active

What the payer sees when approving a mandate (sandbox data)

A mandate is not a payment: approving it moves no money. It gives you the right to charge the account later, within the terms the customer approved.

At a glance

  • What you'll do: create a mandate with the Open Finance journey or directly at the bank. The customer approves it at their bank.
  • What you need: a token with the create:mandates scope, your terms, and a customer whose bank takes mandates.
  • What you get back: a mandateId, a webhook on each status change, and ACTIVE once the customer approves.

Two ways to create a mandate

Like payments and connections, there is a journey endpoint and a direct endpoint.

Through the Open Finance journeyDirectly at the bank
EndpointPOST /v2/mandatesPOST /v2/mandates/open-banking-init
You sendYour institution code and the terms; anything else you know is prefilled and locked in the journeyThe terms, the bank, the customer's ID and account
You get backmandateUrl, a link you send to the customerscaOAuth, the bank approval link
The customerPicks the bank, enters the account, approves at the bankApproves at the bank

For when the customer reaches the bank and how long each link works, see Open Finance screens or straight to the bank.

What each bank supports

Verified against each bank's production API on 2026-10-19.

BankNo charge limitCharge limit (maxAmount)Frequency and first charge dateExpiry date (endDate)
Hapoalim✅✅✅ all except SemiAnnual✅
Mizrahi-Tefahot✅✅✅✅
Leumi✅✅❌✅
Discount✅✅❌✅
Beinleumi✅✅❌✅
Other banks❌ mandates are not available yet

Frequencies: Weekly, EveryTwoWeeks, Monthly, EveryTwoMonths, Quarterly, SemiAnnual, Annual.

When a bank does not support a term

A term a bank does not support is refused before the bank is called, with 400 and a message that names what is supported, for example:

{
  "type": "PARAMETER_NOT_SUPPORTED",
  "message": "mandateInformation.frequency is not supported for provider leumi. Supported providers: hapoalim, mizrahi."
}

Mandate statuses

StatusMeaning
INACTIVECreated, the customer has not reached the bank yet: the journey link was not opened, or the bank did not take the request.
RCVDThe bank received the mandate, waiting for the customer to approve it there.
ACTIVEApproved at the bank. You can charge the account.
PARTIALLY_AUTHORIZEDSome of the required approvers approved (for example a joint account).
REJECTEDThe customer or the bank refused it.
REVOKEDThe customer cancelled it at the bank.
TERMINATED_BY_USERCancelled through DELETE /v2/mandates/{mandateId}.
EXPIREDIt passed its expiry date.
SUSPENDED_BY_PROVIDERThe bank suspended it.

Status lifecycle

ACTIVE (green in the diagram) is the status you can charge on. REJECTED, REVOKED, EXPIRED and TERMINATED_BY_USER (red) are final.

flowchart TD
    create(["POST /v2/mandates or init"]) --> INACTIVE
    INACTIVE -->|bank takes the request| RCVD
    RCVD --> returns{{"customer returns"}}
    returns --> ACTIVE
    returns --> PARTIALLY_AUTHORIZED
    returns --> REJECTED
    PARTIALLY_AUTHORIZED -->|hourly check| ACTIVE
    ACTIVE --> hourly{{"hourly check"}}
    hourly --> REVOKED
    hourly --> EXPIRED
    hourly --> SUSPENDED_BY_PROVIDER
    INACTIVE -->|DELETE| TERMINATED_BY_USER
    ACTIVE -->|DELETE| TERMINATED_BY_USER

    classDef api fill:#ffffff,stroke:#6b7280,color:#374151
    classDef event fill:#ffffff,stroke:#6b7280,stroke-dasharray:4 3,color:#374151
    classDef good fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px,color:#1b5e20
    classDef failed fill:#fdecea,stroke:#c62828,stroke-width:2px,color:#7f1d1d
    class create api
    class returns,hourly event
    class ACTIVE good
    class REJECTED,REVOKED,EXPIRED,TERMINATED_BY_USER failed

When the customer returns from the bank, the status is read from the bank. DELETE /v2/mandates/{mandateId} also ends a mandate that is RCVD or PARTIALLY_AUTHORIZED.

In the sandbox there is no RCVD: the mandate goes from INACTIVE to ACTIVE or REJECTED when the customer returns.

Webhooks: each change in the diagram is sent as a Mandate Status Change webhook, starting with INACTIVE when POST /v2/mandates creates the journey link. See Following a mandate.

Following a mandate

  • Webhook: every status change is sent to your webhook (success URL, or fail URL for REJECTED, REVOKED, EXPIRED and TERMINATED_BY_USER) with mandateId, mandateStatus, bankName, userId and orgId.
  • Hourly check: Once an hour, Open Finance reads from the bank the status of every mandate that is ACTIVE, PARTIALLY_AUTHORIZED or UNKNOWN. A change made at the bank, such as the customer revoking the mandate there, reaches your webhook within about an hour, without you calling the status endpoint.
  • GET /v2/mandates/{mandateId} returns the mandate as saved by Open Finance. It does not call the bank.
  • GET /v2/mandates/{mandateId}/status returns the same mandate with its status read live from the bank, and saves it.

The bank's reference for the mandate is returned as providerIdentifier once the mandate was created at the bank.

Sandbox

Use providerId: "open-finance-sandbox" with includeFakeProviders: true on POST /v2/mandates/open-banking-init (or includeFakeProviders: true on a journey link). As with a sandbox connection or payment, there is no bank page: scaOAuth sends the customer back to the journey, which completes the mandate, sends the webhook and redirects to your redirectUrl with mandateId and mandateStatus. The status depends on the ID number:

psuIdResult
888000007, 888000015ACTIVE, with a bank reference SBX-…
888000023REJECTED

Next steps


Did this page help you?