---
title: "Actualizar"
method: PUT
path: "/setup_intents/{id}"
tags: ["Setup Intents"]
---

# Actualizar

`PUT /setup_intents/{id}`

## Request

- Base URL: `https://api.ventipay.com/v1`
- URL: `https://api.ventipay.com/v1/setup_intents/{id}`
- Auth: one of:
  - HTTP basic
  - HTTP bearer

Actualiza un objeto `SetupIntent` especifico. Cualquier parámetro que no se proporcione no se modificará.

## Path parameters

- `id` string, required

## Request body

- object
  - `metadata` string, json: Conjuto de pares llave-valor asociado al objeto.
  - `success_url` string: Una URL a la cual el cliente será redirigido al inscribir un método de pago exitosamente.
  - `success_url_method` 'get' | 'post'
  - `cancel_url` string: Una URL a la cual el cliente será redirigido para volver al comercio.
  - `cancel_url_method` 'get' | 'post'

---

[API](https://skmtc.dev/ventipay/apis/payment-methods.md) - [All operations](https://skmtc.dev/ventipay/apis/payment-methods/llms.txt) - [OpenAPI document](https://skmtc.dev/ventipay/apis/payment-methods/revisions/802fd991cef8?raw)
