> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update payment intent

<Info>
  Slash Payment Processing is in beta and not enabled for all accounts. Contact
  [support@joinslash.com](mailto:support@joinslash.com) to get access.
</Info>

Update the `amount`, `currency`, and/or `metadata` of a payment intent before payment starts.
Send only the fields you want to change. At least one field is required.

`metadata` is shallow-merged with existing metadata. Supplied keys are added or
overwritten, omitted keys remain unchanged, and setting a top-level key to `null`
deletes it. An empty metadata object makes no metadata changes.

<Note>
  Only payment intents with `pending` status can be updated. Once processing
  starts or the payment reaches a terminal state, the endpoint returns `409`.
</Note>
