# CreateVenmoPaymentContextInput

Input · GraphQL API

Fields that are provided when creating a Venmo context.

## Fields

- `clientMutationId` (`String`): An identifier used to reconcile requests and responses. 255 characters maximum.
- `intent` (`VenmoIntent!`) — required: Complete the transaction from merchant site or Venmo App.
- `paymentMethodUsage` (`PaymentMethodUsage!`) — required: Whether the resulting payment method may be used to make a one time payment (`SINGLE_USE`) or to create a vaulted multi-use payment token (`MULTI_USE`).
- `customerClient` (`CustomerClient!`) — required: Client the customer used to initiate the transaction.
- `merchantProfileId` (`ID`): An identifier representing the profile of the merchant used to initiate the transaction.
- `displayName` (`String`): The sub-merchant display name shown on the Venmo app consent screen. This field will only be present for PayFast channel partner merchants.
- `paysheetDetails` (`VenmoPaysheetDetailsInput`): Details about the information to be displayed on the Venmo Paysheet.
- `isFinalAmount` (`Boolean`): Indicates whether the purchase amount is the final amount.
- `returnUrl` (`URL`): URL for redirecting back to merchant app or website on the client.
- `venmoRiskCorrelationId` (`ID`): Venmo Risk correlation ID (also known as the Client Metadata ID).
- `appSwitchContext` (`VenmoAppSwitchContextInput`): Venmo app switch context information.

## Used by

- [createVenmoPaymentContext](/braintree/graphql/reference/mutations/create-venmo-payment-context) — Mutation; input

## GraphQL definition

```graphql
input CreateVenmoPaymentContextInput {
  clientMutationId: String
  intent: VenmoIntent!
  paymentMethodUsage: PaymentMethodUsage!
  customerClient: CustomerClient!
  merchantProfileId: ID
  displayName: String
  paysheetDetails: VenmoPaysheetDetailsInput
  isFinalAmount: Boolean
  returnUrl: URL
  venmoRiskCorrelationId: ID
  appSwitchContext: VenmoAppSwitchContextInput
}
```

---

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