# TransactionAuthorizationProcessorResponse

Object · GraphQL API

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

## Fields

- `legacyCode` (`String`): A code based on the response from the processor, indicating the result of attempting to authorize this transaction. See the [list of possible processor response codes for authorization](https://developers.braintreepayments.com/reference/general/processor-responses/authorization-responses).
- `message` (`String`): The text explanation of the processor response legacyCode.
- `cvvResponse` (`AvsCvvResponseCode`): The processing bank's response to the provided CVV.
- `avsPostalCodeResponse` (`AvsCvvResponseCode`): The processing bank's response to the provided billing postal or zip code.
- `avsStreetAddressResponse` (`AvsCvvResponseCode`): The processing bank's response to the provided billing street address.
- `authorizationId` (`String`): The processor's unique ID or "code" for the authorization.
- `additionalInformation` (`String`): If present, any additional information recieved from the processor. May provide further insight into the `legacyCode`.
- `retrievalReferenceNumber` (`String`): The processor's reference number for the authorization.
- `emvData` (`String`): Response EMV data provided by the processor if this was an EMV transaction.
- `mastercardTransactionLinkId` (`String`): The Mastercard transaction link identifier is used for linking related subsequent transactions. This field is applicable only to transactions processed through Mastercard.

## Used by

- [AuthorizedEvent](/braintree/graphql/reference/types/authorized-event) — Object; processorResponse
- [FailedEvent](/braintree/graphql/reference/types/failed-event) — Object; processorResponse
- [GatewayRejectedEvent](/braintree/graphql/reference/types/gateway-rejected-event) — Object; processorResponse
- [ProcessorDeclinedEvent](/braintree/graphql/reference/types/processor-declined-event) — Object; processorResponse
- [Refund](/braintree/graphql/reference/types/refund) — Object; processorAuthorizationResponse, processorResponse
- [Transaction](/braintree/graphql/reference/types/transaction) — Object; processorAuthorizationResponse, processorResponse

## GraphQL definition

```graphql
type TransactionAuthorizationProcessorResponse {
  legacyCode: String
  message: String
  cvvResponse: AvsCvvResponseCode
  avsPostalCodeResponse: AvsCvvResponseCode
  avsStreetAddressResponse: AvsCvvResponseCode
  authorizationId: String
  additionalInformation: String
  retrievalReferenceNumber: String
  emvData: String
  mastercardTransactionLinkId: String
}
```

---

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