fiat withdrawal

This section provides endpoints to manage and retrieve information about user fiat withdrawals.

List Withdrawals

Returns a list of all withdrawal requests.

Responses
200

List of withdrawals retrieved successfully

get/withdrawals
Response samples
application/json
{
  • "api_message": "WITHDRAWAL_GET_LIST_SUCCESS",
  • "api_data": {
    }
}

Create Withdrawal

Creates a new withdrawal request.

Request
Request Body schema: application/json
required
amount
string
currency
string
Responses
200

Withdrawal successfully created

post/withdrawals
Request samples
application/json
{
  • "amount": "15000",
  • "currency": "USD"
}
Response samples
application/json
{
  • "api_message": "WITHDRAWAL_POST_SUCCESS",
  • "api_data": {
    }
}

Show Withdrawal

Returns details of a specific withdrawal request.

Request
path Parameters
withdrawal_id
required
string

ID of the withdrawal

Responses
200

Withdrawal details retrieved successfully

get/withdrawals/{withdrawal_id}
Response samples
application/json
{
  • "api_message": "WITHDRAWAL_GET_SHOW_SUCCESS",
  • "api_data": {
    }
}

Update Withdrawal

Updates the status of a specific withdrawal request.

Request
path Parameters
withdrawal_id
required
string

ID of the withdrawal

Request Body schema: application/json
required
status
string
remarks
string
otp
string
Responses
200

Withdrawal updated successfully

put/withdrawals/{withdrawal_id}
Request samples
application/json
{
  • "status": "ADMIN_APPROVED",
  • "remarks": "approve 1",
  • "otp": "164209"
}
Response samples
application/json
{
  • "api_message": "WITHDRAWAL_PUT_SUCCESS",
  • "api_data": {
    }
}