flows.read scope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The flow name. This can be one of the following.
checkout- Applies during checkout to determine what payment options are shown.card-transaction- Applies when processing a card transaction.non-card-transaction- Applies when processing a gift card only transaction, or a redirect transaction using thedecline-earlyaction.redirect-transaction- Applies when processing any other transaction.
checkout, card-transaction, non-card-transaction, redirect-transaction "checkout"
The flow action.
select-payment-options, decline-early, route-transaction, skip-3ds "select-payment-options"
The unique ID for a rule.
"8724fd24-5489-4a5d-90fd-0604df7d3b83"
Response
Returns the flow rule.
The type of this resource. Is always rule.
rule "rule"
The unique Gr4vy ID for this rule.
"fe26475d-ec3e-4884-9553-f7356683f7f9"
The unique ID for a merchant account.
"default"
Description of the flow rule.
1 - 200"example rule."
The name of the Flow.
checkout, card-transaction, non-card-transaction, redirect-transaction "checkout"
Action for the given rule. Actions can only be used in flows that support them.
- The
checkoutflow only supports theselect-payment-optionsaction. - The
card-transactionsupports theroute-transaction,skip-3ds, anddecline-earlyactions. - The
non-card-transactionflow only supports thedecline-earlyaction. - The
redirect-transactionflow only supports theroute-transactionaction.
select-payment-options, decline-early, route-transaction, skip-3ds "select-payment-options"
One or more conditions that apply for this rule. Each condition needs to match for this rule to go into effect.
- Flow amount condition
- Flow amount range condition
- Flow zero amount condition
- Flow anti-fraud decision condition
- Flow BIN range condition
- Flow browser language condition
- Flow card country condition
- Flow card issuer name condition
- Flow card product name condition
- Flow card scheme condition
- Flow card source condition
- Flow card type condition
- Flow country condition
- Flow currency condition
- Flow is subsequent payment condition
- Flow metadata condition
- Flow metadata numeric condition
- Flow merchant initiated condition
- Flow payment method condition
- Flow payment methods condition
- Flow payment source condition
- Flow product categories condition
- Flow product types condition
- Flow SKUs condition
- Flow split routing condition
Defines the outcome of a rule in a flow where the result is a list of dictionaries that define the payment service, instrument and transformation to be used to process a transaction.
- Payment service outcome
- Payment method outcome
- Boolean outcome
- UUIDs list outcome
- 3DS outcome
The position of the rule in the flow.
2
The date and time when this buyer was created in our system.
"2013-07-16T19:23:00.000+00:00"
The date and time when this buyer was last updated in our system.
"2013-07-16T19:23:00.000+00:00"
A custom error code returned when this rule is triggered. This only applies
to "decline-early" rule actions. The value must have a flow_ prefix.
1 - 255"flow_error_code"