Method: captureFundsReservationResultNotification

Notifies Google of the final result of an asynchronousCaptureFundsReservation request.

The captureFundsReservationResult value is idempotent for this captureFundsReservationRequestId and cannot be changed by a subsequent call to this method.

An example request looks like:


{
  "requestHeader": {
    "protocolVersion": {
      "major": 1
    },
    "requestId": "b558bd2b-5c61-4c75-b622-c0357e74c5ff",
    "requestTimestamp": {
      "epochMillis": 1481907920000
    },
  "paymentIntegratorAccountId": "SpeedyPaymentsIndia_INR"
  },
  "captureFundsReservationRequestId": "G112YZH4XPDV88J",
  "captureFundsReservationResult": "SUCCESS",
  "rawResult": {
    "scope": "VISA",
    "rawCode": "00"
  }
}

An example response looks like:


{
  "responseHeader": {
    "responseTimestamp": {
      "epochMillis": 1481907920560
    },
    "requestId": "b558bd2b-5c61-4c75-b622-c0357e74c5ff"
  },
  "result": "SUCCESS"
}

HTTP request

POST https://billpaynotification.googleapis.com/secure-serving/gsp/google-authenticated-card-fop-api/v1/captureFundsReservationResultNotification

Request body

The request body contains data with the following structure:

JSON representation
{
  "requestHeader": {
    object (RequestHeader)
  },
  "captureFundsReservationRequestId": string,
  "captureFundsReservationResult": enum (CaptureFundsReservationResultCode),
  "rawResult": {
    object (RawResult)
  }
}
Fields
requestHeader

object (RequestHeader)

REQUIRED: Common header for all responses.

captureFundsReservationRequestId

string

REQUIRED: A unique identifier for this transaction. This is the requestId generated by Google during the reserveFunds call which this request is associated with.

captureFundsReservationResult

enum (CaptureFundsReservationResultCode)

REQUIRED: The result of this capture attempt.

rawResult

object (RawResult)

OPTIONAL: The raw response code from the network to this capture call. This is informational only.

Response body

If successful, the response body contains data with the following structure:

Response object for the Google hosted v1.captureFundsReservationResultNotification method.

JSON representation
{
  "responseHeader": {
    object (ResponseHeader)
  },
  "result": enum (CaptureFundsReservationResultNotificationResultCode)
}
Fields
responseHeader

object (ResponseHeader)

REQUIRED: Common header for all responses.

result

enum (CaptureFundsReservationResultNotificationResultCode)

REQUIRED: Result of this call.

CaptureFundsReservationResultCode

Result codes for captures.

Enums
CAPTURE_FUNDS_RESERVATION_RESULT_CODE_UNSPECIFIED Do not ever set this default value!
SUCCESS The capture completed successfully.
RESERVATION_OF_FUNDS_EXPIRED The prior reservation of funds has expired.

CaptureFundsReservationResultNotificationResultCode

Result codes for the captureResultNotification method.

Enums
CAPTURE_FUNDS_RESERVATION_RESULT_NOTIFICATION_RESULT_CODE_UNSPECIFIED Do not ever set this default value!
SUCCESS Capture Funds Reservation notification was successfully processed.