# CreateTransactionRiskContextInput

Input · GraphQL API

Top-level input fields for creating a transaction risk context.

## Fields

- `clientMutationId` (`String`): An identifier used to reconcile requests and responses. 255 characters maximum.
- `paypalRiskCorrelationId` (`ID`): PayPal Risk correlation ID (also known as the Client Metadata ID). If this is not passed, one is generated downstream and is returned in the response.
- `riskContext` (`PayPalTransactionRiskContextInput!`) — required: Input fields setting the transaction context for risk assessment purposes.

## Used by

- [createTransactionRiskContext](/braintree/graphql/reference/mutations/create-transaction-risk-context) — Mutation; input

## GraphQL definition

```graphql
input CreateTransactionRiskContextInput {
  clientMutationId: String
  paypalRiskCorrelationId: ID
  riskContext: PayPalTransactionRiskContextInput!
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)