Account-Level Controls
Set Account-Level Merchant Control
Changed onUse the Set Account-Level Merchant Control endpoint to create or modify an account-level merchant ID (MID) control. See <a href="doc:set-merchant-id-controls" target="_blank">Set Merchant ID Controls</a> for instructions on using this endpoint.
post/setAccountLevelMerchantControl
Request
- Base URLapi-{corename}.{env}.gpsrv.com/intserv/4.0/ (relative, and the document’s source URL is not known)
- URLapi-{corename}.{env}.gpsrv.com/intserv/4.0/setAccountLevelMerchantControl
- Authnone declared
Request body application/x-www-form-urlencoded
Example request
{
"accountNo": "344101254935",
"allowDeny": "d",
"apiLogin": "AbC123-9999",
"apiTransKey": "4sb62fh6w4h7w34g",
"endDate": "2024-03-10 23:59:59",
"merchantId": "000534LECR08003",
"startDate": "2024-03-03 00:00:00",
"transactionId": "123e4567-e89b-12d3-a456-426614174000"
}Response
Successful response
Changes
- breaking
the
request property's minLength was increased from0to1 - warning
the
request property's maxLength was set to60 - info
added the success response with the status
- breaking