hoodpay.types package

Submodules

hoodpay.types.directcryptocharge module

class hoodpay.types.directcryptocharge.DirectCryptoCharge(data: dict)

Bases: object

Represents a HoodPay direct crypto charge.

Attributes

amount: float

The amount of the charge.

currency: str

The currency of the charge.

hoodpay.types.payment module

class hoodpay.types.payment.Payment(data: dict)

Bases: object

Represents a HoodPay payment.

Attributes

id: int

The ID of the payment.

end_amount: float

The amount of the payment.

currency: str

The currency of the payment.

description: str

The description of the payment.

customer_email: str

The email of the customer.

created_at: datetime

The time the payment was created.

status: str

The status of the payment.

selected_payment_method: str

The payment method used for the payment.

direct_crypto_charge: DirectCryptoCharge

The direct crypto charge of the payment.

Module contents