pub struct FedwireDepositSource {
pub account_number: FedwireDepositSourceAccountNumber,
pub currency: Asset,
pub omad: FedwireDepositSourceOmad,
pub originator_name: FedwireDepositSourceOriginatorName,
pub originator_to_beneficiary: Vec<FedwireDepositSourceOriginatorToBeneficiaryItem>,
}Expand description
The originating Fedwire deposit details for the transfer source. Present when funds were deposited via Fedwire into a deposit destination.
JSON schema
{
"title": "Fedwire Deposit Source",
"description": "The originating Fedwire deposit details for the transfer source. Present when funds were deposited via Fedwire into a deposit destination.",
"examples": [
{
"accountNumber": "89770098",
"currency": "usd",
"omad": "20240101MMQFMP2P000001",
"originatorName": "Acme Corp",
"originatorToBeneficiary": [
"Invoice 1234",
"Payment for services rendered"
]
}
],
"type": "object",
"required": [
"accountNumber",
"currency",
"omad",
"originatorName"
],
"properties": {
"accountNumber": {
"description": "The originator's bank account number. Masked on webhook payloads.",
"examples": [
"89770098"
],
"type": "string",
"maxLength": 17,
"minLength": 4
},
"currency": {
"description": "The fiat currency of the Fedwire deposit (e.g., `usd`).",
"examples": [
"usd"
],
"allOf": [
{
"$ref": "#/components/schemas/Asset"
}
]
},
"omad": {
"description": "The Output Message Accountability Data (OMAD), a unique identifier assigned by the Fedwire network to the wire transfer message.",
"examples": [
"20240101MMQFMP2P000001"
],
"type": "string",
"maxLength": 22
},
"originatorName": {
"description": "The name of the originator. Masked on webhook payloads.",
"examples": [
"Acme Corp"
],
"type": "string",
"maxLength": 35
},
"originatorToBeneficiary": {
"description": "The Originator to Beneficiary Information (OBI) lines from the Fedwire message. Up to 4 lines, each up to 35 characters. Free-form and may contain identifying information about the originator. Masked on webhook payloads.",
"examples": [
[
"Invoice 1234",
"Payment for services rendered"
]
],
"type": "array",
"items": {
"type": "string",
"maxLength": 35
},
"maxItems": 4
}
},
"x-audience": "public"
}Fields§
§account_number: FedwireDepositSourceAccountNumberThe originator’s bank account number. Masked on webhook payloads.
currency: AssetThe fiat currency of the Fedwire deposit (e.g., usd).
omad: FedwireDepositSourceOmadThe Output Message Accountability Data (OMAD), a unique identifier assigned by the Fedwire network to the wire transfer message.
originator_name: FedwireDepositSourceOriginatorNameThe name of the originator. Masked on webhook payloads.
originator_to_beneficiary: Vec<FedwireDepositSourceOriginatorToBeneficiaryItem>The Originator to Beneficiary Information (OBI) lines from the Fedwire message. Up to 4 lines, each up to 35 characters. Free-form and may contain identifying information about the originator. Masked on webhook payloads.
Implementations§
Source§impl FedwireDepositSource
impl FedwireDepositSource
pub fn builder() -> FedwireDepositSource
Trait Implementations§
Source§impl Clone for FedwireDepositSource
impl Clone for FedwireDepositSource
Source§impl Debug for FedwireDepositSource
impl Debug for FedwireDepositSource
Source§impl<'de> Deserialize<'de> for FedwireDepositSource
impl<'de> Deserialize<'de> for FedwireDepositSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&FedwireDepositSource> for FedwireDepositSource
impl From<&FedwireDepositSource> for FedwireDepositSource
Source§fn from(value: &FedwireDepositSource) -> Self
fn from(value: &FedwireDepositSource) -> Self
Converts to this type from the input type.
Source§impl From<FedwireDepositSource> for TransferSource
impl From<FedwireDepositSource> for TransferSource
Source§fn from(value: FedwireDepositSource) -> Self
fn from(value: FedwireDepositSource) -> Self
Converts to this type from the input type.
Source§impl From<FedwireDepositSource> for FedwireDepositSource
impl From<FedwireDepositSource> for FedwireDepositSource
Source§fn from(value: FedwireDepositSource) -> Self
fn from(value: FedwireDepositSource) -> Self
Converts to this type from the input type.
Source§impl Serialize for FedwireDepositSource
impl Serialize for FedwireDepositSource
Source§impl TryFrom<FedwireDepositSource> for FedwireDepositSource
impl TryFrom<FedwireDepositSource> for FedwireDepositSource
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: FedwireDepositSource) -> Result<Self, ConversionError>
fn try_from(value: FedwireDepositSource) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for FedwireDepositSource
impl RefUnwindSafe for FedwireDepositSource
impl Send for FedwireDepositSource
impl Sync for FedwireDepositSource
impl Unpin for FedwireDepositSource
impl UnsafeUnpin for FedwireDepositSource
impl UnwindSafe for FedwireDepositSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more