Ajax call in Postman

Hi i am new to postman.
I want to test an API and the sample i have from the 3rd party is in Ajax, how can I test that with postman. The last part (success) is just to show you the whole sample.

Thank’s for you help.

$.ajax({
    url: "/identity/connect/token",
    type: "POST",
    crossDomain: true,
    xhrFields: { withCredentials: true },
    data: {
        username: "admin",
        password: "xxx",
        "grant_type": "password",
        scope: "iscapi"
    },
    beforeSend: function(xhr) {
        // This uses the "isc" Identity client.
        xhr.setRequestHeader("Authorization", "Basic xxxx");
    },
    success: function(data) {
        console.log(JSON.stringify(data));
        // Save the access token for subsequent requests.
        commerceToken = data.access_token;
    }
});

If you are new to Postman, I recommend understanding the fundamentals first.

https://learning.postman.com/docs/postman/launching-postman/introduction/

or if you prefer a video tutorial: