AI-generated Key Takeaways
-
This method retrieves the status of a previously initiated
banking-fop-v2.transferFunds
transaction using its uniquetransferFundsRequestId
. -
The request body includes the
requestHeader
for authentication and thetransferFundsRequestId
for identifying the target transaction. -
The response provides either the transaction status details, a
transactionDoesNotExist
error if not found, or aresultNotKnownYet
status. -
Possible HTTP responses include a 200 status with transaction details or a 4XX/5XX error with an
ErrorResponse
object. -
The
GetTransferFundsTransactionStatusResponse
object contains theresponseHeader
,result
, and a union fieldtransaction_status
detailing the specific transaction outcome.
This method fetches the status of a banking-fop-v2.transferFunds transaction.
An example request looks like:
{
"requestHeader": {
"protocolVersion": {
"major": 2
},
"requestId": "bWVyY2hhbnQgdHJhbnNhY3Rpb24gaWQ",
"requestTimestamp": {
"epochMillis": "1502220196077"
},
"paymentIntegratorAccountId": "InvisiCashUSA_USD"
},
"transferFundsRequestId":"bnAxdWTydDX=="
}
An example response looks like:
{
"responseHeader": {
"responseTimestamp": {
"epochMillis": "1481900013178"
}
},
"result": { "success": {} },
"transferFundsResult": { "success": {} }
}
HTTP request
POST https://www.integratorhost.example.com/integrator-base-path/v2/getTransferFundsTransactionStatus
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requestHeader": {
object ( |
Fields | |
---|---|
requestHeader |
REQUIRED: Common header for all requests. |
transferFundsRequestId |
REQUIRED: The requestId of the original banking-fop-v2.transferFunds transaction. |
Response body
This method supports multiple return types. For additional information about what 4XX or 5XX HTTP status code to return with an ErrorResponse
, consult the ErrorResponse
object and HTTP status codes documentation.
Possible response messages | |
---|---|
HTTP 200 Status | |
HTTP 4XX / 5XX Status |
|
GetTransferFundsTransactionStatusResponse
Response object for banking-fop-v2.getTransferFundsTransactionStatus.
JSON representation |
---|
{ "responseHeader": { object ( |
Fields | |
---|---|
responseHeader |
REQUIRED: Common header for all responses. |
result |
REQUIRED: Result of this GetTransactionStatus call. |
Union field transaction_status . REQUIRED: The actual status of the transaction which is looked up. transaction_status can be only one of the following: |
|
transferFundsResult |
Result of the FundsTransfer operation. |
transactionDoesNotExist |
The transaction was not found in the system. This can happen if the call from Google to partner got dropped and the partner never received the original transaction. Now when Google tries to lookup the status, partner should return this error code to indicate that the transaction doesn't exist in the system. Google should mark the transaction as failed in that case. It is different than a Http 404 where the URL of GetTransactionStatus was not found in which case Google can't update the status of the transaction. |
resultNotKnownYet |
Captures the scenario where the integrator itself doesn't have a definite status, maybe because they have not received it from the underlying payment network. |