Table of Contents

Class ApDepositUrlRequest

Namespace
AkashicPaySDK.Model
Assembly
AkashicPaySDK.dll

Represents a request to generate a deposit URL for a user or application. Optionally allows specifying reference ID and supported receiving currencies.

public class ApDepositUrlRequest : ApValidatableRequest
Inheritance
ApDepositUrlRequest
Inherited Members

Properties

Identifier

Gets or sets the unique identifier for the user or application.

public string Identifier { get; }

Property Value

string

ReceiveCurrencies

Gets or sets the list of currencies the user can accept in this deposit session. Only USDT, TRX, and ETH are supported.

public List<ApCurrencySymbol>? ReceiveCurrencies { get; }

Property Value

List<ApCurrencySymbol>

RedirectUrl

Optional URL to redirect to after user completes deposit

public string? RedirectUrl { get; }

Property Value

string

ReferenceId

Gets or sets an optional client-defined reference ID used for tracking or correlation.

public string? ReferenceId { get; }

Property Value

string

Methods

Validate()

Validates the request properties and throws an exception if invalid.

public override void Validate()

Exceptions

ApException

Thrown when the identifier is null or when unsupported currencies are included in the receiveCurrencies list.