package
1.0.5
Repository: https://github.com/classzz/czzwallet.git
Documentation: pkg.go.dev

# README

pymtproto

[Build Status] (https://travis-ci.org/gcash/bchwallet)

Package pymtproto provides functions for downloading Bip0070 payment requests and POSTing payments back to the merchant server.

Example Usage:

client := NewPaymentProtocolClient(&chaincfg.MainnetParams, nil)
paymentRequest, err := client.DownloadBip0070PaymentRequest("bitcoincash:?r=https://test.bitpay.com/i/KqSWvRBKC58CgdpfsttzBC")

Package pymtproto is licensed under the copyfree ISC License.

# Packages

No description provided by the author

# Functions

NewPaymentProtocolClient returns a PaymentRequestDownloader that can be used to get the payment request.

# Structs

Output represents an address and amount to be paid.
Payment is an object that holds all information needed to POST a payment back to the merchant server.
PaymentProtocolClient is used to download payment requests and make payments.
PaymentRequest is returned by the DownloadBip0070PaymentRequest method.