-- Receipts - Automatic Credit
Import Receipts - Credit
The following parameters should be included in a credit object with maunualcreditflag=0 (see examples below)
| Name-trans | Type | Description | תיאור | Default |
|---|---|---|---|---|
| maunualcreditflag | boolean | דגל המציין האם אשראי ידני / רגיל: 1= ידני 0= רגיל | A flag indicating whether the credit is manual or regular: 1= manual 0=regular | 0 |
| URL Required | string max(90) | כתובת URL להפניה לאחר התשלום | A URL to redirect to after successful payment | |
| domainToIframe | Array of strings | מערך של דומיינים שיהיה ניתן לפתוח בהם את דף התשלום של CG | An array of domains that in which to open the CG payment page | [ ] |
| redirectCancel | string | כתובת URL שאליה יעבור הלקוח במקרה שסגר את דף התשלום בלי לבצע את העסקה | The URL where the customer will be redirected in case he closed the payment page without completing the transaction | |
| istoken | boolean | הפקה ללא חלון תשלום | if true, make a transaction without a payment window
read more about Tokenization | false |
| masofid | smallint | מספר מסוף | masof (terminal) id | Manual/default terminal |
| suf Required | float number | סכום | sum | |
| fstarstotal | float number | סכום כוכבים /מיילים /נקודות | 0 | |
| type | string max(50) |