WithDraw

« Back to all API services.

WithDraw

JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /uProPay-WithDraw-Json.php HTTP/2.0
Host: https://api.upropay.com/v2
Content-Type: application/json
Content-Length: length

    "json data":
	{
	  "apikey":"String",
	  "amount":"Decimal 10,2 Formal Required. Use Dot Separation",
	  "invoice":"String",
	  "customerid":"String",
	  "customeridentification":"Integer",
	  "type":"Integer",
	  "customeriban":"String",
	  "customerbankname":"String"
	}

    "type":
        "1": Bank Transfer,
        "2": Papara,
        "3": Bitcoin,
        "4": Fast BankTransfer
			
HTTP/2.0 200 OK
Content-Type: application/json
Content-Length: length

    "Success Response":
	{
	  "success":true,
	  "code":1,
	  "message":"Approved"
	}

    "Error Response":
	{
	  "success":false,
	  "code":Integer,
	  "message":"String"
	}
	
    "Code":
        "1": Approved,
        "2": Server Error,
        "3": Server Error,
        "4": The Balance Is Insufficient,
        "5": uProPay Membership Not Found,
        "6": Api Key Wrong,
        "7": Access Denied Server Ip Adress,
        "8": Unknown Variable

    "Success":
        True/False
		
    "message":
        Reason for rejection