pub struct UserFiatStatusesResponse {
pub transactions: Vec<UserFiatStatusesResponseTransactionsItem>,
}Expand description
UserFiatStatusesResponse
JSON schema
{
"type": "object",
"required": [
"transactions"
],
"properties": {
"transactions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"created_at",
"deposit_instructions",
"destination",
"id",
"is_sandbox",
"status",
"type"
],
"properties": {
"created_at": {
"type": "string"
},
"deposit_instructions": {
"type": "object",
"required": [
"amount",
"currency",
"payment_rail"
],
"properties": {
"account_holder_name": {
"type": "string"
},
"amount": {
"type": "string"
},
"bank_account_number": {
"type": "string"
},
"bank_address": {
"type": "string"
},
"bank_beneficiary_address": {
"type": "string"
},
"bank_beneficiary_name": {
"type": "string"
},
"bank_name": {
"type": "string"
},
"bank_routing_number": {
"type": "string"
},
"bic": {
"type": "string"
},
"currency": {
"type": "string",
"enum": [
"eur",
"usd"
]
},
"deposit_message": {
"type": "string"
},
"iban": {
"type": "string"
},
"payment_rail": {
"type": "string",
"enum": [
"ach_push",
"sepa",
"wire"
]
}
}
},
"destination": {
"type": "object",
"required": [
"address",
"chain",
"currency"
],
"properties": {
"address": {
"type": "string"
},
"chain": {
"type": "string"
},
"currency": {
"type": "string"
},
"privy_user_id": {
"type": "string"
}
}
},
"id": {
"type": "string"
},
"is_sandbox": {
"type": "boolean"
},
"receipt": {
"type": "object",
"required": [
"final_amount"
],
"properties": {
"final_amount": {
"type": "string"
},
"transaction_hash": {
"type": "string"
}
}
},
"status": {
"type": "string",
"enum": [
"awaiting_funds",
"canceled",
"error",
"funds_received",
"in_review",
"payment_processed",
"payment_submitted",
"refunded",
"returned",
"undeliverable"
]
},
"type": {
"type": "string",
"enum": [
"onramp"
]
}
}
},
{
"type": "object",
"required": [
"created_at",
"deposit_instructions",
"destination",
"id",
"is_sandbox",
"status",
"type"
],
"properties": {
"created_at": {
"type": "string"
},
"deposit_instructions": {
"type": "object",
"required": [
"amount",
"chain",
"currency",
"from_address",
"to_address"
],
"properties": {
"amount": {
"type": "string"
},
"chain": {
"type": "string",
"enum": [
"arbitrum",
"base",
"ethereum",
"optimism",
"polygon"
]
},
"currency": {
"type": "string",
"enum": [
"usdc"
]
},
"from_address": {
"type": "string"
},
"to_address": {
"type": "string"
}
}
},
"destination": {
"type": "object",
"required": [
"currency",
"external_account_id",
"payment_rail"
],
"properties": {
"currency": {
"type": "string"
},
"external_account_id": {
"type": "string"
},
"payment_rail": {
"type": "string"
}
}
},
"id": {
"type": "string"
},
"is_sandbox": {
"type": "boolean"
},
"receipt": {
"type": "object",
"required": [
"final_amount"
],
"properties": {
"final_amount": {
"type": "string"
},
"transaction_hash": {
"type": "string"
}
}
},
"status": {
"type": "string",
"enum": [
"awaiting_funds",
"canceled",
"error",
"funds_received",
"in_review",
"payment_processed",
"payment_submitted",
"refunded",
"returned",
"undeliverable"
]
},
"type": {
"type": "string",
"enum": [
"offramp"
]
}
}
}
]
}
}
}
}Fields§
§transactions: Vec<UserFiatStatusesResponseTransactionsItem>Trait Implementations§
Source§impl Clone for UserFiatStatusesResponse
impl Clone for UserFiatStatusesResponse
Source§fn clone(&self) -> UserFiatStatusesResponse
fn clone(&self) -> UserFiatStatusesResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UserFiatStatusesResponse
impl Debug for UserFiatStatusesResponse
Source§impl<'de> Deserialize<'de> for UserFiatStatusesResponse
impl<'de> Deserialize<'de> for UserFiatStatusesResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UserFiatStatusesResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UserFiatStatusesResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&UserFiatStatusesResponse> for UserFiatStatusesResponse
impl From<&UserFiatStatusesResponse> for UserFiatStatusesResponse
Source§fn from(value: &UserFiatStatusesResponse) -> UserFiatStatusesResponse
fn from(value: &UserFiatStatusesResponse) -> UserFiatStatusesResponse
Converts to this type from the input type.
Source§impl Serialize for UserFiatStatusesResponse
impl Serialize for UserFiatStatusesResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for UserFiatStatusesResponse
impl RefUnwindSafe for UserFiatStatusesResponse
impl Send for UserFiatStatusesResponse
impl Sync for UserFiatStatusesResponse
impl Unpin for UserFiatStatusesResponse
impl UnwindSafe for UserFiatStatusesResponse
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