API 2.0
Endpoints
/wallet_add
Add a new wallet registry
Method | POST |
---|---|
URL | https://uexcorp.space/api/2.0/wallet_add/ |
Authorization | Bearer Token |
Cache TTL | — |
Input (Header) |
// required user secret key, should be passed via header, obtained in user profile secret_key string(40) |
Input (POST) |
description string(255) // required, transaction memo operation string(4) // transaction type, required, should be 'debit' or 'credit' value float // required, values in UEC is_production int(1) // required for production |
JSON input example |
{ "is_production": 0, "description": "Income: Astatine Sale in Nyx", "operation": "credit", "value": 1450180 } |
Output |
transaction_hash string(40) // unique transaction hash |
Responses |
// user secret key not provided missing_secret_key // user not found with provided secret key user_not_found // user banned or disabled by administrator user_not_allowed // user account not verified on RSI website user_not_verified // user secret key length should be exactly 40 characters invalid_secret_key // transaction type not provided missing_description // transaction memo not supplied missing_operation // invalid transaction type - should be debit or credit invalid_operation // terminal ID not provided missing_value // transaction value not informed vehicle_not_found // all good! ok |
Last update: | 4 months ago |
Optional Required Required as header input