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
15
16
17
18
#[doc(hidden)]
use serde::{Deserialize, Serialize};

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

#[derive(Debug, Serialize, Deserialize)]
pub struct TransferResult {
    pub amount: String,
    pub currency: String,
    #[serde(rename = "externalId")]
    pub external_id: String,
    pub payee: Party,
    #[serde(rename = "payerMessage")]
    pub payer_message: String,
    #[serde(rename = "payeeNote")]
    pub payee_note: String,
    pub status: String,
}