Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/apis/merchant_accounts/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,8 @@ mod tests {
"sort_code": "sort-code",
"account_number": "account-number"
},
"account_holder_name": "Mr. Holder"
"account_holder_name": "Mr. Holder",
"reference": "TL 23-06-09 14:05"
}
},
{
Expand Down Expand Up @@ -837,7 +838,8 @@ mod tests {
account_identifier: Some(AccountIdentifier::SortCodeAccountNumber {
sort_code: "sort-code".to_string(),
account_number: "account-number".to_string()
})
}),
reference: Some("TL 23-06-09 14:05".to_string())
}
}
},
Expand Down
1 change: 1 addition & 0 deletions src/apis/merchant_accounts/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ pub enum TransactionPayinStatus {
#[serde(tag = "status", rename_all = "snake_case")]
pub enum TransactionPayoutStatus {
Pending,
Executed,
Settled { settled_at: DateTime<Utc> },
}

Expand Down
1 change: 1 addition & 0 deletions src/apis/payments/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ pub enum SchemeSelection {
pub struct Remitter {
pub account_holder_name: Option<String>,
pub account_identifier: Option<AccountIdentifier>,
pub reference: Option<String>,
}

#[derive(Serialize, Deserialize, Debug, Clone, Eq, PartialEq)]
Expand Down