Skip to main content
GET
List Succeeded Groups
Lists the succeeded groups saved on an account: groups of success sub-statuses you reference with status: "SUCCEEDED_GROUP" in a routing output, to react to an authorization the provider holds for review (PENDING_IN_REVIEW) differently from a plain approval. Use the id of a group as group_id — see Outcome groups. The endpoint is read only. Succeeded groups are created in the dashboard.

Query Parameters

string
required
The account to list groups for. Must belong to the organization your API credentials are scoped to.

Response

An array with the groups of the account, or an empty array if it has none. Each group contains:
integer
The value to send as group_id.
string
The group’s name, as shown in the dashboard and returned as group_name on routing outputs.
enum
Always SUCCEEDED_GROUP, the output status the group is used with.
string[]
The group’s members. Today the only success sub-status that can be grouped is PENDING_IN_REVIEW. See Transaction codes.

Errors

Authorizations

PUBLIC-API-KEY
string
header
default:<Your PUBLIC-API-KEY>
required
PRIVATE-SECRET-KEY
string
header
default:<Your PRIVATE-SECRET-KEY>
required

Query Parameters

account_id
string<uuid>
required

Account to list groups for. Must belong to the organization of your API credentials.

Response

The groups of the account, or an empty array if it has none.

id
integer

The value to send as group_id in a routing output.

Example:

430

name
string
Example:

"Pending review"

type
enum<string>

Always SUCCEEDED_GROUP, the output status the group is used with.

Available options:
SUCCEEDED_GROUP
succeeded_types
string[]

Members of the group. Today the only success sub-status that can be grouped is PENDING_IN_REVIEW.

Example: