Skip to main content
POST
C#
This endpoint requires the three-ds-scenarios.write scope.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gr4vy-merchant-account-id
string

The ID of the merchant account to use for this request.

Example:

"default"

Body

application/json
conditions
ThreeDSecureScenarioConditions · object
required

Conditions for the scenario.

Example:
outcome
ThreeDSecureScenarioOutcome · object
required

Outcome for the scenario.

Examples:

Response

Successful Response

id
string<uuid>
required

Unique identifier for the 3DS scenario

Example:

"550e8400-e29b-41d4-a716-446655440000"

merchant_account_id
string
required

ID of the associated merchant account

Example:

"merchant-account-12345"

created_at
string<date-time>
required

The date and time when this 3DS scenario was first created in our system.

Example:

"2013-07-16T19:23:00.000+00:00"

updated_at
string<date-time>
required

The date and time when this 3DS scenario was last updated in our system.

Example:

"2013-07-16T19:23:00.000+00:00"

conditions
ThreeDSecureScenarioConditions · object
required

Conditions for the scenario.

Example:
outcome
ThreeDSecureScenarioOutcome · object
required

Outcome for the scenario.

Examples:
type
string
default:three-d-secure-scenario

Always three-d-secure-scenario.

Allowed value: "three-d-secure-scenario"
Example:

"three-d-secure-scenario"