Written by Omar Najjar
Last update: Wednesday, Aug 08, 2018
Via PayDock Dashboard
- Go to Customers
- Search customer whose payment source you want to delete. Click on customer's name.
- Select the payment source you want to make default. 
- Click "Set Default"
- The payment source will now show up first under your customer's details. 
Success!
Via API request
- Generate a new payment source for your targeted Customer
- A simple API POST to /v1/customer/{id} by setting the default_source using the "_id"  value  found under payment_sources for that customer
{
    "default_source":"1234567890"
}
 
Success! The default_source "value" for that customer has now been changed.