MTN Momo Payment API for Rust, with support for both the Sandbox and Production environments. All products are supported: Collections, Disbursements and Remittances.
useserde::{Deserialize, Serialize};/// This is the status of the pre-approval.
#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]#[serde(rename_all ="UPPERCASE")]pubenumPreApprovalStatus{/// The pre-approval is pending.
PENDING,/// The pre-approval is successful.
SUCCESSFUL,/// The pre-approval has failed.
FAILED,/// The pre-approval has been created.
CREATED,}