WhitelabelTransferToUser

https://cryptogatewaytest.paywings.io/whitelabel/WhitelabelTransferToUser
Transfers asset from whitelabel to user

API Request structure

Parameter nameTypeMax.lengthValuesDescription
ReferenceID String 255 Your unique reference ID
PersonID Guid Person ID
UserWalletAddress String 255 User wallet address (destination; as returned from /ListUserWallets)
AssetID Guid Asset ID to be transferred to user
Amount Long Amount of AssetID to be transferred to user
Must take into account number of decimals
Example: if asset has 6 decimals, then 1=1000000
WhitelabelWalletAddress String 255 Whitelabel wallet address (source; as returned from /ListWhitelabelWallets)
Message String 255 Transaction message
API request sample JSON

API Response structure

Parameter nameTypeDescription
ReferenceID String Our response reference ID
CallerReferenceID String Your request reference ID
TransactionID Guid
Transaction Array
StatusCode Integer Status code
StatusDescription String Status description
Transaction array structure
Parameter nameTypeDescription
ID String ID
CreatedAt DateTime CreatedAt
CompletedAt DateTime CompletedAt
AssetCode String Asset code
AssetDecimals Integer Asset decimals
AssetAmount Long Asset amount
AssetExpense Long Asset expense
AssetFee Long Asset fee
UsdRateAmount Long UsdRate amount
UsdRateDecimals Integer UsdRate decimals
ReceivingAddress String Receiving address
ReceivingUserEmail String Receiving user email
SendingAddress String Sending address
SendingUserEmail String Sending user email
Status Integer Status
Values:
  • 0 - Waiting
  • 1 - Pending
  • 2 - Processing
  • 3 - Completed
  • 4 - Failed
  • 5 - Cancelled
  • Message String Message
    Type Integer Type
    Values:
  • 0 - withdrawal
  • 1 - deposit
  • 2 - hosted
  • API response sample JSON

    Status codes

    Status codeDescription
    0OK
    -1Invalid parameters
    -900Exchange error