Terms of Service

Accept Terms of Service

Updates an existing ToS acceptance record with the agreement acceptance fields and acceptance timestamp. This is the second step in the two-step process: you must first call initiate to get an ID, then call this endpoint with that ID when the user accepts the agreements. This endpoint captures IP address and user agent for audit purposes.

post/v1/tos/{id}/accept

Path parameters

idstring required

ToS acceptance ID

Request body

infiniteAgreementsAcceptedboolean required

Whether the Infinite agreements were accepted

ereborAgreementsAcceptedboolean

Whether the Erebor agreements were accepted

oneMoneyAgreementsAcceptedboolean

Whether the 1Money agreements were accepted

customerIdstring

Customer ID (if known)

Example request

{
  "infiniteAgreementsAccepted": true,
  "ereborAgreementsAccepted": true,
  "oneMoneyAgreementsAccepted": true,
  "customerId": "cus_abc123"
}

Response

ToS accepted successfully

successboolean required

Whether the acceptance was successful

messagestring required

Message describing the result

acceptanceIdstring

ToS acceptance record ID

Example response

{
  "success": true,
  "message": "Terms of Service accepted successfully",
  "acceptanceId": "tos_abc123"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.