# paypalBillingAgreementDetails

Query · GraphQL API

Returns the details of the billing agreement.

## Authentication

- CLIENT
- SERVER

## Input

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

## Returns [PayPalBillingAgreementDetailsPayload](/braintree/graphql/reference/types/pay-pal-billing-agreement-details-payload)

The details of the billing agreement.

### Returned fields

- `billingAgreementToken` (`ID`): The Billing Agreement token.
- `status` (`PayPalBillingAgreementStatus`): The status of the billing agreement.
- `experienceStatus` (`PayPalBillingAgreementExperienceStatus`): The current status of the PayPal checkout process during approval.
- `customFields` (`[PayPalCustomField!]`): Custom fields related to a PayPal Billing Agreement (twenty [20] items maximum).

## Examples

### Paypal billing agreement details

Input fields for getting the billing agreement details.

```graphql
query paypalBillingAgreementDetails($input: PayPalBillingAgreementDetailsInput!) {
  paypalBillingAgreementDetails(input: $input) {
    billingAgreementToken
    status
    experienceStatus
    customFields {
      name
      value
    }
  }
}
```

---

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