Request access token with an authorization code. Store the refresh token in your database along with the customer ID and expiration date (30 days from now). Request a new refresh token every 30 days using the Refresh token endpoint.

Language
URL
Click Try It! to start a request and see the response here!