MIT object
The mit
object is used for MIT (Merchant-Initiated Transactions).
If you plan to process credit card payments on the customer’s behalf using the Direct API, you must include this object in your Direct API requests.
✓ - required value
? - optional, value or null
✕ - always appears as null
Variable | Type | 0-Auth | MIT Initial | MIT Subsequent | Description |
---|---|---|---|---|---|
type | varchar(32) | ✓ | ✓ | ✓ | Type of MIT transaction. Possible values: - initial - subsequent Required field for every MIT attempts |
expiry | int(5) | ✓ | ✓ | ? | Time to expire the transaction in days. After expiration, the system will not allow to process subsequent MIT using this transaction. Optional, default value is 365 (1 year). |
mit_reference_id | int(11) | ✕ | ✕ | ✓ | TID from previous successful zero-authorization or initial-mit transactions. Required for subsequent MIT requests. |
{danger.fa-exclamation-triangle} IMPORTANT:
All parameters within themit
object will be included in the CRM Notification, regardless of whether the transaction is Initial or Subsequent.
- For Subsequent MIT transactions,
mit_expiry
will benull
.- For Initial MIT transactions,
mit_reference_id
will benull
.
{
"transaction_type": "sale",
"mit":{
"type":"initial",
"expiry":365
}
}
{
"transaction_type": "sale",
"mit":{
"type":"subsequent",
"mit_reference_id":"TID from mit-initial transaction"
}
}