Workforce Payments APIs
  • Introduction
  • Real-Life Scenarios
  • API Reference
    • API Essentials
    • Payment Status
    • Environments
    • Authentication API
    • Wallets Management
      • Open A Wallet
      • Get Wallets List
      • Get Wallet Details
      • Get Wallet Statements
    • Groups Management
      • Create A Payment Group
      • Update A Payment Group
      • Get Payment Group Details
      • Get Payment Groups List
      • Lock Payment Group
      • UnLock Payment Group
      • Delete Payment Group
    • Beneficiaries Management
      • Get Schema Information
      • Create A Beneficiary
      • Update Beneficiary Details
      • Get Beneficiary Details
      • Get Beneficiaries List
      • Bulk Import Beneficiary
      • Bulk Import Beneficiary Status
      • Bulk Validate Beneficiary
    • Payment Management
      • Create Payment Instruction
      • Update Payment Instructions
      • Get Payment Details
      • Get Payments List
      • Approve Payment Instructions
      • UnApprove Payment Instructions
      • Execute Payment Instructions
      • Bulk Import Payment Instructions
      • Bulk Import Payment Instructions Status
    • Webhooks Notifications
Powered by GitBook

© All rights reserved to papaya global 2024

On this page
  1. API Reference
  2. Groups Management

Update A Payment Group

The API is utilized to modify the Payment Group information.

PUT /payments/groups/{id}

Body Parameters Request

Name
Location
Type
Description
Required

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

Name
Type
Description

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"
  }
}
{
   "error": "not_found",
   "description": "Could not find entity with id 98453dfb-fac7",
   "error_code": 404,
   "sub_code": 1000,
   "error_info": {
      "error": "not_found",
      "description": "Could not find entity with id 98453dfb-fac7",
      "error_code": 404,
      "sub_code": 1000
   }
}
PreviousCreate A Payment GroupNextGet Payment Group Details

Last updated 10 months ago