Routing
List Decline Groups
Lists the decline groups and Merchant Advice Code groups of an account, to reference by group_id from routing outputs.
GET
List Decline Groups
Lists the decline groups saved on an account: the groups of decline sub-statuses you reference with
status: "DECLINE_GROUP" and the groups of Merchant Advice Codes you reference with status: "MAC_CODE_GROUP". Use the id of a group as group_id in a routing output — see Outcome groups.
The endpoint is read only. Groups are created in the dashboard, or automatically when a DECLINE_GROUP output is saved with decline_types and no group_id (those are named auto_…).
Query Parameters
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:The group’s kind, as the output
status it matches by: DECLINE_GROUP for a group of decline sub-statuses, MAC_CODE_GROUP for a group of Merchant Advice Codes. A Merchant Advice Code group can also be referenced from a DECLINE_GROUP output, which matches differently; see Outcome groups.The group’s members, in the same vocabulary routing outputs use: decline sub-statuses such as
DECLINED_BY_BANK for DECLINE_GROUP, normalized Merchant Advice Codes such as NO_RETRY_POLICY for MAC_CODE_GROUP. See Transaction codes.Errors
Authorizations
Query Parameters
Response
The groups of the account, or an empty array if it has none.