Methods
(async) request(data, sandboxopt) → {Promise.<TransactionCreateResponseZibal>}
Create a payment request to Zibal.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
data | TransactionCreateInputZibal | Input data for creating the transaction. | ||
sandbox | boolean | <optional> | false | Flag to determine whether to use the sandbox environment. |
- Source
Returns:
Response from the Zibal API for creating a transaction.
- Type:
- Promise.<TransactionCreateResponseZibal>
(async) request(data, sandboxopt) → {Promise.<TransactionCreateResponseZibal>}
Create a payment request to Zibal.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
data | TransactionCreateInputZibal | Input data for creating the transaction. | ||
sandbox | boolean | <optional> | false | Flag to determine whether to use the sandbox environment. |
- Source
Returns:
Response from the Zibal API for creating a transaction.
- Type:
- Promise.<TransactionCreateResponseZibal>
(async) verify(data, sandboxopt) → {Promise.<TransactionVerifyResponseZibal>}
Verify a payment transaction with Zibal.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
data | TransactionVerifyInputZibal | Input data for verifying the transaction. | ||
sandbox | boolean | <optional> | false | Flag to determine whether to use the sandbox environment. |
- Source
Returns:
Response from the Zibal API for verifying a transaction.
- Type:
- Promise.<TransactionVerifyResponseZibal>
(async) verify(data, sandboxopt) → {Promise.<TransactionVerifyResponseZibal>}
Verify a payment transaction with Zibal.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
data | TransactionVerifyInputZibal | Input data for verifying the transaction. | ||
sandbox | boolean | <optional> | false | Flag to determine whether to use the sandbox environment. |
- Source
Returns:
Response from the Zibal API for verifying a transaction.
- Type:
- Promise.<TransactionVerifyResponseZibal>