Stop Antifraud Analysis (optional)

Stop antifraud analysis.

Implement this API if you want to be notified if the order was canceled either by the store or the buyer before complete the Antifraud analysis.

The parameter in the URL transactions.id is VTEX transaction ID that was passed in the body of send antifraud data api : id


REQUEST EXAMPLES AND THEIR RESPONSES


curl --location --request GET '{{protocol}}://{{accountName}}.{{domain}}/api/pub/antifraud-provider/payment-methods' \
--header 'Content-Type: application/json' \
--data-raw '{
  "reference": "v32478982vtx-01",
  "transactionId": "D3AA1FC8372E430E8236649DB5EBD08E",
  "paymentId": "F5C1A4E20D3B4E07B7E871F5B5BC9F91",
  "paymentMethod": "Visa",
  "merchantName":  "mystore",
  "card": {
    "number": "507860187000012798",
    "holder": "John Doe",
    "expiration": {
      "month": "06",
      "year": "2025"
    },
    "csc": "021"
  },
  "value": 32,
  "installments": 3,
  "deviceFingerprint": "12ade389087fe",
  "miniCart": {
    "buyer": {
      "id": "c1245228-1c68-11e6-94ac-0afa86a846a5",
      "firstName": "John",
      "lastName": "Doe",
      "document": "012.345.678-90",
      "documentType": "CPF",
      "email": "[email protected]",
      "phone": "+55 (21) 98765-4321"
    },
    "shippingAddress": {
      "country": "BRA",
      "street": "Rua Praia de Botafogo",
      "number": "518",
      "complement": "2o. andar",
      "neighborhood": "Botafogo",
      "postalCode": "22250-040",
      "city": "Rio de Janeiro",
      "state": "RJ"
    },
    "billingAddress": {
      "country": "BRA",
      "street": "Rua Praia de Botafogo",
      "number": "518",
      "complement": "2o. andar",
      "neighborhood": "Botafogo",
      "postalCode": "22250-040",
      "city": "Rio de Janeiro",
      "state": "RJ"
    },
    "items": [
      {
        "id": "132981",
        "name": "Some useful product",
        "price": 2134.90,
        "quantity": 2,
        "discount": 5.00
      },
      {
        "id": "123242",
        "name": "Some useless product",
        "price": 21.98,
        "quantity": 1,
        "discount": 1.00
      }
    ],
    "shippingValue": 11.44,
    "taxValue": 10.01
  },
  "url": "https://mystore.ecommerce.com/orders/direct/link/v32478982",
  "callbackUrl": "https://requestb.in/19ee59c1",
  "returnUrl": "https://mystore.ecommerce.com/orders/direct/link/v32478982"
}'
[
  {
    "name": "CreditCard"
  },
  {
    "name": "DebitCard"
  },
  {
    "name": "GiftCard"
  },
  {
    "name": "BankIssueInvoice"
  },
  {
    "name": "Voucher"
  },
  {
    "name": "Promissory"
  }
]
Language
Authentication
URL
Click Try It! to start a request and see the response here!