---
title: "Update Purse – Updates the details of a specific purse."
method: PUT
path: "/programs/{programCode}/accounts/{accountIdentifier}/purses/{purseIdentifier}"
tags: ["Purse"]
---

# Update Purse – Updates the details of a specific purse.

`PUT /programs/{programCode}/accounts/{accountIdentifier}/purses/{purseIdentifier}`

Updates the details of a specific purse, such as description, goal amount, icon, and round-up settings. Returns the updated purse details.

## Path parameters

- `programCode` string, required
- `accountIdentifier` string, required
- `purseIdentifier` string, required

## Headers

- `X-GD-RequestId` string, required

## Request body

- UpdatePurseRequest — Represents a request to update an existing purse. Used to modify purse details such as description, goal, icon, and round-up settings.
  - `isHidden` boolean, nullable — Indicates whether the purse is hidden.
  - `description` string, nullable — The description of the purse.
  - `iconName` string, nullable — The icon name for the purse.
  - `goalAmount` string, nullable — The goal amount for the purse.
  - `goalDate` string, nullable — The goal date for the purse (YYYY-MM-DD).
  - `purseSubType` string, nullable — The sub-type of the purse.
  - `isRoundUp` boolean — Indicates whether round-up is enabled for the purse.

## Response `200`

OK

- UpdatePurseResponse — Represents the response returned after updating a purse. Contains the updated purse details.
  - `responseDetails` ResponseDetail[], nullable — Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.
    - `code` integer — The primary status or error code for the response (e.g., 200 for success, 400 for validation error).
    - `subCode` integer, nullable — An optional subcode providing more granular detail about the response or error.
    - `description` string, nullable — A human-readable description of the response, error, or status.
    - `url` string, nullable — A URL linking to documentation or a web page with more information about the response code.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/greendot/apis/baas-apis.md) · [All operations](https://skmtc.net/greendot/apis/baas-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/greendot/baas-apis/revisions/666553766b78/schema)
