Skip to main content
POST
/
api
/
deposit
/
create
Create Deposit
curl --request POST \
  --url http://127.0.0.1:8083/api/deposit/create \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --header 'X-API-Secret: <api-key>' \
  --data '
{
  "partner_transaction_id": "<string>",
  "network": "ETH",
  "account_currency": "USDT",
  "amount": 99.99
}
'
{
  "partner_transaction_id": "<string>",
  "network": "ETH",
  "account_currency": "USDT",
  "amount": 123,
  "transaction_type": "deposit",
  "transaction_id": "<string>",
  "source_wallet_address": "<string>",
  "target_wallet_address": "<string>",
  "status": "Processing,Succeeded,Failed",
  "created_at": "2023-11-07T05:31:56Z",
  "audit_at": "2023-11-07T05:31:56Z",
  "completed_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-Key
string
header
required

Includes an API key in the HTTP headers to authenticate the client.

X-API-Secret
string
header
required

Includes an API secret in the HTTP headers to authenticate the client.

Body

application/json
partner_transaction_id
string
required

Partner Transaction Id

Required string length: 20 - 64
network
enum<string>
required

Network

Available options:
ETH,
TRX
Pattern: ^(ETH|TRX)$
Example:

"ETH"

account_currency
enum<string>
required

Source Currency

Available options:
USDT,
USDC,
USD
Required string length: 2 - 10
Pattern: USDT|USDC|USD
Example:

"USDT"

amount
number<decimal>
required

Amount

Required range: 0.01 <= x <= 1000000
Example:

99.99

Response

Operation Successful

partner_transaction_id
string
required
network
enum<string>
required

Network

Available options:
ETH,
TRX
Example:

"ETH"

account_currency
enum<string>
required

Account Currency

Available options:
USDT,
USDC,
USD
Example:

"USDT"

amount
number
required

Amount

transaction_type
enum<string>

Transaction Type

Available options:
deposit
transaction_id
string
source_wallet_address
string
target_wallet_address
string
status
string

Status

Example:

"Processing,Succeeded,Failed"

created_at
string<date-time>
audit_at
string<date-time>
completed_at
string<date-time>