Class PaymentTransferRequest
What one transfer to a payee needs.
public record PaymentTransferRequest : IEquatable<PaymentTransferRequest>
- Inheritance
-
PaymentTransferRequest
- Implements
- Inherited Members
Constructors
PaymentTransferRequest(string, long, string, string, string?, IDictionary<string, string>?)
What one transfer to a payee needs.
public PaymentTransferRequest(string DestinationAccountId, long AmountMinor, string CurrencyCode, string IdempotencyKey, string? TransferGroup = null, IDictionary<string, string>? Metadata = null)
Parameters
DestinationAccountIdstringThe payee's account at the provider.
AmountMinorlongHow much, in the currency's minor units — what the payee keeps, after any fee.
CurrencyCodestringISO 4217, in any case.
IdempotencyKeystringThe caller's own key. A payee paid twice is a mistake nobody can take back, so this is the one argument that must never be reused across two different transfers.
TransferGroupstringTies this transfer to the charges it is paid out of.
MetadataIDictionary<string, string>Carried on the provider's object.
Properties
AmountMinor
How much, in the currency's minor units — what the payee keeps, after any fee.
public long AmountMinor { get; init; }
Property Value
CurrencyCode
ISO 4217, in any case.
public string CurrencyCode { get; init; }
Property Value
DestinationAccountId
The payee's account at the provider.
public string DestinationAccountId { get; init; }
Property Value
IdempotencyKey
The caller's own key. A payee paid twice is a mistake nobody can take back, so this is the one argument that must never be reused across two different transfers.
public string IdempotencyKey { get; init; }
Property Value
Metadata
Carried on the provider's object.
public IDictionary<string, string>? Metadata { get; init; }
Property Value
TransferGroup
Ties this transfer to the charges it is paid out of.
public string? TransferGroup { get; init; }