Categorygithub.com/pandudpn/go-payment-gateway
modulepackage
0.3.0
Repository: https://github.com/pandudpn/go-payment-gateway.git
Documentation: pkg.go.dev

# README

GO Payment Gateway

GoDoc Coverage Status Go Report Card

SDK GO for Payment Gateway in Indonesia. Currently only supports Midtrans Core API, Xendit API, and OY! Indonesia.


View table of contents

Payment Channels Supported

We're supporting the payments:

  • Bank Transfer via Virtual Account (BCA, BNI, BRI, Mandiri, Permata, and other's Bank) with closed or open amount.
  • EWallet (GOPAY, OVO, DANA, LinkAja, ShopeePay) with OneTime Payment or Linked Account.
  • Credit or Debit Card with/without installment.
  • Recurring payment with Credit Card, GOPAY.
  • Retail Outlet (Alfamart, Indomaret, Alfamidi, and other's RO).
  • Cardless Credit (Kredivo, Akulaku, Indodana, and other's credit).

License

MIT. Copyright 2022 by pandudpn

# Packages

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

# Functions

DefaultApiRequest is default of ApiRequest instance.
DisableLogging set configuration for disable logging.
NewLogger create instance of Logging.
NewOption will create an instance of configuration Options.

# Constants

Production environment type for go live to real customer.
SandBox is staging (for development).
Version library go-pg.

# Variables

DefaultOptions define all default value of configuration options payment gateway.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Log global variable to use as a logging interface.
No description provided by the author

# Structs

No description provided by the author
Options is the wrap of the params needed for API Call.

# Interfaces

ApiRequestInterface defines all api request.
Logging define all method to be implemented as logging only support print, warn and error.

# Type aliases

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