Skip to main content
PATCH
/
v1
/
provider
/
merchant
/
trust
Update Merchant Trust
curl --request PATCH \
  --url https://api.peere.network/v1/provider/merchant/trust \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entityId": "<string>",
  "trusted": true,
  "trustLevel": "basic",
  "deviceLookupEnabled": true
}
'
{
  "statusCode": 200,
  "success": true,
  "message": "Merchant trust updated successfully",
  "data": {
    "trusted": true,
    "trustLevel": "<string>",
    "deviceLookupEnabled": true
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
entityId
string
required
trusted
boolean
trustLevel
enum<string>
Available options:
basic,
enhanced,
premium
deviceLookupEnabled
boolean

Response

Merchant trust updated successfully

statusCode
integer
Example:

200

success
boolean
Example:

true

message
string
Example:

"Merchant trust updated successfully"

data
object