Particle Photon API: Getting customer token works on Postman but not with axios

I’m developing a react native application that combines a Photon Particle.
By following the documentation of a Two legged auth; before configure a device I need to get a claim code.

curl -X POST \ \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -d 'grant_type=client_credentials&client_id=client_id&client_secret=clsecret&'

When I do the request using CURL or even postman I got the desired results. But when I tried this using axios inside react native (iOS), I’m always getting the following error: Invalid or missing grant_type parameter.

The code below is my React Native code that is retrieving the data. And as you can see, I’m passing the grant_type.

costumerToken() {
    const route = `${this.route}/oauth/token`;
    const headers = {
        "Accept": "application/json",
        "Content-Type": "application/x-www-form-urlencoded"
    const body = {
        "grant_type": "client_credentials",
        "client_id": this.clientId,
        "client_secret": this.clientSecret,
        "scope": `customer=${this.costumerEmail}`
    console.log(route, headers, body);
    return, body, {headers: headers})
        .then(res => {
            return Promise.resolve(res);
        .catch(err => {
            return Promise.reject(err.response);

What is wrong?