put https://yourorgsite.com/api/GatewayAccount/
Updates an instance of GatewayAccount by id
Log in to see full request history
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
Loading…
Response
200The request was successful.
Updates an instance of GatewayAccount by id
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
200The request was successful.
xxxxxxxxxx
17const options = {
method: 'PUT',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Commerce.DataContracts.GatewayAccountData, Asi.Contracts',
BankAllowsVoidsFlag: false,
IsAuthCaptureEnabled: false,
UpdateInformation: {$type: 'Asi.Soa.Core.DataContracts.EntityUpdateInformationData, Asi.Contracts'},
UseAvsFlag: false,
UseCscFlag: false
})
};
fetch('https://yourorgsite.com/api/GatewayAccount/AccountId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Try It!
to start a request and see the response here!