- [JSON representation](https://developers.google.com/pay/redirect-payment-token-v1/payment-integrator-redirect-payment-token-api/CustomerPaymentHistorySignal#SCHEMA_REPRESENTATION)

Carries signals about a customer's payment history, which can be used by payment integrators to inform risk decisions. This signal is computed on a best-effort basis.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "positivePaymentHistory": { object (`https://developers.google.com/pay/redirect-payment-token-v1/payment-integrator-redirect-payment-token-api/getGeneratePaymentTokenRedirectStatus#Empty`) }, "noPaymentHistory": { object (`https://developers.google.com/pay/redirect-payment-token-v1/payment-integrator-redirect-payment-token-api/getGeneratePaymentTokenRedirectStatus#Empty`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| **REQUIRED**: Details about the customer's payment history. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `positivePaymentHistory` | ``object (`https://developers.google.com/pay/redirect-payment-token-v1/payment-integrator-redirect-payment-token-api/getGeneratePaymentTokenRedirectStatus#Empty`)`` Indicates the user has transacted with Google previously and has a positive payment history. |
| `noPaymentHistory` | ``object (`https://developers.google.com/pay/redirect-payment-token-v1/payment-integrator-redirect-payment-token-api/getGeneratePaymentTokenRedirectStatus#Empty`)`` Indicates the user has not transacted with Google previously. |
| End of mutually exclusive fields. ||