Returns success message or error message.
-
URL
api/v1/finance/exchange
-
Method:
POST
-
URL Params
Required:
None
-
Data Params
{
"userId" : userId,
"bank" : bank,
"account" : account,
"point" : point,
"name" : name
}
- Success Response:
{
"status" : 200,
"data" : "Exchange request complete",
"message" : "Success"
}
- Error Response:
{
"status" : 400,
"data" : NULL,
"message" : exception.getMessage()
}
OR
{
"status" : 500,
"data" : NULL,
"message" : exception.getMessage()
}