Versions in this module Expand all Collapse all v0 v0.2.2 Feb 20, 2020 Changes in this version + var BaseURL string + var BasicAuth string + var DefaultClient = &http.Client + var UseBasicAuth bool + func SetLogger(l log.Logger) + type BankAccounts struct + func (BankAccounts) CreateCA(userID string, payload *model.BankAccountCACreate) (res *model.BankAccountCA, err error) + func (BankAccounts) CreateGB(userID string, payload *model.BankAccountGBCreate) (res *model.BankAccountGB, err error) + func (BankAccounts) CreateIBAN(userID string, payload *model.BankAccountIBANCreate) (res *model.BankAccountIBAN, err error) + func (BankAccounts) CreateOther(userID string, payload *model.BankAccountOtherCreate) (res *model.BankAccountOther, err error) + func (BankAccounts) CreateUS(userID string, payload *model.BankAccountUSCreate) (res *model.BankAccount, err error) + func (BankAccounts) Desactivate(userID, bankAccountID string) (res *model.BankAccount, err error) + func (BankAccounts) View(bankAccountID string) (res *model.BankAccount, err error) + func (BankAccounts) ViewFromUser(userID string, query *model.Query) (res []model.BankAccount, err error) + type BankingAliases struct + func (BankingAliases) Create(walletID string, payload *model.BankingAliasCreate) (res *model.BankingAlias, err error) + func (BankingAliases) Desactivate(walletID, bankingAliasID string) (res *model.BankingAlias, err error) + func (BankingAliases) View(bankingAliasID string) (res *model.BankingAlias, err error) + func (BankingAliases) WalletView(walletID string) (res *model.BankingAlias, err error) + type Cards struct + func (Cards) Desactivate(cardID string) (res *model.Card, err error) + func (Cards) ListByFingerprint(fingerprint string, query *model.Query) (res []model.Card, err error) + func (Cards) ListByUser(userID string, query *model.Query) (res []model.Card, err error) + func (Cards) ListTransactionByFingerprint(fingerprint string, query *model.Query) (res []model.Transaction, err error) + func (Cards) ListUserByFingerprint(fingerprint string, query *model.Query) (res []model.User, err error) + func (Cards) Register(payload *model.CardRegistrationCreate) (res *model.CardRegistration, err error) + func (Cards) RegisterUpdate(cardRegistrationID string, payload *model.CardRegistrationUpdate) (res *model.CardRegistration, err error) + func (Cards) RegisterView(cardRegistrationID string) (res *model.CardRegistration, err error) + func (Cards) View(cardID string) (res *model.Card, err error) + func (s *Cards) RegisterUpdateData(cardRegistrationID, data string) (res *model.CardRegistration, err error) + type ClientWallets struct + func (ClientWallets) ListAll(query *model.Query) (res []model.ClientWallet, err error) + func (ClientWallets) ListByFundsType(fundType model.Funds, query *model.Query) (res []model.ClientWallet, err error) + func (ClientWallets) View(fundType model.Funds, currency currency.ISO3) (res *model.ClientWallet, err error) + type Clients struct + func (Clients) Update(payload *model.ClientUpdate) (res *model.Client, err error) + func (Clients) UploadLogo(payload *model.ClientLogo) (res *model.Client, err error) + func (Clients) View(query *model.Query) (res *model.Client, err error) + type DisputeDocunents struct + func (DisputeDocunents) Consult(disputeDocumentID string) (res *model.DisputeDocument, err error) + func (DisputeDocunents) Create(disputeID string, kind model.DisputeDocumentType) (res *model.DisputeDocument, err error) + func (DisputeDocunents) List(query *model.Query) (res []model.DisputeDocument, err error) + func (DisputeDocunents) ListByDispute(disputeID string, query *model.Query) (res []model.DisputeDocument, err error) + func (DisputeDocunents) PageCreate(disputeID, disputeDocumentID string, payload model.DisputeDocumentCreate) (res *model.DisputeDocument, err error) + func (DisputeDocunents) Submit(disputeID, disputeDocumentID string) (res *model.DisputeDocument, err error) + func (DisputeDocunents) View(disputeDocumentID string) (res *model.DisputeDocument, err error) + type Disputes struct + func (Disputes) Close(disputeID string) (res *model.Dispute, err error) + func (Disputes) List(query *model.Query) (res []model.Dispute, err error) + func (Disputes) PendingSettleList(query *model.Query) (res []model.Dispute, err error) + func (Disputes) ReSubmit(disputeID string) (res *model.Dispute, err error) + func (Disputes) Submit(disputeID string, payload *model.Money) (res *model.Dispute, err error) + func (Disputes) Update(disputeID, tag string) (res *model.Dispute, err error) + func (Disputes) UserList(userID string, query *model.Query) (res []model.Dispute, err error) + func (Disputes) View(disputeID string) (res *model.Dispute, err error) + func (Disputes) WalletList(walletID string, query *model.Query) (res []model.Dispute, err error) + type Events struct + func (Events) List(event model.EventType, query *model.Query) (res []model.Event, err error) + type Hooks struct + func (Hooks) Create(event model.EventType, url string) (res *model.Hook, err error) + func (Hooks) List(query *model.Query) (res []model.Hook, err error) + func (Hooks) Update(hookID string, event model.EventType, url string) (res *model.Hook, err error) + func (Hooks) View(hookID string) (res *model.Hook, err error) + type Idempotencies struct + func (Idempotencies) View(idempotencyKEY string) (res *model.IempotencyResponse, err error) + type KYCs struct + func (KYCs) DocumentCreate(userID string, docType model.DocumentType) (res *model.KYCDocument, err error) + func (KYCs) ListAll(query *model.Query) (res []model.KYCDocument, err error) + func (KYCs) ListByUser(userID string, query *model.Query) (res []model.KYCDocument, err error) + func (KYCs) PageCreate(userID, kycDocumentID string, payload *model.KYCPage) (res *model.KYCDocument, err error) + func (KYCs) Submit(userID, kycDocumentID string) (res *model.KYCDocument, err error) + func (KYCs) View(kycDocumentID string) (res *model.KYCDocument, err error) + type Mandates struct + func (Mandates) BankAccountList(userID, bankAccountID string, query *model.Query) (res []model.Mandate, err error) + func (Mandates) Cancel(mandateID string) (res *model.Mandate, err error) + func (Mandates) Create(payload *model.MandateCreate) (res *model.Mandate, err error) + func (Mandates) List(query *model.Query) (res []model.Mandate, err error) + func (Mandates) UserList(userID string, query *model.Query) (res []model.Mandate, err error) + type PayIns struct + func (PayIns) BankwireDirect(payload *model.BankwireDirectCreate) (res *model.BankwireDirect, err error) + func (PayIns) BankwireToClientCreditWalletCreate(payload *model.BankwireToClientCreditWalletCreate) (res *model.DirectDebitDirect, err error) + func (PayIns) CardDirectCreate(payload *model.CardDirectCreate) (res *model.CardDirect, err error) + func (PayIns) CardPreAuthorizedCreate(payload *model.CardPreAuthorizedCreate) (res *model.CardPreAuthorized, err error) + func (PayIns) CardWebCreate(payload *model.CardWebCreate) (res *model.CardWeb, err error) + func (PayIns) DirectDebitDirect(payload *model.DirectDebitDirectCreate) (res *model.DirectDebitDirect, err error) + func (PayIns) PayInWebExtended(payload *model.WebExtended) (res interface{}, err error) + func (PayIns) View(payInID string) (res *model.Payin, err error) + func (PayIns) ViewCardDetails(payInID string) (res interface{}, err error) + type PayOuts struct + func (PayOuts) Create(payload *model.PayOutCreate) (res *model.PayOut, err error) + func (PayOuts) View(payoutID string) (res *model.PayOut, err error) + type PermissionGoups struct + func (PermissionGoups) Create(payload *model.PermissionGroupCreate) (res *model.PermissionGroup, err error) + func (PermissionGoups) List(query *model.Query) (res []model.PermissionGroup, err error) + func (PermissionGoups) Update(permissionGroupID string, payload *model.PermissionGroupUpdate) (res *model.PermissionGroup, err error) + func (PermissionGoups) View(permissionGroupID string) (res *model.PermissionGroup, err error) + type PreAuthorizations struct + func (PreAuthorizations) Cancel(preAuthorizationID string, status model.PaymentStatus) (res *model.PreAuthorization, err error) + func (PreAuthorizations) CardList(cardID string) (res []model.PreAuthorization, err error) + func (PreAuthorizations) UserList(userID string, query *model.Query) (res []model.PreAuthorization, err error) + func (PreAuthorizations) View(preAuthorizationID string) (res *model.PreAuthorization, err error) + type Refunds struct + func (Refunds) PayInCreate(payinID string, payload *model.RefundCreate) (res *model.Refund, err error) + func (Refunds) PayoutList(payoutID string, query *model.Query) (res []model.Refund, err error) + func (Refunds) TransferCreate(tranferID, authorID string) (res *model.Refund, err error) + func (Refunds) View(refundID string) (res *model.Refund, err error) + type Reports struct + func (Reports) List(query *model.Query) (res []model.Report, err error) + func (Reports) TransactionCreate(payload *model.ReportTransactionCreate) (res *model.Report, err error) + func (Reports) View(reportID string) (res *model.Report, err error) + func (Reports) WalletCreate(payload *model.ReportWalletCreate) (res *model.Report, err error) + type Repudiations struct + func (Repudiations) View(repudiationID string) (res *model.Repudiation, err error) + type SSOS struct + func (SSOS) Create(payload *model.SSOCreate) (res *model.SSO, err error) + func (SSOS) ExtendInvitation(ssoID string) (res *model.SSO, err error) + func (SSOS) List(query *model.Query) (res []model.SSO, err error) + func (SSOS) PermissinGroupList(permissionGroupID string, query *model.Query) (res []model.SSO, err error) + func (SSOS) Update(ssoID string, payload *model.SSOUpdate) (res *model.SSO, err error) + func (SSOS) View(ssoID string) (res *model.SSO, err error) + type SettlementTranfers struct + func (SettlementTranfers) Create(repuditionID string, payload *model.SettlementTransferCreate) (res *model.SettlementTransfer, err error) + func (SettlementTranfers) View(settlementID string) (res *model.SettlementTransfer, err error) + type Stats struct + func (Stats) GetRateLimit() (*model.RateLimit, error) + type Transactions struct + func (Transactions) BankAccountList(bankAccountID string, query *model.Query) (res []model.Transaction, err error) + func (Transactions) CardList(cardID string, query *model.Query) (res []model.Transaction, err error) + func (Transactions) ClientWalletList(fundType model.Funds, currency currency.ISO3, query *model.Query) (res []model.Transaction, err error) + func (Transactions) DisputesList(disputeID string, query *model.Query) (res []model.Transaction, err error) + func (Transactions) MandateList(mandateID string, query *model.Query) (res []model.Transaction, err error) + func (Transactions) PreAuthorizationList(preAuthorizationID string, query *model.Query) (res []model.Transaction, err error) + func (Transactions) UserList(userID string, query *model.Query) (res []model.Transaction, err error) + func (Transactions) WalletList(walletID string, query *model.Query) (res []model.Transaction, err error) + type Transferts struct + func (Transferts) Create(payload *model.Transfert) (res *model.Transfert, err error) + func (Transferts) View(transfertID string) (res *model.Transfert, err error) + type UBOs struct + func (UBOs) Create(userID, declarationID string, payload *model.UBOCreate) (res *model.UBO, err error) + func (UBOs) DeclarationCreate(userID string) (res *model.UBO, err error) + func (UBOs) DeclarationSubmit(userID, declarationID string) (res *model.UBO, err error) + func (UBOs) DeclarationView(declarationID string) (res *model.UBO, err error) + func (UBOs) List(userID string, query *model.Query) (res *model.UBO, err error) + func (UBOs) Update(userID, declarationID, uboID string, payload *model.UBOUpdate) (res *model.UBO, err error) + func (UBOs) View(userID, declarationID, uboID string) (res *model.UBO, err error) + type UserEmoneys struct + func (UserEmoneys) View(userID string, param *model.UserEmoneyParam) (res []model.UserEmoney, err error) + type Users struct + func (Users) CreateLegalUser(payload *model.LegalUserCreate) (res *model.LegalUser, err error) + func (Users) CreateNaturalUser(payload *model.NaturalUserCreate) (res *model.NaturalUser, err error) + func (Users) List(query *model.Query) (res []model.User, err error) + func (Users) UpdateLegalUser(userID string, payload *model.LegalUserUpdate) (res *model.LegalUser, err error) + func (Users) UpdateNaturalUser(userID string, payload *model.NaturalUserUpdate) (res *model.NaturalUser, err error) + func (Users) View(userID string) (res *model.User, err error) + type Wallets struct + func (Wallets) Create(payload *model.WalletCreate) (res *model.Wallet, err error) + func (Wallets) ListFromUser(userID string, query *model.Query) (res []model.Wallet, err error) + func (Wallets) Update(walletID string, payload *model.WalletUpdate) (res *model.Wallet, err error) + func (Wallets) UpdateDesc(walletID, desc string) (res *model.Wallet, err error) + func (Wallets) View(walletID string) (res *model.Wallet, err error)