# createNonInstantLocalPaymentContext

Mutation · GraphQL API

Creates a non-instant local payment context. Your account must be enabled to use this feature.

## Authentication

- SERVER

## Input

- `input` (`CreateNonInstantLocalPaymentContextInput!`) — required

## Returns [CreateNonInstantLocalPaymentContextPayload](/braintree/graphql/reference/types/create-non-instant-local-payment-context-payload)

The result of a request to make a non-instant local payment context.

### Returned fields

- `clientMutationId` (`String`): An identifier used to reconcile requests and responses. 255 characters maximum.
- `paymentContext` (`LocalPaymentContext`): Details about the local payment context.

## Examples

### Create non instant local payment context

Top-level input fields for creating a non-instant local payment context.

```graphql
mutation createNonInstantLocalPaymentContext($input: CreateNonInstantLocalPaymentContextInput!) {
  createNonInstantLocalPaymentContext(input: $input) {
    clientMutationId
    paymentContext {
      __typename
      id
      legacyId
      type
      approvalUrl
      amount {
        value
        currencyCode
      }
      merchantAccountId
      transactedAt
      approvedAt
      createdAt
      updatedAt
      expiredAt
      paymentId
      orderId
    }
  }
}
```

---

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