Orderpayments: notifyauthdeclined

Notify about failure to authorize user's payment method. Try it now.

Request

HTTP request

POST https://www.googleapis.com/content/v2/merchantId/orderpayments/orderId/notifyAuthDeclined

Parameters

Parameter name Value Description
Path parameters
merchantId unsigned long The ID of the account that manages the order. This cannot be a multi-client account.
orderId string The ID of the order for which payment authorization was declined.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/content

For more information, see the authentication and authorization page.

Request body

In the request body, supply data with the following structure:

{
  "declineReason": string
}
Property name Value Description Notes
declineReason string Reason why payment authorization was declined.

Acceptable values are:
  • "buyerInstrumentDeclined"
  • "fraud"
  • "inputError"
  • "insufficientFunds"
  • "merchantDeclined"
  • "other"
  • "suspicious"
  • "unknown"

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "content#orderpaymentsNotifyAuthDeclinedResponse",
  "executionStatus": string
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#orderpaymentsNotifyAuthDeclinedResponse".
executionStatus string The status of the execution.

Acceptable values are:
  • "ok"