# MerchantAdviceCodeResponse

Object · GraphQL API

The Merchant Advice Code response, this field can provide to merchants the reason for declining a recurring payment transaction, and the actions merchants can take to continue to serve their recurring payment customers.

## Fields

- `code` (`String`): The merchant advice code, see the [list of possible merchant advice codes](https://developer.paypal.com/braintree/docs/reference/general/merchant-responses/merchant-advice-codes).
- `message` (`String`): The merchant advice code text.

## Used by

- [FailedEvent](/braintree/graphql/reference/types/failed-event) — Object; merchantAdviceCodeResponse
- [GatewayRejectedEvent](/braintree/graphql/reference/types/gateway-rejected-event) — Object; merchantAdviceCodeResponse
- [ProcessorDeclinedEvent](/braintree/graphql/reference/types/processor-declined-event) — Object; merchantAdviceCodeResponse

## GraphQL definition

```graphql
type MerchantAdviceCodeResponse {
  code: String
  message: String
}
```

---

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