Module charge

Source
Expand description

§Charge

This file contains all the structs and definitions needed to create charges using the Paystack API.

Structs§

ChargeRequest
This struct is used to create a charge body for creating a Charge Authorization using the Paystack API. The struct is constructed using the ChargeBodyBuilder
ChargeRequestBuilder
Builder for ChargeRequest.
ChargeResponseData
This struct represents the charge response

Enums§

ChargeRequestBuilderError
Error type for ChargeRequestBuilder