Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 676 Bytes

PointExchange.md

File metadata and controls

63 lines (44 loc) · 676 Bytes

Point Exchange

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()
}