Update A Payment Group

The API is utilized to modify the Payment Group information.

PUT /payments/groups/{id}

Body Parameters Request

NameLocationTypeDescriptionRequired

id

url path

string

Existing Group ID.

Yes

name

body

string

An updated name to give the group.

description

body

string

An updated description to give the group.

user_tags

body

object

A set of k/v pairs to assign to the group.

Body parameters Response

NameTypeDescription

description

string

Extended description of group

id

string

Unique id of group

locked

boolean

When locked, no new actions can be made

name

string

Visual name of group

type

string

entity type (group)

user_tags

object

A set of k/v pairs of user tags to assign to this group

wallet

string

id of wallet this group is associated with

Request Example

PUT /payments/groups/b48c3f38-9278-41a3-b101-444f20fce982
{  
  "description": "An updated description",  
  "user_tags": {
    "cycle":"2024-02",
    "approved_by":"John Doe"
  }
}

Response

{
  "type": "group",
  "id": "b48c3f38-9278-41a3-b101-444f20fce982",
  "description": "An updated description",
  "wallet": "f6b2776d-53f4-404e-a690-c3766a91d43a",
  "name": "February USD cycle",
  "user_tags": {
    "cycle": "2024-02",
    "approved_by": "John Doe"
  }
}

Last updated

© All rights reserved to papaya global 2024