POST redeem/uracode

Redeem URA-CODE

Request Information

URI Parameters

None.

Body Parameters

RedeemUraCode
NameDescriptionTypeAdditional information
ApiKey

Your Api Key.

string

Required

SecretKey

Your Secret Key.

string

Required

UraCode

Your URA-CODE.

string

Required

Request Formats

application/json, text/json

Sample:
{
  "ApiKey": "sample string 1",
  "SecretKey": "sample string 2",
  "UraCode": "sample string 3"
}

application/xml, text/xml

Sample:
<RedeemUraCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Urabit.API.Models">
  <ApiKey>sample string 1</ApiKey>
  <SecretKey>sample string 2</SecretKey>
  <UraCode>sample string 3</UraCode>
</RedeemUraCode>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RedeemMessage
NameDescriptionTypeAdditional information
StatusId

0 : Invalid or used URA-CODE.
1 : Redeem URA-CODE success.
-1 : You have entered an incorrect number of times over.
-2 : The provided API Key and Secret Key is invalid.
-3 : You do not have permission to access.
-99 : Error System.
-100 : System Maintenance.

integer

None.

Message

Status message .

string

None.

ValueOfCode

If the status is successful, then return value.

decimal number

None.

CoinCode

If the status is successful, then return value.

string

None.

Balance

If the status is successful, then return value.

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "StatusId": 1,
  "Message": "sample string 2",
  "ValueOfCode": 1.0,
  "CoinCode": "sample string 3",
  "Balance": 1.0
}

application/xml, text/xml

Sample:
<RedeemMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Urabit.API.Models">
  <Balance>1</Balance>
  <CoinCode>sample string 3</CoinCode>
  <Message>sample string 2</Message>
  <StatusId>1</StatusId>
  <ValueOfCode>1</ValueOfCode>
</RedeemMessage>