Skip to main content
POST
/
api
/
v1
/
auth
/
orders
/
{order_id}
/
send-payment
Send USDT payment to escrow or destination address
curl --request POST \
  --url https://crypto.westminister.tech/api/v1/auth/orders/{order_id}/send-payment \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "wallet_id": "a4a7e9af-3e09-4c49-9cd7-d9e69500e4a4",
  "confirm": true
}
'
{
  "transaction_hash": "0xabc123def456...",
  "status": "pending",
  "estimated_confirmations": 20,
  "network": "tron",
  "message": "USDT transfer initiated successfully. Waiting for blockchain confirmation."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

order_id
string<uuid>
required

Order ID

Body

application/json
wallet_id
string<uuid>
required

Wallet ID to send USDT from (must belong to order customer)

Example:

"a4a7e9af-3e09-4c49-9cd7-d9e69500e4a4"

confirm
boolean
required

Confirmation flag (must be true to proceed)

Example:

true

Response

Payment initiated successfully

transaction_hash
string

Blockchain transaction hash

Example:

"0xabc123def456..."

status
enum<string>

Transaction status

Available options:
pending,
confirmed
Example:

"pending"

estimated_confirmations
integer

Estimated number of confirmations required

Example:

20

network
string

Blockchain network

Example:

"tron"

message
string

Status message

Example:

"USDT transfer initiated successfully. Waiting for blockchain confirmation."