Payment gateway
Full iyzico 3D Secure, Installments & Marketplace
iyzico's PKI signature algorithms, marketplace sub-merchant commission payouts, and 3D Secure flows simplified into a single type-safe interface.
3D SecureMarketplace sub-merchant commission payoutsBKM Express and stored card token checkout
Protocol
REST
Auth
HMAC imzası
3D Secure
Included
Redirect 3D Secure
Dependencies
0
Capabilities
Full iyzico support
- 3D Secure & direct Non-3D charges
- Marketplace sub-merchant commission payouts
- BKM Express and stored card token checkout
- Full & partial refunds, same-day voids
- Real-time BIN detection & installment table
How a request flows
- 1
createPayment / initThreeDSPayment
One typed request, translated into iyzico's format.
- 2
REST · JSON · HMAC imzası
Signatures and field mappings are generated for you.
- 3
Callback verification
The signature is compared in constant time and the order match is checked.
- 4
Normalized result
Success, error code and transaction id come back in one shape.
Connect in one config.
Hand over your credentials; Better Payment handles the rest.
TypeScript
import { createBetterPayment } from "better-payment";
const payment = createBetterPayment({
defaultProvider: "iyzico",
providers: {
iyzico: {
apiKey: process.env.IYZICO_API_KEY!,
secretKey: process.env.IYZICO_SECRET_KEY!,
baseUrl: "https://sandbox-api.iyzipay.com"
}
}
});