Seamless - CallBack

« Back to all API services.

Seamless - CallBack

JSON

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

HTTP/2.0 200 OK
Content-Type: application/json
Content-Length: length

    "deposit json data":
	{
	  "apikey":"String",
	  "customerid":"String",
	  "amount":"Decimal 10,2 Formal Required. Use Dot Separation",
	  "method" => "String",
	  "type":"String",
	  "transactionid":"String",
	  "status":"Integer"
	}
	
    "withdrawal json data":
	{
	  "apikey":"String",
	  "invoice" => "String",
	  "paiddate" => "String",
	  "transferfee" => "Decimal 10,2 Formal",
	  "type":"String",
	  "status":"Integer"
	}
	
    "type":
        "Deposit": Deposit,
        "WithDraw-Status": WithDraw

    "status":
        For Deposit
        "1": Approved
		
        For WithDraw-Status
        "0": In Process,
        "1": Payment Sent by UproPay,
        "2": Payment Sent by Fast Transfer,
        "3": Account Information Incorrect,
        "4": Customer Name and Account Holder Name are Different,
        "5": Canceled

    "Deposit Json Sample":
        {"apikey":"123","customerid":"108756","amount":"20","method":"papara","type":"Deposit","transactionid":"123456789","status":1}

    "WithSraw Status Json Sample":
        {"apikey":"1234","invoice":"28","status":"1","paiddate":"2019-01-16 13:25:30","transferfee":"1.50","type":"WithDraw-Status"}
			
HTTP/2.0 200 OK
Content-Type: application/json
Content-Length: length

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

    "Error Response":
	{
	  "success":false,
	  "code":Integer,
	  "message":"String"
	}
	
    "Code":
        "1": Approved,
        "2": Rejected

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