# PaymentMethodOrigin

Object · GraphQL API

Information about how the customer provided a payment method, such as via a digital wallet.

## Fields

- `type` (`PaymentMethodOriginType`): An enum identifying the origin of the payment method.
- `details` (`PaymentMethodOriginDetails`): When available, additional details specific to the origin.

## Used by

- [CreditCardDetails](/braintree/graphql/reference/types/credit-card-details) — Object; origin
- [LocalPaymentDetails](/braintree/graphql/reference/types/local-payment-details) — Object; origin
- [PayPalAccountDetails](/braintree/graphql/reference/types/pay-pal-account-details) — Object; origin
- [PayPalTransactionDetails](/braintree/graphql/reference/types/pay-pal-transaction-details) — Object; origin

## GraphQL definition

```graphql
type PaymentMethodOrigin {
  type: PaymentMethodOriginType
  details: PaymentMethodOriginDetails
}
```

---

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