Implement the Invoice and capture email content using API

If we retrieve the invoice link in our salesforce system ( using api ) and send to the customer ( from our salesforce system ) . Will customer receive a link so they can click to pay the invoice that will open a secure page where the customer can enter their card information?