Below is the sample Hyperwallet payment response
{ "token" : "pmt-XXX", "status" : "COMPLETED", "createdOn" : "2020-05-27T07:08:20", "amount" : "2.00", "currency" : "USD", "clientPaymentId" : "XXX", "purpose" : "OTHER", "expiresOn" : "2020-08-25T07:08:20", "destinationToken" : "XXX", "programToken" : "XXX", "links" : [ { "params" : { "rel" : "self" }, "href" : "https://api.hyperwallet.com/rest/v4/payments/pmt-XXX" } ] }
The status parameter is missing in the HyperwalletPayment pojo.
Without the status parameter clients will not be able to map or read the status of the payment programatically.
Below is the sample Hyperwallet payment response
{ "token" : "pmt-XXX", "status" : "COMPLETED", "createdOn" : "2020-05-27T07:08:20", "amount" : "2.00", "currency" : "USD", "clientPaymentId" : "XXX", "purpose" : "OTHER", "expiresOn" : "2020-08-25T07:08:20", "destinationToken" : "XXX", "programToken" : "XXX", "links" : [ { "params" : { "rel" : "self" }, "href" : "https://api.hyperwallet.com/rest/v4/payments/pmt-XXX" } ] }The
statusparameter is missing in theHyperwalletPaymentpojo.Without the status parameter clients will not be able to map or read the status of the payment programatically.