# Israeli Direct Debit Building with an AI agent? Start at https://docs.payme.io/agents.md Last updated: 2026-11-23 Israeli direct debit with PayMe: collect a bank debit authorization (mandate) on PayMe's page, then charge the account in ILS with the returned buyer_key. Israeli direct debit charges a buyer's Israeli bank account instead of a card. The buyer signs a debit authorization (a mandate) once, and you charge the account with it later. > **Availability.** Israeli Direct Debit is offered to high-volume sellers only. It is enabled per account after approval by your PayMe sales representative; it is not self-service. Until then, `generate-sale` returns `720`. ## How it works Israeli direct debit works in two phases, both through `generate-sale` with `sale_payment_method: il-direct-debit`: 1. [Set up the bank authorization](/payments/israeli-direct-debit/post-generate-sale-il-direct-debit) with `sale_type: token`. The buyer fills in their bank details and signs on PayMe's page (`sale_url`), and PayMe saves the authorization as a token (`buyer_key`). 2. [Charge the authorization](/payments/israeli-direct-debit/post-generate-sale-2-il-direct-debit) with `sale_type: sale` and the `buyer_key`. Direct debit sales are in ILS, in one payment. ## Timing and callbacks - **Authorization.** The `buyer_key` stays inactive until the bank confirms the authorization. PayMe then sends `sale-complete` (or `sale-failure` if the bank rejects it), followed by `sale-il-direct-debit-update`. Its `authorization_status` values are on [Bank Authorization Statuses](/payments/codes-statuses/bank-authorization-statuses). - **Charge.** PayMe sends `sale-paid` when the debit is submitted, and completes the payment once 8 days (8 × 24 hours) have passed, in a check that runs once a day; then it sends `sale-complete`. If the bank returns the debit before that, the sale fails and PayMe sends `sale-failure`. - **Revoked authorization.** The bank can revoke an authorization at any time. PayMe then makes the token inactive, and it can't be used for new payments. The callback fields are on [Callbacks](/payments/getting-started/callbacks#israeli-direct-debit). ## Where to start 1. Ask your PayMe sales representative to enable Israeli direct debit on the account. 2. Follow [Accept Israeli direct debit](/accepting-payments/payment-methods/israeli-direct-debit) step by step. 3. Use the Israeli direct debit test data on [Test Cards and Payment Methods](/payments/getting-started/test-cards-and-payment-methods) in the sandbox. 4. Handle `sale-il-direct-debit-update`, and charge a `buyer_key` only while its authorization is active. B2B payment contracts can also pay by Israeli direct debit: see [Run a B2B payment contract end to end](/b2b-payments/getting-started/contract-lifecycle). ## Endpoints - [Create an Israeli direct debit authorization](/payments/israeli-direct-debit/post-generate-sale-il-direct-debit): POST /generate-sale - [Charge an Israeli direct debit authorization](/payments/israeli-direct-debit/post-generate-sale-2-il-direct-debit): POST /generate-sale ## Endpoints - [Create an Israeli direct debit authorization](/payments/israeli-direct-debit/post-generate-sale-il-direct-debit): POST /generate-sale - [Charge an Israeli direct debit authorization](/payments/israeli-direct-debit/post-generate-sale-2-il-direct-debit): POST /generate-sale