Update Online Payment


Description

API to update the the online payment, If it is made after the creating shipment.


Resource

/pbb/adm/updateonlinepayment


Name Type Description
amount * double Cash paid online
shipmentId * long Reference id for Shipment

Request

{
    "amount":200,
    "shipmentId":300125,
    "paymentDone":true
}  
  
{
    "responseCode":"1000",
    "errors":null
}

Error

{
    "responseCode": "1001",
    "errors": [
        {
            "code": "TI.0.2.9",
            "data": null
        }
      ],
    "responseMessage": null,
    "isValid": null,
    "completed": null,
    "turnedAway": null,
    "pending": null
}