Updating Payment Destination
In this article group
- What is the best practice for processing webhooks? What if a webhook fails?
- What countries does Lean support for international transfers?
- Many banks in the UAE have a beneficiary cool down period, is there a workaround to avoid this?
- Can a payment intent be cancelled? Also, can a payment intent be usable after the associated payment has failed?
- When a payment initiation has been completed, what does the status “PENDING_WITH_BANK” specify?
- How does Lean confirm that the payment has been successfully made?
- Which types of bank accounts can be used to make a payment?
- How does payment settlement work in the UAE?
- How long will payments take to settle for international payments from the UAE?
- What transfer currencies does Lean support?
- How to prevent user pay for multiple times? (Idempotency)
- Is there an expiry period of Customer ID/Destination ID?
- Payment source: "destination for payment source already exists"
- Do you have a sample data format for the webhooks you send?
In order to move funds to a new settlement account, you will need to create a new payment destination, Information on this can be found here. Please note, all customers linked to the previous destination will need to reconnect so that the new destination account can be added as a beneficiary.
There are two ways of doing this:
1. Either remove the payment source for each customer, and let them run through the Connect() UI again - Note: you must pass the new destination ID in to the connect() method. You will need to remove two records for each customer - first the Payment Source Record (link here how to do this) and then the Entity record (link here how to do this).
2. Or you implement the Create beneficiary() UI (link here), which the user can go through.
Also, you must include the new payment destination Id in the payment intent record, when being created.