v1

latestOpenAPI 3.0.02026-07-242035712.0 MB
Group

Link an Account to a Group

You can utilize this API to link an existing account to a group. By linking an account, it will inherit all the attributes managed by the group, such as fraud rules or fee rule calculations. At any time, you have the flexibility to unassign an account from a group using the Unlink Account Group API.

post/pws/pws_link_account_group/

Request body

acc_idinteger required

account id

api_call_unique_identifierstring required

Unique number that must be passed at each API request. Identifier to make each API request unique

client_idinteger required

Unique identifier for the client which Paymentology will provide at outset

group_idstring required

comma separated group Id's.

user_idstring

User Id of the Customer who triggered the API request.

remarksstring

Remarks for API request

Example request

{
  "acc_id": 370769462,
  "api_call_unique_identifier": "438574845790657485",
  "client_id": 760131,
  "group_id": "1267"
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": {
    "message": "account (370769462) linked to groupid (2) successfully"
  }
}