mtnmomo 0.1.9

MTN Momo Payment API for Rust, with support for both the Sandbox and Production environments. All products are supported: Collections, Disbursements and Remittances.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[doc(hidden)]
use serde::{Deserialize, Serialize};

use crate::structs::party::Party;

#[derive(Debug, Serialize, Deserialize)]
pub struct PreApprovalResult {
    pub payer: Party,
    #[serde(rename = "payerCurrency")]
    pub payer_currency: String,
    pub status: String,
    #[serde(rename = "expirationDateTime")]
    pub expiration_date_time: String,
}