improved

Improvements to Payment Method Management

Ezypay has made some improvements to our APIS and webhook event that will help integrators manage payment methods more effectively.

Previously integrators:
• Could not easily identify which payment method was replaced, especially when the customer had updated their payment method through the Pay Now page.
• Invoice details had only provided the payment method token ID. If a payment method token had been deleted, an integrator could no longer retrieve the details of the payment method.

Due to these reasons, Ezypay had made the following changes:

1. Identification of the Replaced Payment Method

Release Date3 January 2022
Current BehaviourThe return payload from the " payment_method_replaced" webhook event and the response payload when the "Replace payment method” API is triggered show only details of the new payment method token. Details of the replaced payment method is not displayed.
Future behaviourDetails of the old replaced payment method are displayed in the payload data alongside the new payment method that is used to replace it.
Link to relevant documentationhttps://developer.ezypay.com/reference/replace-a-payment-method

2. Storing Payment Method Information Against Invoice Details

Release Date6 January 2022
Current BehaviourThe invoice details provide only the payment method token ID. If the payment method token has been deleted, the integrator/merchant no longer can retrieve details of the payment method for identification.
Future behaviourDetails of the payment method, such as account number, account holder name, etc. are displayed in the payload data instead of just the payment method token ID.
Link to relevant documentationhttps://developer.ezypay.com/reference/retrieve-an-invoice