Table of Contents

Class PaymentTransferRequest

Namespace
NuvTools.Payment.DTOs.Requests
Assembly
NuvTools.Payment.dll

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

DestinationAccountId string

The payee's account at the provider.

AmountMinor long

How much, in the currency's minor units — what the payee keeps, after any fee.

CurrencyCode string

ISO 4217, in any case.

IdempotencyKey string

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.

TransferGroup string

Ties this transfer to the charges it is paid out of.

Metadata IDictionary<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

long

CurrencyCode

ISO 4217, in any case.

public string CurrencyCode { get; init; }

Property Value

string

DestinationAccountId

The payee's account at the provider.

public string DestinationAccountId { get; init; }

Property Value

string

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

string

Metadata

Carried on the provider's object.

public IDictionary<string, string>? Metadata { get; init; }

Property Value

IDictionary<string, string>

TransferGroup

Ties this transfer to the charges it is paid out of.

public string? TransferGroup { get; init; }

Property Value

string