# CustomActionsPaymentContextField

Object · GraphQL API

Fields returned by the createPaymentContext custom actions event handler.

## Fields

- `name` (`String!`) — non-null: An alphanumeric string used as a key to lookup a CustomField value (255 characters maximum).
- `value` (`String!`) — non-null: An alphanumeric string used to store a CustomField value (7168 characters maximum).

## Used by

- [CustomActionsPaymentContext](/braintree/graphql/reference/types/custom-actions-payment-context) — Object; customFields

## GraphQL definition

```graphql
type CustomActionsPaymentContextField {
  name: String!
  value: String!
}
```

---

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