1. Payments
Regional API GetNet
  • Authentication
    • Authentication Token
      POST
  • Payments
    • Create - Authorize
      POST
    • Adjustment
      PATCH
    • Capture
      POST
    • QRCode
      POST
    • Cancel
      POST
    • Create an Invoice/Boleto
      POST
    • Create PIX
      POST
    • 3DS - Init Authentication
      POST
    • 3DS - Banking Login Authentication Payload
      POST
    • 3DS - Validate authentication
      POST
  • Payment Record Management
    • Get Transaction
      GET
    • Get by Idempotent Key
      GET
  • Combined Payments
    • Authorize
      POST
    • Capture
      POST
    • Cancel
      POST
  • Crossborder
    • Get CrossBorder Quote
      POST
    • Validate customer
      POST
  • Installments
    • Get Installments
      POST
  • Cards
    • Generate Token
      POST
    • BIN Lookup
      GET
    • Get Cards By Customer Id
      GET
    • Store Card in Vault
      POST
    • Get Card by Id
      GET
    • Delete Card by Id
      DELETE
    • Card verification
      POST
  • Customers
    • Get Customers by Seller Id
    • Create Customer
    • Get Customer by Id
  • Recurrence Plans
    • Get Plans by Seller Id
    • Create Recurrence Plan
    • Get Plan by Id
    • Update Plan
    • Migrate Subscriptions
    • Update Plan status
  • Webhooks
    • Subscribe to a webhook event
    • Get a list of all subscriptions events
    • Subscribe to a webhook event
    • Get a list of all subscriptions events messages based on filters
    • Re-send a message
    • Get a list of all possible events to subscribe.
  • Subscriptions
    • Get Subscriptions
    • Create Subscription
    • Get Subscription by Id
    • Cancel Subscription
    • Projection of Charges
    • Confirm Payment for a Subscription
    • Update Payment Date
    • Update Payment Data
    • Get Changes of Subscription Installments
    • Set Changes of Subscription Installments
    • Delete Changes of Subscription Installments
    • Update Changes of Subscription Installments
    • Update fluctuation of Subscription Installment
    • Delete fluctuation of Subscriptions Installment
    • Migrate Subscription Plan
    • Get All Charges
  • 数据模型
    • payment
    • seller_id
    • request_id
    • payment_id
    • order_id
    • amount
    • currency
    • received_at
    • transaction_id
    • authorized_at
    • acquirer
    • soft_descriptor
    • brand
    • authorization_code
    • acquirer_transaction_id
    • eci
    • total_installment_amount
    • first_installment_amount
    • other_installment_amount
    • payment_method
    • status
    • idempotency_key
    • reason_code
    • reason_message
    • custom_key
    • customer_id
    • plan_id
    • md
    • tx_id
    • xid
    • status3DS
    • protocol
    • operation
    • cavv
    • ds_trans_id
    • redirect_html_template
    • acs_redirect_form
    • requestPayment
    • requestCapture
    • requestCancel
    • paymentAuthorizationResponse
    • Record Object
    • Request QRCode Data
    • Response QRCode Data
    • paymentCancelResponse
    • paymentCaptureResponse
    • paymentPurchaseResponse
    • cancelResult
    • protocol
    • registered_at
    • rel
    • notFound
    • badRequest
    • internalServerError
    • CreditCancel
    • DefaultErrorHttpResponse
    • ErrorDetail
    • OrderItemReleaseDTO
    • ReleaseDTO
    • AddressDTO
    • CardDTO
    • ServiceCodeDTO
    • CustomerDTOSubs
    • CustomerDTO
    • InternalDTO
    • OrderPaymentDTO
    • OrderDTO
    • InstallmentCuotesDTO
    • RecurringDTO
    • SubMerchantDTO
    • TokenizationDTO
    • ReceiverDTO
    • FundTransferDTO
    • WalletCreditDTO
    • CreditResponseDTO
    • DetailsResponseDTO
    • PaymentResponseDTO
    • BoletoDTO
    • DataDTO
    • DataAdjustmentDTO
    • DataBoletoDTO
    • PaymentDataDTO
    • TerminalPaymentDTO
    • PaymentDataAdjustmentDTO
    • PaymentBoletoDataDTO
    • BoletoDataDTO
    • CancelRequestDTO
    • MarketplaceSubsellerPayment
    • OrderItem
    • CancelDTO
    • CaptureResponseDTO
    • CancelResponseDTO
    • PaymentDTO
    • AdjustmentDTO
    • PaymentBoletoDTO
    • AutorizationResponseDTO
    • BolepixDTO
    • BoletoResponseDTO
    • LinkBoletoDTO
    • InstallmentQuotesRequestDTO
    • IncreaseRateDTO
    • InstallmentQuotesResponseDTO
    • CrossborderQuoteResponseDTO
    • PricesDTO
    • InterestRateDTO
    • InterestTaxRateDTO
    • OptionResponseDTO
    • Data
    • ConfirmRequestDTO
    • ConfirmResponseDTO
    • CreditConfirmDTO
    • CancelCustomKeyResponseDTO
    • TokensCardRequest
    • TokensCardResponse
    • CardDataResponse
    • ListCardDataResponse
    • SaveCardDataRequest
    • SaveCardDataResponse
    • VerificationCardRequest
    • VerificationCardResponse
    • CustomerResponse
    • ListCustomersResponse
    • Address
    • FloatingDataPlan
    • Period
    • PlanRequest
    • Plan
    • PlanData
    • TenantData
    • PlanDataWrapper
    • UpdatePlan
    • PlanPartialUpdateRequest
    • SubscriptionPlanMigration
    • FilteredResponse
    • SubscriptionResponse
    • Device
    • SubscriptionDetailResponse
    • PaymentResponse
    • PaymentTypeResponse
    • PlanResponse
    • CreditResponse
    • PeriodResponse
    • FloatingData
    • Tokenization
    • Wallet
    • CreditCardResponse
    • PaymentDataResponse
    • PaymentError
    • PaymentErrorDetail
    • Shipping
    • CreditCardCreation
    • CreditCreation
    • PaymentCreation
    • PaymentTypeCreation
    • SubscriptionCreation
    • SubscriptionDetailCreation
    • PaymentDate
    • SubscriptionCancel
    • FloatingDataProjection
    • Projection
    • AmountProjection
    • ConfirmPayment
    • ReplaceCreditCard
    • FloatingDataResponse
    • FloatingDataRemoveResponse
    • FloatingDataWithDetails
    • FloatingDataUpdate
    • PlanMigrationRequest
    • Order
    • Card
    • PaymentResponseCharge
    • PlanCharge
    • consultaBinResponse
    • results
    • split_data
    • rates
    • DeviceDTO
    • CustomerDTOAddData
    • BillingAddressDTO
    • ShippingsDTO
    • PixDTO
    • Payment
    • quote_id
    • CombinedPaymentDTO
    • CombinedDataDTO
    • CombinedPaymentDataDTO
    • CrossBorderDataDTO
    • CombinedResponseDTOCombinedAutorizationResponseDataDTO
    • CombinedAutorizationResponseDataDTO
    • CombinedOperationsRequestDTOCombinedCapturetDataDTO
    • CombinedCapturetDataDTO
    • CombinedResponseDTOCaptureResponseDTO
    • CombinedOperationsRequestDTOCombinedCancelDataDTO
    • CombinedCancelDataDTO
    • CombinedResponseDTOCancelResponseDTO
    • CombinedReleaseDTO
    • MgmReleaseSubSellerPaymentResponse
    • Errors
    • ValidationsDTO
    • EnrolmentsInitialDTO
    • PaymentMethod
    • ExtraFields
    • InitialResponseDTO
    • StatusTransaction
    • ValidationsResponseDTO
    • EnrolmentsContinueDTO
    • ContinueResponseDTO
    • Airlines
    • dccDTO
    • crossBorderDTO
    • ValidateCustomerDTO
    • ValidateCustomerResponseDTO
    • WebhookSubscription
    • WebhookSubscriptions
    • WebhookUserCredentials
    • WebhookOauth
    • WebhookNotification
    • WebhookNotificationsList
    • WebhookHttpConfig
    • WebhookEmailConfig
    • WebhookHttpMessage
    • WebhookEmailMessage
    • WebhookEventList
    • BadRequestError
    • InternalServerError
    • Error
    • WebhookResponseTransactions
    • WebhookCancelledTransactions
    • WebhookCapturedTransactions
    • WebhookCardUpdated
  1. Payments

3DS - Init Authentication

POST
/dpm/security-gwproxy/v2/enrolments-initial
Initiate 3DS Authentication

3D Secure (3DS) is an authentication protocol designed to enhance the security of online transactions by verifying the identity of cardholders before a payment is processed. This endpoint initiates the enrolment flow for 3DS authentication, beginning the authentication process for a payment transaction.

Usage Scenarios:
Adding an extra layer of security to card payments and reducing fraud risk.
Complying with Strong Customer Authentication (SCA) requirements for transactions in the European Economic Area (EEA).
Notes:
The authentication flow is dynamically determined by factors such as card brand, issuing bank, and risk assessment.
Your integration must handle all possible authentication scenarios returned by the API.

For detailed information about 3DS authentication, including how it works, available scenarios, and implementation guidance, see the 3DS Authentication documentation.

请求参数

Body 参数application/json必填

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/dpm/security-gwproxy/v2/enrolments-initial' \
--header 'Content-Type: application/json' \
--data '{
    "currency": "string",
    "md": "NmQyZTQzODAtZDhhMy00Y2NiLTkxMzgtYzI4OTE4MjgxOGE0",
    "term_url": "string",
    "amount": 0,
    "payment_method": {
        "number_token": "string",
        "security_code": "string",
        "expiration_month": "string",
        "expiration_year": "string"
    },
    "description": "string",
    "operation": "string",
    "extra_fields": {
        "billing_address": {
            "street": "Av. Brasil",
            "number": "1000",
            "complement": "Sala 1",
            "district": "São Geraldo",
            "city": "Porto Alegre",
            "state": "RS",
            "country": "BR",
            "postal_code": "90230060",
            "reference": "Near the hospital"
        },
        "shipping_address": {
            "street": "Av. Brasil",
            "number": "1000",
            "complement": "Sala 1",
            "district": "São Geraldo",
            "city": "Porto Alegre",
            "state": "RS",
            "country": "BR",
            "postal_code": "90230060",
            "reference": "Near the hospital"
        }
    }
}'

返回响应

🟢200
application/json
OK
Bodyapplication/json

示例
{
    "transaction_id": "string",
    "md": "NmQyZTQzODAtZDhhMy00Y2NiLTkxMzgtYzI4OTE4MjgxOGE0",
    "tx_id": 0,
    "xid": "VDdnR0kyU1g4ZXlxMkhWTlp0VnA=",
    "protocol": "3DS2.2.0",
    "status": "Authenticated",
    "operation": "CREDIT",
    "tds_method_content": "<html></html>",
    "redirect_html_template": "<html class=\"no-js\" lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n<meta charset=\"utf-8\">\n<title>3D Secure Processing</title>\n<link href=\"https://3ds2-mpi.test.modirum.com/mdpaympi/static/mpi.css\" rel=\"stylesheet\" type=\"text/css\">\n</head>\n<body>\n<div id=\"main\">\n<div id=\"content\">\n<div id=\"order\">\n<h2>3D Secure Processing</h2>\n<script src=\"https://3ds2-mpi.test.modirum.com/mdpaympi/static/red.js\" defer>/* needed for xsl to xhtml */</script>\n<div id=\"spinner\">\n<img src=\"https://3ds2-mpi.test.modirum.com/mdpaympi/static/preloader.gif\" alt=\"Please wait..\"></div>\n<img src=\"https://3ds2-mpi.test.modirum.com/mdpaympi/static/mc_idcheck_hrz_ltd_pos_103px.png\" alt=\"MasterCard ID Check\"><div id=\"formdiv\">\n<div>\n<form id=\"webform0\" name=\"red2ACSv1\" method=\"POST\" action=\"https://3ds-acs.test.modirum.com/mdpayacs/pareq\" accept_charset=\"UTF-8\">\n<input type=\"hidden\" name=\"PaReq\" value=\"eJxVUctuwjAQ/JWIe7GdBwK0WKJNpXIAUUop6s1ytiQiccB2Kvj72iEprU8zsw/vzsI214jpG8pGI4clGiMOGBTZbLDevE6ieMISNuCwnm/wzOEbtSlqxdmQDkMgPXV1WuZCWQ5Cnh8XKx63D0hHoUK9SDmjlAK5YVCiQp4+78IocmLLQNaNsvrK47Gr7Qk0uuS5tSczZaSspSjz2tiHL3HEoawrID4O5D7DuvHIuH6XIuO7NFMbery+s0P8uS8vy2P+sS1PdKfmMyA+AzJhkYc0ZCyk44DF0zCZshGQVgdR+UH4cr8K3N5u1k6Ak/9nfiPMB/4K4BzVqGS/TM8AL6daoctwBv5iyNBIHqVvAdsHWy2UEdI6a90MPgDkvtPTi3dZWu/nKB4lk2TMvNGt4rsXzrMwYbRt7wkQX0O6G5LuyA79O/4Pb++sPw==\"><input type=\"hidden\" name=\"MD\" value=\"eyJzZWxsZXJfaWQiOiIwNmYyNTZjOC0xYmJmLTQyYmYtOTNiNC1jZTIwNDFiZmI4N2EiLCJ0cmFuc2FjdGlvbl9pZCI6ImRjYjU4NzJlLWYxYjYtNDkyMi1hMGFlLWZiMGYyODg2MTM5YiIsImNvdW50cnkiOiJNWCIsInRlbmFudCI6InNhbnRhbmRlciJ9\"><input type=\"hidden\" name=\"TermUrl\" value=\"http://localhost:4000/api/modirum/token\"><input type=\"submit\" name=\"submitBtn\" value=\"Please click here to continue\">\n</form>\n</div>\n</div>\n<noscript>\n<div align=\"center\">\n<b>Javascript is turned off or not supported!</b>\n<br>\n</div>\n</noscript>\n</div>\n<div id=\"content-footer\"></div>\n</div>\n</div>\n</body>\n</html>\n",
    "acs_redirect_form": {
        "action_url": "https://test.getnet.com",
        "method": "POST",
        "creq": "ewogICAgImF",
        "threeDSSessionData": "NmQyZTQzODA"
    },
    "extra_fields": {
        "billing_address": {
            "street": "Av. Brasil",
            "number": "1000",
            "complement": "Sala 1",
            "district": "São Geraldo",
            "city": "Porto Alegre",
            "state": "RS",
            "country": "BR",
            "postal_code": "90230060",
            "reference": "Near the hospital"
        },
        "shipping_address": {
            "street": "Av. Brasil",
            "number": "1000",
            "complement": "Sala 1",
            "district": "São Geraldo",
            "city": "Porto Alegre",
            "state": "RS",
            "country": "BR",
            "postal_code": "90230060",
            "reference": "Near the hospital"
        }
    }
}
🟠400
🔴500
修改于 2026-04-01 08:05:47
上一页
Create PIX
下一页
3DS - Banking Login Authentication Payload
Built with