Create a 3DS scenario
Create a new 3DS scenario for a merchant account. Only available in sandbox environments.
This endpoint requires theDocumentation Index
Fetch the complete documentation index at: https://docs.gr4vy.com/llms.txt
Use this file to discover all available pages before exploring further.
three-ds-scenarios.write scope.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The ID of the merchant account to use for this request.
"default"
Body
Conditions for the scenario.
{
"amount": 100,
"card_number": "4242424242424242",
"email_address": "john@example.com",
"external_identifier": "buyer-12345",
"first_name": "John",
"last_name": "Luhn"
}
Outcome for the scenario.
{
"authentication": { "transaction_status": "C" },
"result": { "transaction_status": "Y" },
"version": "2.3.1"
}
{
"authentication": { "transaction_status": "N" },
"version": "2.3.1"
}
Response
Successful Response
Unique identifier for the 3DS scenario
"550e8400-e29b-41d4-a716-446655440000"
ID of the associated merchant account
"merchant-account-12345"
The date and time when this 3DS scenario was first created in our system.
"2013-07-16T19:23:00.000+00:00"
The date and time when this 3DS scenario was last updated in our system.
"2013-07-16T19:23:00.000+00:00"
Conditions for the scenario.
{
"amount": 100,
"card_number": "4242424242424242",
"email_address": "john@example.com",
"external_identifier": "buyer-12345",
"first_name": "John",
"last_name": "Luhn"
}
Outcome for the scenario.
{
"authentication": { "transaction_status": "C" },
"result": { "transaction_status": "Y" },
"version": "2.3.1"
}
{
"authentication": { "transaction_status": "N" },
"version": "2.3.1"
}
Always three-d-secure-scenario.
"three-d-secure-scenario""three-d-secure-scenario"