Documentation
¶
Index ¶
- type Controller
- func (ctrl *Controller) CreateLinkedAddress(ctx *gin.Context)
- func (ctrl *Controller) GetAggregatorPublicKey(ctx *gin.Context)
- func (ctrl *Controller) GetFiatCurrencies(ctx *gin.Context)
- func (ctrl *Controller) GetIDVerificationStatus(ctx *gin.Context)
- func (ctrl *Controller) GetInstitutionsByCurrency(ctx *gin.Context)
- func (ctrl *Controller) GetLinkedAddress(ctx *gin.Context)
- func (ctrl *Controller) GetLinkedAddressTransactions(ctx *gin.Context)
- func (ctrl *Controller) GetLockPaymentOrderStatus(ctx *gin.Context)
- func (ctrl *Controller) GetTokenRate(ctx *gin.Context)
- func (ctrl *Controller) KYCWebhook(ctx *gin.Context)
- func (ctrl *Controller) RequestIDVerification(ctx *gin.Context)
- func (ctrl *Controller) VerifyAccount(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is the default controller for other endpoints
func NewController ¶
func NewController() *Controller
NewController creates a new instance of AuthController with injected services
func (*Controller) CreateLinkedAddress ¶
func (ctrl *Controller) CreateLinkedAddress(ctx *gin.Context)
CreateLinkedAddress controller creates a new linked address
func (*Controller) GetAggregatorPublicKey ¶
func (ctrl *Controller) GetAggregatorPublicKey(ctx *gin.Context)
GetAggregatorPublicKey controller expose Aggregator Public Key
func (*Controller) GetFiatCurrencies ¶
func (ctrl *Controller) GetFiatCurrencies(ctx *gin.Context)
GetFiatCurrencies controller fetches the supported fiat currencies
func (*Controller) GetIDVerificationStatus ¶
func (ctrl *Controller) GetIDVerificationStatus(ctx *gin.Context)
GetIDVerificationStatus controller fetches the status of an identity verification request
func (*Controller) GetInstitutionsByCurrency ¶
func (ctrl *Controller) GetInstitutionsByCurrency(ctx *gin.Context)
GetInstitutionsByCurrency controller fetches the supported institutions for a given currency
func (*Controller) GetLinkedAddress ¶
func (ctrl *Controller) GetLinkedAddress(ctx *gin.Context)
GetLinkedAddress controller fetches a linked address
func (*Controller) GetLinkedAddressTransactions ¶
func (ctrl *Controller) GetLinkedAddressTransactions(ctx *gin.Context)
GetLinkedAddressTransactions controller fetches transactions for a linked address
func (*Controller) GetLockPaymentOrderStatus ¶
func (ctrl *Controller) GetLockPaymentOrderStatus(ctx *gin.Context)
GetLockPaymentOrderStatus controller fetches a payment order status by ID
func (*Controller) GetTokenRate ¶
func (ctrl *Controller) GetTokenRate(ctx *gin.Context)
GetTokenRate controller fetches the current rate of the cryptocurrency token against the fiat currency
func (*Controller) KYCWebhook ¶
func (ctrl *Controller) KYCWebhook(ctx *gin.Context)
KYCWebhook handles the webhook callback from Smile Identity
func (*Controller) RequestIDVerification ¶
func (ctrl *Controller) RequestIDVerification(ctx *gin.Context)
RequestIDVerification controller requests identity verification details
func (*Controller) VerifyAccount ¶
func (ctrl *Controller) VerifyAccount(ctx *gin.Context)
VerifyAccount controller verifies an account of a given institution