Versions in this module Expand all Collapse all v1 v1.0.1 Mar 20, 2023 v1.0.0 Mar 20, 2023 Changes in this version + func CheckCallback(token string) (valid bool, err error) + func GenerateRSAKey() (privateKey string, publicKey string, err error) + func GetSignature(payload any) (signature string, err error) + type BaseFlip struct + func NewBaseFlip() *BaseFlip + func (base *BaseFlip) ConfirmBillPayment(transactionID int64) (payment *models.ConfirmBillPaymentResponse, err error) + func (base *BaseFlip) CreateAgentIdentity(formData models.CreateAgentIdentityRequest) (agentIdentity *models.CreateAgentIdentityResponse, err error) + func (base *BaseFlip) CreateBill(formData models.CreateBillRequest) (bill *models.CreateBillResponse, idempotencyKey string, err error) + func (base *BaseFlip) CreateDisbursement(formData models.CreateDisbursementRequest) (responseModel *models.CreateDisbursementResponse, idempotencyKey string, ...) + func (base *BaseFlip) CreateDisbursementAgent(formData models.CreateDisbursementAgentRequest) (disbursement *models.CreateDisbursementAgentResponse, idempotencyKey string, ...) + func (base *BaseFlip) CreateInternationalTransferB2CB2B(multipartData models.CreateInternationalTransferB2XRequest, ...) (internationalTransfer *models.CreateInternationalTransferB2CB2BResponse, ...) + func (base *BaseFlip) CreateInternationalTransferC2CC2B(formData models.CreateInternationalTransferC2CC2BRequest) (internationalTransfer *models.CreateInternationalTransferC2CC2BResponse, ...) + func (base *BaseFlip) CreateSpecialDisbursement(formData models.CreateSpecialDisbursementRequest) (responseModel *models.CreateSpecialDisbursementResponse, idempotencyKey string, ...) + func (base *BaseFlip) EditBill(billID int64, formData models.EditBillingRequest) (bill *models.EditBillingResponse, err error) + func (base *BaseFlip) GetAgentIdentity(agentID int64) (agentIdentity *models.GetAgentIdentityResponse, err error) + func (base *BaseFlip) GetAllBill() (bills *models.GetAllBillingResponse, err error) + func (base *BaseFlip) GetAllDisbursement(params models.GetAllDisbursementRequest) (disbursements *models.GetAllDisbursementResponse, idempotencyKey string, ...) + func (base *BaseFlip) GetAllInternationalTransfer(params models.GetAllInternationalTransferRequest) (internationalTransfers *models.GetAllInternationalTransferResponse, err error) + func (base *BaseFlip) GetAllPayment(params models.GetAllPaymentRequest) (payments *models.GetAllPaymentResponse, err error) + func (base *BaseFlip) GetBalance() (balanceModel *models.GetBalanceResponse, err error) + func (base *BaseFlip) GetBankInfo(params models.GetBankInfoRequest) (bankList *models.GetBankInfoResponse, err error) + func (base *BaseFlip) GetBill(billID int64) (bill *models.EditBillingResponse, err error) + func (base *BaseFlip) GetCityList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error) + func (base *BaseFlip) GetCountryList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error) + func (base *BaseFlip) GetDisbursementAgentByID(transactionID int64) (disbursementModel *models.DisbursementModel, err error) + func (base *BaseFlip) GetDisbursementAgentList(params models.GetDisbursementAgentListRequest) (disbursementModel *models.GetDisbursementAgentListResponse, err error) + func (base *BaseFlip) GetDisbursementById(disbursementID int64) (disbursementModel *models.DisbursementModel, err error) + func (base *BaseFlip) GetDisbursementByIdemKey(idempotencyKey string) (disbursementModel *models.DisbursementModel, err error) + func (base *BaseFlip) GetDisbursementCityList() (cityList *models.CityListResponse, err error) + func (base *BaseFlip) GetDisbursementCountryCityList() (country *models.CountryCityListResponse, err error) + func (base *BaseFlip) GetDisbursementCountryList() (country *models.CountryListResponse, err error) + func (base *BaseFlip) GetDistrictList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error) + func (base *BaseFlip) GetErrorDetails() []constants.ErrorDetailModel + func (base *BaseFlip) GetExchangeRate(params models.GetExchangeRatesRequest) (exchangeRates []models.GetExchangeRateResponse, err error) + func (base *BaseFlip) GetFormData(params models.GetFormDataRequest) (formData *models.GetFormDataResponse, err error) + func (base *BaseFlip) GetIdempotencyKey() string + func (base *BaseFlip) GetInternationalTransfer(transactionID int64) (internationalTransfer *models.GetInternationalTransferResponse, err error) + func (base *BaseFlip) GetPayment(billID int64, params models.GetPaymentRequest) (payments *models.GetPaymentResponse, err error) + func (base *BaseFlip) GetProvinceList(uuid string, params models.LocationKycRequest) (locationData *models.LocationKycResponse, requestID string, err error) + func (base *BaseFlip) IsMaintenance() (isMaintenance *models.GetMaintenanceStatusResponse, err error) + func (base *BaseFlip) KYCSubmissions(agentID int64, uuid string, formData models.KycSubmissionRequest) (message *models.KycSubmissionResponse, requestID string, err error) + func (base *BaseFlip) RepairData(agentID int64, uuid string, formData models.RepairDataRequest) (repairedData *models.RepairDataResponse, requestID string, err error) + func (base *BaseFlip) RepairIdentityImage(agentID int64, uuid string, multipartData models.RepairIdentityImageRequest, ...) (repairedData *models.RepairDataResponse, requestID string, err error) + func (base *BaseFlip) RepairIdentitySelfieImage(agentID int64, uuid string, multipartData models.RepairIdentityImageRequest, ...) (repairedData *models.RepairDataResponse, requestID string, err error) + func (base *BaseFlip) SendBankAccountInquiry(params models.SendBankAccountInquiryRequest) (inquiry *models.SendBankAccountInquiryResponse, err error) + func (base *BaseFlip) SetIdempotencyKey(idemKey string) *BaseFlip + func (base *BaseFlip) UpdateAgentIdentity(agentID int64, formData models.UpdateAgentIdentityRequest) (identityModel *models.UpdateAgentIdentityResponse, err error) + func (base *BaseFlip) UploadAgentIdentityImage(agentID int64, uuid string, multipartData models.UploadAgentIdentityRequest, ...) (imageFlip *models.UploadAgentIdentityResponse, requestID string, err error) + func (base *BaseFlip) UploadSupportingDocuments(uuid string, multipartData models.UploadSupportingDocumentsRequest, ...) (documents *models.UploadSupportingDocumentResponse, requestID string, ...)