Logo Grow Payment Gateway

Grow Payment Gateway

Tổ chức
skills-il
grow-payment-gateway

Tích hợp cổng thanh toán Grow by Meshulam vào ứng dụng tại Israel — hỗ trợ trang thanh toán (iframe/redirect/SDK), token hóa, thanh toán định kỳ, liên kết thanh toán, hoàn tiền, hóa đơn, webhook và xác thực 3DS qua Grow Light API. Dùng khi người dùng muốn nhận thanh toán qua Grow hoặc Meshulam, thiết lập "slikat ashrai" với Grow, tạo liên kết thanh toán (drishat tashlum), xử lý khoản thu định kỳ (hora'ot keva) qua token Grow, hoàn tiền hoặc hủy Bit, tích hợp webhook Grow, hoặc nhắc đến "Grow", "Meshulam", "grow-il", "meshulam.co.il", trang thanh toán Grow hay Grow API. Giúp tránh những lỗi tích hợp tốn kém bằng cách hướng dẫn đúng định dạng yêu cầu FormData, các giới hạn chỉ xử lý phía máy chủ và bước approveTransaction bắt buộc mà nhiều nhà phát triển bỏ sót. KHÔNG dùng để tích hợp Cardcom (dùng cardcom-payment-gateway), tích hợp Tranzila (dùng tranzila-payment-gateway), điều phối thanh toán nói chung qua nhiều cổng (dùng israeli-payment-orchestrator) hoặc xử lý yêu cầu không liên quan đến thanh toán.

Tổng quan

Nhà phát hànhskills-il
Kho mãtax-and-finance
Tên kỹ nănggrow-payment-gateway
Sao
39
Bản fork
23
Tệp đi kèm
9
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 9 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được skills-il công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Grow Payment Gateway trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/skills-il/tax-and-finance/tree/master/grow-payment-gateway
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Grow Payment Gateway trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Grow Payment Gateway ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Grow Payment Gateway với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Grow Payment Gateway làm được gì?

Tích hợp cổng thanh toán Grow by Meshulam vào ứng dụng tại Israel — hỗ trợ trang thanh toán (iframe/redirect/SDK), token hóa, thanh toán định kỳ, liên kết thanh toán, hoàn tiền, hóa đơn, webhook và xác thực 3DS qua Grow Light API. Dùng khi người dùng muốn nhận thanh toán qua Grow hoặc Meshulam, thiết lập "slikat ashrai" với Grow, tạo liên kết thanh toán (drishat tashlum), xử lý khoản thu định kỳ (hora'ot keva) qua token Grow, hoàn tiền hoặc hủy Bit, tích hợp webhook Grow, hoặc nhắc đến "Grow", "Meshulam", "grow-il", "meshulam.co.il", trang thanh toán Grow hay Grow API. Giúp tránh những lỗi...

Vì sao nên dùng Grow Payment Gateway trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Grow Payment Gateway là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Grow Payment Gateway trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/skills-il/tax-and-finance/tree/master/grow-payment-gateway. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Grow Payment Gateway?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Grow Payment Gateway với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Grow Payment Gateway với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Grow Payment Gateway có miễn phí không?

Có. Kỹ năng này được skills-il phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇