← Back to Page domain

Page.setSPCTransactionMode

Sets the Secure Payment Confirmation transaction mode. https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode

Domain: Page experimental

Parameters

NameTypeDescription
modestring

Example Request

{
  "id": 1,
  "method": "Page.setSPCTransactionMode",
  "params": {
    "mode": "mode-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Page.setSPCTransactionMode', {"mode": "mode-value"});
console.log(result);