import type dari merchantid. Bagian ini merangkum tipe inti; tipe khusus provider ada di halaman provider masing-masing.
PaymentScope
{ provider: "gopay", merchantId }. Shopee: { provider: "shopee", accountId: merchant.id, merchantId: storeId }. Bandingkan dengan samePaymentScope(a, b).
Payment
PaymentStore
scope bila diberikan. Lihat PaymentStore.
MerchantTransaction
TransactionLister dan TransactionQuery
TransactionFeed ternormalisasi (lihat di bawah).
TransactionFeed
truncated menandai batas halaman per tick tercapai.
MerchantProvider
Permukaan umum kecil yang diimplementasikan facade provider (GopayProvider, ShopeeProvider). Detail autentikasi sengaja tetap spesifik per provider dan tidak masuk kontrak ini:
payments(), createPayment(), dan refreshSession() ada di tiap facade tetapi bukan bagian dari kontrak MerchantProvider. Lihat Multi provider untuk detail.
Tipe GoPay
Tipe Shopee
Tipe utama Shopee:ShopeeSession, ShopeeMerchantSummary, ShopeeStore, ShopeeOtpChallenge, ShopeeOtpVerification, ShopeeOtpRequestOptions, ShopeeCookie, ShopeeStaticQrisScope, ShopeeMerchantProfile, ShopeeVerifyOtpInput, ShopeeCompleteLoginInput, ShopeeLoginWithOtpInput, dan union ShopeeLoginOutcome.
ShopeeOtpRequestOptions menerima channel (1=SMS, 2=telepon, 3=WhatsApp), password, dan deviceReport. ShopeeSession, ShopeeOtpChallenge, ShopeeOtpVerification, dan switchCredential bersifat sensitif - lihat Keamanan dan Sesi Shopee.