# UpdatePayPalOneTimePaymentInput

Input · GraphQL API

Input fields for updating a PayPal one-time payment.

## Fields

- `clientMutationId` (`String`): An identifier used to reconcile requests and responses. 255 characters maximum.
- `paymentMethodId` (`ID!`) — required: The payment method ID of the PayPal payment to update.
- `amount` (`MonetaryAmountInput`): Total amount for the payment.
- `amountBreakdown` (`PayPalAmountBreakDownInput`): The amount breakdown for this transaction.
- `lineItems` (`[PayPalLineItemInput!]`): The line items for this payment.
- `shippingOptions` (`[PayPalShippingOptionInput!]`): List of shipping options offered by the payee or merchant to the payer to ship or pick up their items.
- `shippingAddress` (`AddressInput`): Shipping address.
- `customField` (`String`): Custom field for merchant tracking.
- `description` (`String`): Description shown in PayPal emails.
- `orderId` (`String`): The PayPal invoice number. It must be unique in your PayPal business account and can contain a maximum of 127 characters. If specified, transactions created from the resulting payment method will have this orderId.
- `payeeEmail` (`EmailAddress`): Email address of the payee.

## Used by

- [updatePayPalOneTimePayment](/braintree/graphql/reference/mutations/update-pay-pal-one-time-payment) — Mutation; input

## GraphQL definition

```graphql
input UpdatePayPalOneTimePaymentInput {
  clientMutationId: String
  paymentMethodId: ID!
  amount: MonetaryAmountInput
  amountBreakdown: PayPalAmountBreakDownInput
  lineItems: [PayPalLineItemInput!]
  shippingOptions: [PayPalShippingOptionInput!]
  shippingAddress: AddressInput
  customField: String
  description: String
  orderId: String
  payeeEmail: EmailAddress
}
```

---

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