---
updatedAt: 2026-02-06T00:24:43.000Z
agentTools:
  projectIndex: https://developer.greendot.com/embedded-finance/llms.txt
---

# Update Account Terms Acceptances

This endpoint can be used to assign account identifiers to customer accounts or to opt in or out of any terms or agreements that were agreed to or declined during enrollment

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "BaaS APIs",
    "description": "Green Dot BaaS Partner API",
    "version": "v1",
    "x-generated-timestamp-utc": "2026-02-05T01:14:54.4774970Z"
  },
  "paths": {
    "/programs/{programCode}/accounts/{accountIdentifier}": {
      "put": {
        "tags": [
          "Account"
        ],
        "summary": "Update Account Terms Acceptances",
        "description": "This endpoint can be used to assign account identifiers to customer accounts or to opt in or out of any terms or agreements that were agreed to or declined during enrollment",
        "operationId": "Account_PUT_UpdateAccount",
        "parameters": [
          {
            "name": "X-GD-RequestId",
            "in": "header",
            "description": "Unique request tracking identifier (X-GD-RequestId header).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "programCode",
            "in": "path",
            "description": "Partner program code for the account.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "accountIdentifier",
            "in": "path",
            "description": "Unique account identifier (UID or GUID).",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Encrypted request to update terms acceptances. See Gd.Bos.DataTransfer.Request.UpdateTermsAcceptancesEncryptedRequest for required fields.",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTermsAcceptancesEncryptedRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTermsAcceptancesEncryptedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTermsAcceptancesEncryptedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTermsAcceptancesEncryptedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTermsAcceptancesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTermsAcceptancesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTermsAcceptancesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTermsAcceptancesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTermsAcceptancesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTermsAcceptancesResponse"
                }
              }
            }
          },
          "503": {
            "description": "Service Unavailable",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTermsAcceptancesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTermsAcceptancesResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "EncryptedData": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string",
            "description": "The version of the encryption algorithm used to encrypt the data (e.g., \"v1\", \"v2\").",
            "nullable": true
          },
          "ephemeralPublicKey": {
            "type": "string",
            "description": "The ephemeral public key used in the encryption process, typically for key exchange or session establishment.",
            "nullable": true
          },
          "publicKeyHash": {
            "type": "string",
            "description": "The hash of the public key used to verify the integrity and authenticity of the encryption key.",
            "nullable": true
          },
          "data": {
            "type": "string",
            "description": "The encrypted data payload, typically base64-encoded, containing the sensitive information.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a container for encrypted data used in secure data transfer operations.\r\nContains the encrypted payload and associated cryptographic metadata, including encryption version, ephemeral public key, and public key hash.\r\nUsed to securely transmit sensitive information such as user data, ensuring confidentiality and integrity during transport."
      },
      "ResponseDetail": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "The primary status or error code for the response (e.g., 200 for success, 400 for validation error).",
            "format": "int32"
          },
          "subCode": {
            "type": "integer",
            "description": "An optional subcode providing more granular detail about the response or error.",
            "format": "int32",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "A human-readable description of the response, error, or status.",
            "nullable": true
          },
          "url": {
            "type": "string",
            "description": "A URL linking to documentation or a web page with more information about the response code.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a detailed status or error message for an API response.\r\nContains a code, optional subcode, human-readable description, and a URL for more information.\r\nUsed to provide granular feedback about the outcome of an operation, including success, warnings, or errors."
      },
      "TermsAcceptance": {
        "type": "object",
        "properties": {
          "termsIdentifier": {
            "type": "string",
            "description": "The unique identifier for the terms and conditions that were presented to the user.",
            "nullable": true
          },
          "termsAcceptanceDateTime": {
            "type": "string",
            "description": "The date and time when the user accepted the terms, typically in ISO 8601 format (e.g., \"2023-07-01T12:34:56Z\").",
            "nullable": true
          },
          "termsAcceptanceFlag": {
            "type": "boolean",
            "description": "Indicates whether the user accepted the terms (true) or declined (false).",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a record of a user's acceptance of specific terms and conditions.\r\nContains the identifier of the terms, the date and time of acceptance, and a flag indicating whether the terms were accepted.\r\nUsed to track user consent for legal, compliance, or business requirements during onboarding or other operations."
      },
      "UpdateTermsAcceptancesEncryptedRequest": {
        "type": "object",
        "properties": {
          "encryptedEmail": {
            "$ref": "#/components/schemas/EncryptedData"
          },
          "termsAcceptances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TermsAcceptance"
            },
            "description": "The list of terms acceptances to be updated for the account.\r\nEach item represents a specific terms and conditions acceptance record.",
            "nullable": true
          },
          "partnerAccountIdentifier": {
            "type": "string",
            "description": "Optional. The partner's account identifier, if applicable.\r\nUsed for cross-referencing with partner systems.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a request to update terms acceptances using encrypted email data.\r\nInherits all properties from Gd.Bos.DataTransfer.Request.UpdateTermsAcceptancesRequest."
      },
      "UpdateTermsAcceptancesResponse": {
        "type": "object",
        "properties": {
          "responseDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponseDetail"
            },
            "description": "Required: A list of response details providing status codes, descriptions, and additional information about the result of the operation.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for an update to terms acceptances."
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "bearer token",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": false,
    "samples-languages": [
      "csharp",
      "java",
      "python",
      "node",
      "objectivec"
    ]
  }
}
```