Grow Payment Gatewayのロゴ

Grow Payment Gateway

組織
skills-il
grow-payment-gateway

Grow by Meshulamの決済ゲートウェイをイスラエルのアプリケーションに統合します。Grow Light APIを介した決済ページ(iframe/redirect/SDK)、トークン化、継続課金、決済リンク、返金、請求書、webhook、3DS認証に対応しています。GrowまたはMeshulamでの決済受付、「slikat ashrai」とGrowの設定、決済リンク(drishat tashlum)の作成、Growのトークンを使った継続課金(hora'ot keva)、返金やBitのキャンセル処理、Grow webhookの統合について尋ねられた場合、または「Grow」「Meshulam」「grow-il」「meshulam.co.il」、Grow決済ページ、Grow APIに言及された場合に使用します。正しいFormDataリクエスト形式、サーバー側のみの制限、多くの開発者が見落とす必須のapproveTransactionステップを案内し、コストのかかる統合ミスを防ぎます。Cardcomの統合には使用しないでください(cardcom-payment-gatewayを使用)。Tranzilaの統合には使用しないでください(tranzila-payment-gatewayを使用)。複数のゲートウェイを横断する一般的な決済オーケストレーションには使用しないでください(israeli-payment-orchestratorを使用)。決済以外の質問にも使用しないでください。

概要

公開者skills-il
リポジトリtax-and-finance
スキル名grow-payment-gateway
スター
39
フォーク
23
同梱ファイル
9
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 9個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    skills-ilがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Grow Payment Gateway」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/skills-il/tax-and-finance/tree/master/grow-payment-gateway
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでGrow Payment Gatewayを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGrow Payment Gatewayを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Grow Payment Gatewayは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Grow Payment Gateway」では何ができますか?

Grow by Meshulamの決済ゲートウェイをイスラエルのアプリケーションに統合します。Grow Light APIを介した決済ページ(iframe/redirect/SDK)、トークン化、継続課金、決済リンク、返金、請求書、webhook、3DS認証に対応しています。GrowまたはMeshulamでの決済受付、「slikat ashrai」とGrowの設定、決済リンク(drishat tashlum)の作成、Growのトークンを使った継続課金(hora'ot keva)、返金やBitのキャンセル処理、Grow webhookの統合について尋ねられた場合、または「Grow」「Meshulam」「grow-il」「meshulam.co.il」、Grow決済ページ、Grow APIに言及された場合に使用します。正しいFormDataリクエスト形式、サーバー側のみの制限、多くの開発者が見落とす必須のapproveTransactionステップを案内し、コストのかかる統合ミスを防ぎます。Cardcomの統合には使用しないでください(cardcom-payment-gatewayを使用)。Tranzilaの統合には使用しないでください(tranzila-payment-gatewayを使用)。複数のゲートウェイを横断する一般的な決済オーケストレーションには使用しないでください(...

TypingMindでGrow Payment Gatewayを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Grow Payment Gatewayはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにGrow Payment Gatewayをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/skills-il/tax-and-finance/tree/master/grow-payment-gatewayを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Grow Payment Gatewayを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Grow Payment Gatewayで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGrow Payment Gatewayを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Grow Payment Gateway」は無料ですか?

はい。skills-ilがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇