Logo di Grow Payment Gateway

Grow Payment Gateway

Organizzazione
skills-il
grow-payment-gateway

Integra il gateway di pagamento Grow by Meshulam nelle applicazioni israeliane: include pagine di pagamento (iframe/redirect/SDK), tokenizzazione, fatturazione ricorrente, link di pagamento, rimborsi, fatture, webhook e autenticazione 3DS tramite Grow Light API. Usalo quando l’utente chiede di accettare pagamenti tramite Grow o Meshulam, configurare la "slikat ashrai" con Grow, creare link di pagamento (drishat tashlum), gestire addebiti ricorrenti (hora'ot keva) tramite token Grow, elaborare rimborsi o annullamenti Bit, integrare i webhook Grow o cita "Grow", "Meshulam", "grow-il", "meshulam.co.il", la pagina di pagamento Grow o Grow API. Aiuta a evitare costosi errori di integrazione, indicando il formato corretto delle richieste FormData, le limitazioni che impongono l’uso esclusivo lato server e il passaggio obbligatorio approveTransaction, spesso trascurato dagli sviluppatori. NON usarlo per l’integrazione con Cardcom (usa invece cardcom-payment-gateway), per l’integrazione con Tranzila (usa invece tranzila-payment-gateway), per orchestrare pagamenti generici tra più gateway (usa invece israeli-payment-orchestrator) o per richieste non relative ai pagamenti.

Panoramica

Pubblicato daskills-il
Repositorytax-and-finance
Nome della skillgrow-payment-gateway
Stelle
39
Fork
23
File inclusi
9
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 9

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da skills-il su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Grow Payment Gateway in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/skills-il/tax-and-finance/tree/master/grow-payment-gateway
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skills-il/tax-and-finance.git /tmp/tax-and-finance
mkdir -p .claude/skills
cp -r /tmp/tax-and-finance/grow-payment-gateway .claude/skills/grow-payment-gateway
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Grow Payment Gateway in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Grow Payment Gateway non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Grow Payment Gateway non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Grow Payment Gateway (Meshulam)

Overview

Grow (formerly Meshulam) is one of Israel's leading payment gateways, powering thousands of businesses with credit card processing, Bit payments, Apple Pay, Google Pay, and more. Unlike other Israeli gateways, Grow offers a unified API (the "Light API") that covers payment pages, tokenization, recurring billing, payment links, invoices, and webhooks in a single integration.

This skill guides integration with Grow's Light API for the full payment lifecycle: accepting payments, saving tokens for recurring charges, creating payment links for invoices, processing refunds, and handling real-time webhook notifications.

Official docs: https://developers.grow.business/

Developer support: apisupport@grow.business (carried from an earlier cycle; not confirmed against Grow's published documentation this cycle, so confirm it in your merchant portal before relying on it).

Instructions

Step 1: Understand Grow's Authentication

Grow uses three credentials provided during merchant onboarding:

CredentialPurposeNotes
userIdMerchant identifierUnique per business account
pageCodePayment page configurationDifferent page codes for different payment types (credit card, Bit, recurring, etc.)
apiKeyAPI authenticationRequired when managing multiple businesses or specific configurations

Environments:

EnvironmentBase URL
Sandbox (testing)https://sandbox.meshulam.co.il
Productionhttps://secure.meshulam.co.il

Critical: Server-side only. All API requests must originate from your server. Client-side (browser) requests are blocked by Grow.

Critical: FormData format. All request bodies use multipart/form-data, NOT JSON. If you send application/json the API does not parse your fields at all, so you get a misleading validation error about a missing or invalid field rather than a content-type error.

Critical: every response is HTTP 200. The Light API signals failure in the body, never in the status line. A successful call returns status: 1; a failure returns status: 0 with an err object. Branch on status and err, never on the HTTP code. See the Error Codes section.

err changes shape, three ways. On a validation failure err is an object {"id": 707, "message": "..."}. On an unrecognised endpoint name err is the plain string "unknown method". And err.id is itself sometimes an OBJECT: getTokenTransactionsByExternalIdentifiers returns err.id = {"id": 1012, "content": "..."} with the useful text in err.id.content and a generic err.message. Code doing err.id === 54 silently mismatches there, and logging err.id prints [object Object]. Normalise before comparing.

status is sometimes a JSON string and sometimes a number. The same endpoint returns "status":"0" on one input and "status":0 on another. Compare loosely (coerce to string) rather than with a strict === 1.

Step 2: Choose Your Integration Pattern

PatternHow It WorksBest For
Payment Page (iframe/redirect)Grow hosts the payment form; you embed via iframe or redirectE-commerce checkout, one-time payments
SDK WalletModular JS SDK embedded in your pageCustom UX without iframe/redirect overhead
Payment LinkGenerate a URL to send to customersInvoicing, freelancer billing, remote payments
Token Charge (server-to-server)Charge a saved token directlyRecurring billing, subscriptions, repeat customers

Most Israeli merchants use Payment Page for the first payment (which also saves a token), then Token Charge for recurring billing.

Step 3: Implement a Payment Page

This is the most common integration -- create a hosted payment page and redirect or iframe the customer to it.

Endpoint: POST /api/light/server/1.0/createPaymentProcess

Required parameters:

ParameterTypeDescription
pageCodestringPayment page identifier (provided by Grow)
userIdstringYour merchant ID
sumnumberPayment amount (e.g., 10.99)
successUrlstringRedirect URL after successful payment (HTTPS required)
cancelUrlstringRedirect URL if payment is cancelled
descriptionstringProduct/service description
pageField[fullName]stringCustomer name (must contain at least two names)
pageField[phone]stringValid Israeli mobile phone number

Optional parameters:

ParameterTypeDescription
pageField[email]stringCustomer email
paymentNumintegerFixed number of installments (1-12)
maxPaymentNumintegerMax installments customer can choose (2-N)
chargeTypeinteger1 = regular charge
notifyUrlstringServer-to-server callback URL
invoiceNotifyUrlstringInvoice webhook URL
cField1 - cField9stringCustom merchant fields (passed back in callbacks)
transactionTypes[]arrayRestrict which payment methods appear (SDK-wallet pages only). Each method is a fixed array index, see table below

Payment methods (transactionTypes) -- SDK-wallet pages only. Two things matter and earlier versions of this skill got the second one wrong. The ARRAY INDEX selects the slot, and the VALUE is an integer method code. Both come from the createPaymentProcess schema on the official reference page:

ParameterPayment MethodDocumented value
transactionTypes[0]Credit Card1
transactionTypes[1]Bit6
transactionTypes[2]Apple Pay13
transactionTypes[3]Google Pay14
transactionTypes[4]Bank transfer15
transactionTypes[5]Pay Boxdefaults to 5

Invoice line items (optional):

ParameterTypeDescription
productData[0][catalogNumber]integerItem catalog number
productData[0][quantity]integerItem quantity
productData[0][price]numberItem price
productData[0][itemDescription]stringItem description

Example request:

bash
curl -X POST https://sandbox.meshulam.co.il/api/light/server/1.0/createPaymentProcess \
  -F "pageCode=YOUR_PAGE_CODE" \
  -F "userId=YOUR_USER_ID" \
  -F "sum=149.90" \
  -F "successUrl=https://example.com/payment/success" \
  -F "cancelUrl=https://example.com/payment/cancel" \
  -F "description=Monthly subscription" \
  -F "pageField[fullName]=Israel Israeli" \
  -F "pageField[phone]=0501234567" \
  -F "pageField[email]=customer@example.com" \
  -F "paymentNum=1" \
  -F "notifyUrl=https://example.com/api/grow/webhook" \
  -F "cField1=order-12345"

The response includes a url field -- redirect the customer there or embed as an iframe.

Important: treat the payment page URL as short-lived and generate a fresh one for each checkout session. A 10-minute window is the figure carried by this skill from earlier cycles; it is not stated on any Grow documentation page this cycle could fetch, so do not rely on the exact number.

Step 4: Handle the Payment Response

After the customer completes payment, two things happen:

  1. Client redirect: Customer is redirected to successUrl with response=success appended
  2. Server callback: Grow sends a POST to your notifyUrl with full transaction details

Always verify via server callback, not the client redirect (which can be spoofed). In the callback, confirm success by checking statusCode (2 = paid), do not treat the mere arrival of a redirect to successUrl as proof of payment.

Payload nesting (important): on the server-to-server notifyUrl callback the fields are nested under a data object (the top level is {err, status, data}), so read data.statusCode, data.transactionToken, and data.transactionId (the id you pass to approveTransaction), NOT the top level. The separate webhookKey webhook system (Step 11) delivers a flatter payload.

Step 5: Approve the Transaction (MANDATORY)

After receiving the server callback, you MUST call approveTransaction to confirm receipt. This does not alter the payment -- it closes the transaction loop with Grow.

Endpoint: POST /api/light/server/1.0/approveTransaction

approveTransaction requires both identifiers from the callback. Sending only transactionId fails with err.id 54 (חסרים נתונים:transactionToken), and sending only transactionToken fails with 54 for transactionId.

ParameterRequiredSource
pageCodeYesYour page code
transactionIdYesdata.transactionId from the callback
transactionTokenYesdata.transactionToken from the callback
bash
curl -X POST https://sandbox.meshulam.co.il/api/light/server/1.0/approveTransaction \
  -F "pageCode=YOUR_PAGE_CODE" \
  -F "transactionId=TRANSACTION_ID_FROM_CALLBACK" \
  -F "transactionToken=TRANSACTION_TOKEN_FROM_CALLBACK"

Do NOT call approveTransaction for: token-only saves, delayed (J4J5) transactions, or createTransactionWithToken charges.

What happens if you never call it is NOT documented and this skill does not guess. Grow's docs mark the step mandatory, and err.id 722 (לא ניתן לבצע אישור לעסקה שלא בוצעה או בוטלה) shows an approval can be refused. Whether funds are captured without it, whether there is an expiry window, and whether a late approval is still accepted could not be established without a merchant account. If you are recovering approvals after an outage, confirm the answer with Grow before choosing between replaying approvals and refunding, and do not assume either way.

Step 5.5: Do not trust the callback body on its own

The server callback is the trust anchor for fulfilment, and it is an unauthenticated public POST. Grow sends no signature header; webhookKey identifies the webhook, it is not a shared secret you can verify a payload against. Anyone who learns your notifyUrl can forge {statusCode: 2, ...} and take goods for free.

Before fulfilling any order:

  1. Re-query Grow server-to-server with getTransactionInfo (transactionId + transactionToken) or getPaymentProcessInfo (processId + processToken). Treat the API answer as the truth, not the callback body.
  2. Assert the returned amount equals the amount on YOUR order record. A forged or replayed callback that names a different sum must not fulfil.
  3. Use an unguessable per-merchant notifyUrl path, and never log the URL where customers can see it.
  4. Deduplicate on transactionId: a redelivered or replayed callback must fulfil once, not twice.

Step 5.6: Idempotency and retries

transactionUniqueIdentifier is your idempotency key on createTransactionWithToken. Send a value that is stable per logical charge, not per attempt.

  • On a network timeout or a 5xx where you do not know whether the card was charged, do NOT blind-retry with a fresh identifier: that is how a customer gets billed twice. Re-send the SAME transactionUniqueIdentifier, or reconcile first with getTokenTransactionsByExternalIdentifiers.
  • err.id 712 (העסקה כבר בוצעה) is the replay signal, not a bug. Treat it as "already charged, succeed" rather than as a failure to retry.

Step 6: Query Transaction Details

Get transaction info:

POST /api/light/server/1.0/getTransactionInfo

ParameterTypeDescription
pageCodestringPage identifier
transactionIdstringTransaction ID to query
transactionTokenstringTransaction token from the callback. Required: omitting it returns err.id 54

Get payment process info:

POST /api/light/server/1.0/getPaymentProcessInfo

ParameterTypeDescription
pageCodestringPage identifier
processIdstringProcess ID from createPaymentProcess
processTokenstringProcess token from createPaymentProcess. Required: omitting it returns err.id 54

Step 7: Process Refunds

Refund a credit card transaction:

POST /api/light/server/1.0/refundTransaction

ParameterTypeDescription
pageCodestringPage identifier
transactionIdstringTransaction to refund
transactionTokenstringTransaction token. Required: without it the call returns err.id 54
refundSumnumberAmount to refund (partial or full). The parameter is refundSum; sum is not accepted here and leaves the call failing with err.id 707

Refund-specific failures worth handling: 105 and 218 (refund larger than the original), 130 and 207 (partial refund on a transaction settled or transmitted today), 210 (already refunded), 110 (funds already transferred to the bank, so the request goes to manual approval).

Cancel a Bit transaction:

POST /api/light/server/1.0/cancelBitTransaction

This endpoint is keyed by the PROCESS, not the transaction. Sending transactionId returns err.id 54 for processId.

ParameterTypeDescription
pageCodestringPage identifier
processIdstringPayment process id
processTokenstringPayment process token

Step 8: Create Payment Links

Payment links (drishat tashlum) let you send a payment URL to customers via email, SMS, or WhatsApp. Useful for invoicing and remote payments.

Endpoint: POST /api/light/server/1.0/createPaymentLink

ParameterTypeDescription
pageCodestringPage identifier
userIdstringMerchant ID
sumnumberPayment amount
descriptionstringPayment description
pageField[fullName]stringCustomer name
pageField[phone]stringCustomer phone
pageField[email]stringCustomer email

The response includes a shareable payment URL. Query an existing link with getPaymentLinkInfo, which requires paymentLinkProcessToken (omitting it returns err.id 54 naming that field).

updatePaymentLink is not available on the Light API. Probed against both sandbox.meshulam.co.il and secure.meshulam.co.il, it returns {"err":"unknown method"}, the same response the router gives for an endpoint name that does not exist, and distinct from the permission errors (300, 714, 715) a real-but-unauthorised endpoint returns. Create a replacement link instead.

Step 9: Tokenization and Recurring Billing

Where the token comes from: the saved card token arrives in the payment webhook's transactionToken field after the first payment. Use that value as the cardToken in the createTransactionWithToken calls below.

getTokenOnly does not resolve on the Light API path. Grow's reference nav still lists a "Get Token Only" operation, but POST /api/light/server/1.0/getTokenOnly returns {"err":"unknown method"} on BOTH hosts and across casing variants, which is the router's answer for a name it does not know. Do not code against this path. To save a card without charging it, run a payment through a page code configured for tokenization and take the token from the callback, or confirm the current operation with Grow support.

Grow supports three recurring payment models:

Option A: Grow-Managed via Page Code

Use a dedicated recurring page code configured in the Grow dashboard:

  1. Create payment with createPaymentProcess using the recurring page code
  2. Set sum to the monthly charge amount and paymentNum to total iterations
  3. Grow handles all subsequent charges automatically
Option B: Charge a Saved Token (server-to-server)

Charge a saved card token directly. The token parameter is cardToken (NOT token), and paymentType=2 is a Regular charge:

bash
curl -X POST https://sandbox.meshulam.co.il/api/light/server/1.0/createTransactionWithToken \
  -F "userId=YOUR_USER_ID" \
  -F "sum=99.00" \
  -F "description=Monthly subscription" \
  -F "cardToken=SAVED_CARD_TOKEN" \
  -F "paymentType=2" \
  -F "pageField[fullName]=Israel Israeli" \
  -F "pageField[phone]=0501234567" \
  -F "transactionUniqueIdentifier=UNIQUE_PER_CHARGE"

cardToken is the saved card token; it arrives in the payment webhook's transactionToken field. Check statusCode in the response (2 = paid) to confirm the charge succeeded. This endpoint uses userId, not pageCode, and it also requires paymentNum (omitting it returns err.id 54 for paymentNum); send paymentNum=1 for a single non-instalment charge.

Option C: Premium Recurring Series (recurringDebitId)

For a Grow-managed recurring series, each charge carries a recurringDebitId that ties it to the series. That id is returned by the FIRST premium-recurring payment's response; pass it on every subsequent createTransactionWithToken call, alongside cardToken, paymentType=2, and the required fields above:

bash
curl -X POST https://sandbox.meshulam.co.il/api/light/server/1.0/createTransactionWithToken \
  -F "userId=YOUR_USER_ID" \
  -F "sum=99.00" \
  -F "description=Monthly subscription" \
  -F "cardToken=SAVED_CARD_TOKEN" \
  -F "paymentType=2" \
  -F "pageField[fullName]=Israel Israeli" \
  -F "pageField[phone]=0501234567" \
  -F "recurringDebitId=RECURRING_DEBIT_ID" \
  -F "transactionUniqueIdentifier=UNIQUE_PER_CHARGE"

Confirm the exact premium-recurring initiation parameters on the createTransactionWithToken reference (see Reference Links) rather than assuming a flag name.

Update recurring payment:

updateRecurringPayment is NOT available on the Light API: probed against both hosts it returns {"err":"unknown method"}. The live endpoint for changing a direct-debit series is POST /api/light/server/1.0/updateDirectDebit. Confirm its parameter set on the Update Direct Debit reference page before wiring it, and expect err.id 180 (פעולת עידכון לא בוצעה, רשומה לא נמצאה) when the series id does not match.

Token transaction lookup:

POST /api/light/server/1.0/getTokenTransactionsByExternalIdentifiers -- find all transactions for a given token using external reference IDs.

Premium recurring features:

  • Automatic card update on expiration (new expiry date applied to existing token)
  • Card transfer support when customer switches cards
  • Distinct billing line on customer's credit card statement

Step 10: Delayed Payments (J4J5 Installments)

J4J5 allows 4 interest-free installments (tashlumim l'lo ribit), a popular payment option in Israel:

Create delayed payment:

POST /api/light/server/1.0/createPaymentProcess with J4J5 page code

Settle when ready:

POST /api/light/server/1.0/settleSuspendedTransaction

This endpoint is keyed by userId, NOT pageCode. Sending pageCode returns err.id 54 for userId.

ParameterTypeDescription
userIdstringMerchant ID
transactionIdstringSuspended transaction to settle
transactionTokenstringTransaction token
sumnumberAmount to settle

Settlement is capped: err.id 814 means the charge exceeded the authorised hold by more than 30 percent, and 804 means it exceeded the hold entirely. 803 means the J5 authorisation expired, and 808 means the transaction was already settled.

Related: createFarPaymentRequest also exists on the Light API (verified live on both hosts). It is not covered by this skill; read its reference page before using it.

Step 11: Configure Webhooks

Grow sends real-time notifications to your server for various events. Contact apisupport@grow.business to enable webhooks for your account.

Webhook trigger options:

TriggerDescription
All one-time transactionsEvery payment across all pages
Specific payment pagesFilter by page code
Specific payment linksFilter by payment link
Recurring paymentsFrom 2nd charge onward
Failed recurringWhen a recurring charge fails
POS transactionsIn-person payments
Invoice creationWhen invoices are generated
Mobile app transactionsPayments via Grow app

Common webhook payload fields:

FieldDescription
webhookKeyUnique webhook identifier
statusCodePayment status code, 2 = paid (success). Branch on this server-side to confirm the payment succeeded before fulfilling; a client redirect alone is not proof
transactionTokenSaved card token, keep it to charge later via createTransactionWithToken for recurring/repeat billing
transactionCodeTransaction reference
paymentSumAmount charged
paymentDateTransaction timestamp
fullNamePayer name
payerPhonePayer phone
payerEmailPayer email
cardSuffixLast 4 digits of card
cardBrandCard brand (Visa, Mastercard, etc.)
asmachtaReference number (asmakhta)
paymentSourceOrigin (page, link, POS, etc.)

Recurring payment webhook (additional fields):

FieldDescription
directDebitIdRecurring series identifier
paymentsNumPayment number in series
allPaymentNumTotal number of payments in the series (newer PaymentLinks payloads spell it allPaymentsNum)
periodicalPaymentSumRecurring charge amount

Failed recurring webhook (additional fields):

FieldDescription
error_messageFailure reason
charges_attemptsNumber of retry attempts
regular_payment_idFailed recurring payment ID

Invoice webhook (set via invoiceNotifyUrl):

FieldDescription
transactionCodeRelated transaction
invoiceNumberGenerated invoice number
invoiceUrlURL to download invoice PDF

Step 12: 3D Secure

3DS runs on Grow's hosted payment surface, not in your server code: the page or SDK wallet presents any challenge to the cardholder, and your integration sees only the final outcome in the callback. Grow documents it on a dedicated reference page (see Reference Links).

This skill does not restate the mechanics, because which page types run a challenge, whether it is merchant-configurable, and how the liability shift applies to a server-to-server createTransactionWithToken charge (a merchant-initiated transaction rather than a cardholder-present one) could not be verified without a merchant account. Read the 3DS reference page before you rely on a liability-shift assumption, and do not assume a token charge inherits the 3DS status of the original payment.

Step 13: Payment Page Types

Grow offers pre-configured payment page types, each with a different pageCode:

Page TypeDescriptionNotes
SDK WalletModular JS widgetNo iframe/redirect needed
GenericCredit card + BitCustomizable, up to 2 extra fields
Credit CardCard payments onlySupports regular and recurring
Google PayGoogle Pay onlyChrome on Android; requires allow="payment" on iframe
Apple PayApple Pay onlyRequires domain verification for iframe
BitBit mobile paymentBest on mobile, full-screen recommended
Bit QRQR code for BitFor desktop/in-store display

iframe integration:

html
<iframe src="PAYMENT_URL_FROM_API"
        width="100%" height="600"
        allow="payment"
        style="border: none;">
</iframe>

HTTPS is mandatory for iframe integrations. HTTP will not work.

Keep callback URLs short. Use cField1-cField9 to carry order context instead of long query strings. (Earlier cycles cited a 2000-character limit; that figure is not stated on Grow's published documentation, and 2000 is in any case the common browser rule of thumb rather than a Grow-specific API limit.)

Error Codes

Grow returns errors in the body with status: 0 and an err object carrying a numeric id. The full table is on the Errors reference page (see Reference Links); the codes an integration hits most often are below. Messages are Hebrew, as returned by the API.

CodeMeaning
12General error
54Missing required field; the message names the field
105 / 190 / 218Refund amount exceeds the original transaction
110Funds already transferred to the bank; refund sent for manual approval
130 / 207Partial refund not allowed yet (settled today, or not yet transmitted)
170Transaction does not exist
210Transaction already refunded
271Bit payment above 3,600 NIS
300This merchant is not authorised for API access
617Transaction total does not match the sum of the products
701Invalid identifier: userId / pageCode
707Invalid amount
709Link expired
712Transaction already performed
714Access blocked
716Invalid transaction code or token
722Cannot approve a transaction that was not performed or was cancelled
723apiKey is a required field
730Invalid process code or token
731pageCode does not match the one the identification was made with
734Credit transaction needs at least 3 instalments and 25 NIS
736paymentNum and maxPaymentNum cannot be sent together
763Invalid JSON in productData
803J5 authorisation expired
814Charge exceeds the authorised hold by more than 30 percent
403Forbidden: X-API-KEY was not sent

Codes outside this published table exist. settleSuspendedTransaction with an unmatched userId returns err.id 743 (אין עסק תואם ל userId שנשלח), and createTransactionWithToken with an unknown userId returns 104. Treat any unrecognised err.id as a failure and surface err.message rather than assuming success.

Gotchas

  • The most common integration mistake: Grow's API requires multipart/form-data for all requests, NOT application/json. Sending JSON does not produce a content-type error. The fields simply never parse, so you get a validation error about the first missing field (typically err.id 707, invalid amount), and agents then go hunting for a bug in the amount.
  • Every response is HTTP 200, including every failure. An agent that checks response.ok or the status code will treat a declined or rejected call as a success. Branch on the body's status field (1 success, 0 failure) and on err.
  • err is an object {id, message} for validation failures but the plain string "unknown method" when the endpoint name is not recognised. Type-check before reading err.id.
  • All Grow API requests must originate from a server, but not because the API returns 403 to a browser. It answers a request carrying a browser Origin and Referer normally; what stops client-side use is that the API sends no CORS headers, so the browser blocks the response. The symptom is a CORS console error, not a 403. A real 403 from Grow means an X-API-KEY header was not sent.
  • cardToken and transactionToken are not card data, but they ARE bearer credentials: anyone holding a cardToken can charge that card through your merchant account. Never log them, never put them in a URL or in client-side code, and encrypt them at rest. The hosted-page, iframe and payment-link patterns exist so raw card numbers never touch your server; do not accept, log, or proxy a PAN yourself.
  • Amounts are Israeli shekels. The Bit ceiling (3,600) and the credit floor (25) in Grow's error table are both NIS. The API exposes no currency parameter in the calls this skill covers, so do not assume a foreign-currency charge can be expressed by changing sum.
  • paymentNum and maxPaymentNum are mutually exclusive: sending both returns err.id 736. maxPaymentNum is also rejected on a standing-order page (739) and on an account configured for regular payments only (740).
  • Bit has a per-transaction ceiling: err.id 271 is returned for a Bit payment above 3,600 NIS. A credit (kredit) transaction has its own floor, err.id 734: minimum 3 instalments and 25 NIS.
  • After receiving a payment webhook, you MUST call approveTransaction to close the loop. Agents often skip this step, which leaves transactions in a pending state in Grow's system.
  • Payment page URLs expire after 10 minutes. Agents may store and reuse a URL across sessions, leading to blank pages or errors.

Troubleshooting

ProblemCauseSolution
HTTP 403 ForbiddenX-API-KEY header was not sent. This is the cause Grow's own error table gives for 403Send the X-API-KEY header on the calls that require it
Browser request fails, no 403 seenThe API sends no CORS headers, so the browser blocks reading the response. Verified: a request carrying a browser Origin and Referer is answered normallyMove the call server-side. Do not go looking for a 403; the symptom is a CORS console error
err.id 707 "invalid amount" on a request whose amount is fineLikeliest cause is a JSON body: the fields never parse, so the first validation check fails on the amount. Not confirmed to be the only triggerSwitch to multipart/form-data (FormData) and re-send
err.id 54 on approveTransactionOnly one of the two required identifiers was sentSend BOTH transactionId and transactionToken from the callback
err.id 54 on cancelBitTransactionThe endpoint is keyed by process, not transactionSend processId and processToken, not transactionId
{"err":"unknown method"}The endpoint name does not exist on the Light API. getTokenOnly, updatePaymentLink and updateRecurringPayment all return this on both hostsUse a live endpoint; see Step 9 and the Error Codes section
Every call "succeeds" but nothing happensBranching on the HTTP status. Every response is HTTP 200, including failuresBranch on the body's status field and on err
Payment page URL expired (err.id 709)The link has passed its validity window. The commonly-cited window is 10 minutes, but that figure is not confirmed on Grow's published docsCall createPaymentProcess again for a fresh URL
Webhook not receivedWebhooks not enabledContact apisupport@grow.business to enable
Transaction not foundWrong environmentEnsure sandbox transactions are queried against sandbox URL
Recurring charge failedExpired cardEnable premium recurring for automatic card expiry updates
localhost in successUrlNot allowedUse a tunnel (ngrok) or deployed URL for testing
iframe blank on HTTPHTTPS requiredServe your page over HTTPS
Apple Pay iframe failsDomain not verifiedComplete Apple domain verification via Grow dashboard
Helper script exits with "GROW_API_KEY was renamed to MESHULAM_API_KEY"Renamed environment variable. The bundled scripts/grow-payment-helper.sh used to read GROW_API_KEY; it now reads only MESHULAM_API_KEY and stops rather than silently calling the API without the keyRename the variable in your shell profile, .env or CI secrets (export MESHULAM_API_KEY=...) and unset GROW_API_KEY. The value itself does not change

Reference Links

SourceURLWhat to Check
Grow 3DS Referencehttps://developers.grow.business/reference/3ds-1How 3DS behaves and where the liability shift applies
Grow Errors Tablehttps://developers.grow.business/reference/errorsThe full numeric error-code table
Grow API Referencehttps://developers.grow.business/reference/overviewCurrent endpoints, transactionTypes indices, request/response shapes
Grow Documentationhttps://developers.grow.business/docsTokenization, recurring, J-code installments, webhooks
Grow Product Overviewhttps://developers.grow.business/docs/about-grow-productsWhich Grow products exist and how they map to API surface
Meshulam (Grow) Production Basehttps://secure.meshulam.co.il/Confirms production host; do not point production traffic at sandbox.meshulam.co.il
Wix Integration Guidehttps://support.wix.com/en/article/connecting-grow-by-meshulam-as-a-payment-providerHigh-level integration walkthrough for Wix merchants

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Grow Payment Gateway?

Integra il gateway di pagamento Grow by Meshulam nelle applicazioni israeliane: include pagine di pagamento (iframe/redirect/SDK), tokenizzazione, fatturazione ricorrente, link di pagamento, rimborsi, fatture, webhook e autenticazione 3DS tramite Grow Light API. Usalo quando l’utente chiede di accettare pagamenti tramite Grow o Meshulam, configurare la "slikat ashrai" con Grow, creare link di pagamento (drishat tashlum), gestire addebiti ricorrenti (hora'ot keva) tramite token Grow, elaborare rimborsi o annullamenti Bit, integrare i webhook Grow o cita "Grow", "Meshulam", "grow-il", "meshul...

Perché usare Grow Payment Gateway su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Grow Payment Gateway è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Grow Payment Gateway in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/skills-il/tax-and-finance/tree/master/grow-payment-gateway. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Grow Payment Gateway?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Grow Payment Gateway?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Grow Payment Gateway: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Grow Payment Gateway è gratuita?

Sì. È pubblicata su GitHub da skills-il con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇