Skip to content

Commit

Permalink
Merge branch 'development' of github.com:mercadopago/devsite-docs int…
Browse files Browse the repository at this point in the history
…o fix/webhooks-rollback
  • Loading branch information
hgaldino committed Jan 17, 2024
2 parents 52eb852 + db9e660 commit d78dc43
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion guides/split-payment/configuration.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Use the authorization code obtained in the previous step to acquire user credent
| `<CLIENT_SECRET>` | Your SECRET_KEY, also available in the details of your application. |
| `<AUTHORIZATION_CODE>` | Authorization code obtained when redirecting the user back to your site. |
| `<REDIRECT_URI>` | Should be the same Redirect URI configured in your application. |
| `<STATE>` | Replace the "RANDOM_ID" value with an identifier that is unique for each attempt and does not include sensitive information so that you can identify who the received code is from. |

```curl
curl -X POST \
Expand All @@ -114,7 +115,8 @@ curl -X POST \
-d 'client_secret=<CLIENT_SECRET>' \
-d 'grant_type=authorization_code' \
-d 'code=<AUTHORIZATION_CODE>' \
-d 'redirect_uri=<REDIRECT_URI>'
-d 'redirect_uri=<REDIRECT_URI>' \
-d 'state=<RANDOM_ID>'
```

#### Response
Expand Down
4 changes: 3 additions & 1 deletion guides/split-payment/configuration.es.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Utiliza el código de autorización obtenido en el paso anterior para adquirir l
| `<CLIENT_SECRET>` | Tu SECRET_KEY, también disponible en los detalles de tu aplicación. |
| `<AUTHORIZATION_CODE>` | Código de autorización obtenido al redirigir al usuario de vuelta a tu sitio. |
| `<REDIRECT_URI>` | Debe ser la misma Redirect URI configurada en tu aplicación. |
| `<STATE>` | Reemplaza el valor "RANDOM_ID" con un identificador que sea único para cada intento y que no incluya información confidencial para que puedas identificar de quién es el código recibido. |

```curl
curl -X POST \
Expand All @@ -114,7 +115,8 @@ curl -X POST \
-d 'client_secret=<CLIENT_SECRET>' \
-d 'grant_type=authorization_code' \
-d 'code=<AUTHORIZATION_CODE>' \
-d 'redirect_uri=<REDIRECT_URI>'
-d 'redirect_uri=<REDIRECT_URI>' \
-d 'state=<RANDOM_ID>'
```

#### Respuesta
Expand Down
4 changes: 3 additions & 1 deletion guides/split-payment/configuration.pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ Utilize o código de autorização obtido na etapa anterior para adquirir as cre
| `<CLIENT_SECRET>` | Sua SECRET_KEY, também disponível nos detalhes de sua aplicação. |
| `<AUTHORIZATION_CODE>` | Código de autorização obtido ao redirecionar o usuário de volta para o seu site. |
| `<REDIRECT_URI>` | Deve ser a mesma Redirect URI configurada em sua aplicação. |
| `<STATE>` | Substitua o valor "RANDOM_ID" por um identificador que seja único para cada tentativa e que não inclua informações sensíveis de forma que você consiga identificar de quem é o código recebido. |

```curl
curl -X POST \
Expand All @@ -114,7 +115,8 @@ curl -X POST \
-d 'client_secret=<CLIENT_SECRET>' \
-d 'grant_type=authorization_code' \
-d 'code=<AUTHORIZATION_CODE>' \
-d 'redirect_uri=<REDIRECT_URI>'
-d 'redirect_uri=<REDIRECT_URI>' \
-d 'state=<RANDOM_ID>'
```

#### Resposta
Expand Down

0 comments on commit d78dc43

Please sign in to comment.