Categorygithub.com/blochq/bloc-go
modulepackage
1.0.0
Repository: https://github.com/blochq/bloc-go.git
Documentation: pkg.go.dev

# README

Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: 1.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://api.blochq.io/v1

ClassMethodHTTP requestDescription
AccountsApiCloseAccountPut /accounts/{accountID}/closeCloseAccount
AccountsApiCreateCollectionAccountPost /accounts/collectionsCreateCollectionAccount
AccountsApiCreateFixedAccountPost /accountsCreateFixedAccount
AccountsApiFreezeAccountPut /accounts/{accountID}/freezeFreezeAccount
AccountsApiGetAccountbyaccountnumberGet /v1/accounts/number/{accountNumber}GetAccountbyaccountnumber
AccountsApiGetAccountbyidGet /accounts/{accountID}GetAccountbyid
AccountsApiGetOrganisationDefaultAccountsGet /accounts/organization/defaultGetOrganisationDefaultAccounts
AccountsApiGetaccountsGet /accountsGetaccounts
AccountsApiGetcustomeraccountsGet /accounts/customers/accounts/{customerID}Getcustomeraccounts
AccountsApiReOpenAccountPut /accounts/{accountID}/reopenReOpenAccount
AccountsApiUnfreezeAccountPut /accounts/{accountID}/unfreezeUnfreezeAccount
BillsPaymentsV11ApiCustomerdevicevalidationGet /bills/customer/validate/{operatorID}Customerdevicevalidation
BillsPaymentsV11ApiGetoperatorproductsGet /bills/operators/{operatorID}/productsGetoperatorproducts
BillsPaymentsV11ApiGetsupportedbillsGet /bills/supportedGetsupportedbills
BillsPaymentsV11ApiGetsupportedoperatorsGet /bills/operatorsGetsupportedoperators
BillsPaymentsV11ApiMakePaymentPost /bills/paymentMakePayment
CardsApiBlockCardPut /cards/block/{id}BlockCard
CardsApiChangeCardPINPut /cards/change-pin/{cardID}ChangeCardPIN
CardsApiFreezeCardPut /cards/freeze/{cardID}FreezeCard
CardsApiFundCardPost /cards/fund/{cardID}FundCard
CardsApiGetCardSecureDataGet /cards/secure-data/{cardID}GetCardSecureData
CardsApiGetCardbyIdGet /cards/{cardID}GetCardbyId
CardsApiGetCardsGet /cardsGetCards
CardsApiGetCustomerCardsGet /cards/customer/{customerID}GetCustomerCards
CardsApiIssueVerveCardNGNPost /cardsIssueVerveCard(NGN)
CardsApiLinkFixedAccountPut /cards/fixed-account/linkLinkFixedAccount
CardsApiSimulateChargeCardPost /cards/simulate/authorizeSimulateChargeCard
CardsApiUnLinkFixedAccountPut /cards/fixed-account/unlink/{cardID}UnLinkFixedAccount
CardsApiUnfreezeCardPut /cards/unfreeze/{id}UnfreezeCard
CardsApiWithdrawFromCardPost /cards/withdraw/{cardID}WithdrawFromCard
CheckoutApiCreatecheckoutPost /checkout/newcreatecheckout
CustomersApiCreatecustomersPost /customersCreatecustomers
CustomersApiGetcustomerbyidGet /customers/{customerID}Getcustomerbyid
CustomersApiGetcustomersGet /customersGetcustomers
CustomersApiMeansofIdentificationGet /customers/means-of-idMeansofIdentification
CustomersApiRevalidateCustomerKYCGet /customers/kyc/revalidate/{customerID}RevalidateCustomerKYC
CustomersApiUpdatecustomerPut /customers/{customerID}Updatecustomer
CustomersApiUpgradeCustomerToKYCT1Put /customers/upgrade/t1/{customerID}UpgradeCustomerToKYCT1
CustomersApiUpgradeCustomerToKYCT2Put /customers/upgrade/t2/{customerID}UpgradeCustomerToKYCT2
CustomersApiUpgradeCustomerToKYCT3Put /customers/upgrade/t3/{customerID}UpgradeCustomerToKYCT3
DisputesApiCreateCardDisputePost /cards/disputeCreateCardDispute
DisputesApiGetCardDisputeGet /cards/dispute/{disputeID}GetCardDispute
DisputesApiGetCardDisputeReasonsGet /cards/dispute/reasonsGetCardDisputeReasons
DisputesApiGetCardDisputesGet /cards/disputeGetCardDisputes
DisputesApiUpdateCardDisputePut /cards/dispute/{disputeID}UpdateCardDispute
ElectricityApiCustomervalidationGet /bills/electricity/customers/{operatorID}/{productNumber}Customervalidation
ElectricityApiGetoperatorproducts1Get /bills/electricity/operators/{operatorID}/productsGetoperatorproducts1
ElectricityApiGetsupportedoperators1Get /bills/electricity/operatorsGetsupportedoperators1
ElectricityApiMakeelectricitypaymentPost /bills/electricity/paymentMakeelectricitypayment
MiscellaneousApiGetlistofbanksGet /banksGetlistofbanks
MiscellaneousApiResolveAccountGet /resolve-accountResolveAccount
SimulationApiCreditaccountPost /accounts/credit/manualCreditaccount
SimulationApiDebitaccountPost /accounts/debit/manualDebitaccount
TelecommunicationApiGetoperatorproducts2Get /bills/telco/operators/{operatorID}/productsGetoperatorproducts2
TelecommunicationApiGetsupportedoperators2Get /bills/telco/operatorsGetsupportedoperators2
TelecommunicationApiPostMakePaymentPost /bills/telco/paymentPostMakePayment
TelevisionApiGetCustomerDetailsGet /bills/television/customers/{operatorID}/{productNumber}GetCustomerDetails
TelevisionApiGetoperatorproducts3Get /bills/television/operators/{operatorID}/productsGetoperatorproducts3
TelevisionApiGetsupportedoperators3Get /bills/television/operatorsGetsupportedoperators3
TelevisionApiMakeTelevisionPaymentPost /bills/television/paymentMakeTelevisionPayment
TransactionsApiGetAllTransactionsGet /transactionsGetAllTransactions
TransactionsApiGetTransactionbyReferenceGet /transactions/reference/{reference}GetTransactionbyReference
TransfersApiBulkTransferPost /transfers/bulkBulkTransfer
TransfersApiInternaltransferPost /transfers/internalInternaltransfer
TransfersApiTransferFromAFixedAccountPost /transfersTransferFromAFixedAccount
TransfersApiTransferFromOrganizationBalancePost /transfers/balanceTransferFromOrganizationBalance
WebhookApiGetWebhookGet /webhooksGetWebhook
WebhookApiSetWebhookPost /webhooksSetWebhook

Documentation For Models

Documentation For Authorization

bearer

Author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAPIClient creates a new API client.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKey takes an APIKey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIClient manages communication with the Bloc API API v1.0 In most cases there should be only one, shared, APIClient.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GenericSwaggerError Provides access to the body, error and model on returned errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author