# TransactionSettlementProcessorResponse

Object · GraphQL API

Detailed response information from the processor when attempting to settle a transaction.

## Fields

- `legacyCode` (`String`): A code based on the response from the processor, indicating the result of attempting to settle this transaction. See the [list of possible processor response codes for settlement](https://developers.braintreepayments.com/reference/general/processor-responses/settlement-responses).
- `message` (`String`): The text explanation of the processor response legacyCode.
- `cvvResponse` (`AvsCvvResponseCode`) — deprecated since 2019-11-15: The processing bank's response to the provided CVV.
- `avsPostalCodeResponse` (`AvsCvvResponseCode`) — deprecated since 2019-11-15: The processing bank's response to the provided billing postal or zip code.
- `avsStreetAddressResponse` (`AvsCvvResponseCode`) — deprecated since 2019-11-15: The processing bank's response to the provided billing street address.
- `achReturnCode` (`String`): The ACH return code, if applicable.
- `achRejectReason` (`String`): The ACH reject reason, if applicable.

## Used by

- [SettledEvent](/braintree/graphql/reference/types/settled-event) — Object; processorResponse
- [SettlementConfirmedEvent](/braintree/graphql/reference/types/settlement-confirmed-event) — Object; processorResponse
- [SettlementDeclinedEvent](/braintree/graphql/reference/types/settlement-declined-event) — Object; processorResponse
- [SettlementPendingEvent](/braintree/graphql/reference/types/settlement-pending-event) — Object; processorResponse
- [Transaction](/braintree/graphql/reference/types/transaction) — Object; processorSettlementResponse

## GraphQL definition

```graphql
type TransactionSettlementProcessorResponse {
  legacyCode: String
  message: String
  cvvResponse: AvsCvvResponseCode @deprecated(reason: "AVS and CVV checks do not take place when capturing a transaction, only when authorizing. Use the `processorResponse` on an authorization-related `PaymentStatusEvent` instead.")
  avsPostalCodeResponse: AvsCvvResponseCode @deprecated(reason: "AVS and CVV checks do not take place when capturing a transaction, only when authorizing. Use the `processorResponse` on an authorization-related `PaymentStatusEvent` instead.")
  avsStreetAddressResponse: AvsCvvResponseCode @deprecated(reason: "AVS and CVV checks do not take place when capturing a transaction, only when authorizing. Use the `processorResponse` on an authorization-related `PaymentStatusEvent` instead.")
  achReturnCode: String
  achRejectReason: String
}
```

---

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