This endpoint can be used to create a customer portal magic link. The link (returned in the link property) allows your customer to directly access the customer portal. This is useful if you want to integrate the customer portal into your own application. Remember that it is your responsibility to make sure to provide the correct customerId for your user you’d like to log in.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The magic link to create for a customerId
ID of the customer
"cus_julw8echyrs310pyl0oug77f"