Entity Terms

postEntityTerms

POST
/entityTerms

Create an entityTerms.

Authorization

APIKEY<token>

In: header

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

entity?string

The identifier of the entity that the terms are associated with.

type?string

The type of entity that has accepted the terms.

version?string

The version of the terms that the entity has accepted.

versionId?string

The identifier of the version of the terms that the entity has accepted.

ip?string

The IP address of the entity that accepted the terms.

dateAccepted?string

The date and time when the entity accepted the terms. The date is specified as an eight digit string in YYYY-MM-DD hh:mm:ss format, for example, '2023-06-01 01:00:00' for June 01, 2023. 1:00 am.

Match^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}
inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1

Response Body

application/json

application/json

curl -X POST "https://example.com/entityTerms" \  -H "Content-Type: application/json" \  -d '{    "entity": "t1_ett_6866623edadbe8685525ae1",    "type": "Payrix Submerchant Agreement",    "version": "1.0",    "versionId": "",    "ip": "35.153.101.155",    "dateAccepted": "2025-07-03 06:58:06",    "inactive": 0,    "frozen": 0  }'
{  "response": {    "data": [      {        "id": "t1_ett_6866623edadbe8685525ae1",        "created": "2025-07-03 06:58:06.9131",        "creator": "g1577139c2304b7",        "modified": "2025-07-03 06:58:06.9131",        "modifier": "g1577139c2304b7",        "entity": "t1_ent_6866623b54057c4c7590600",        "type": "Payrix Submerchant Agreement",        "version": "1.0",        "versionId": "",        "ip": "35.153.101.155",        "dateAccepted": "2025-07-03 06:58:06",        "inactive": 0,        "frozen": 0      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}