TransferResult

The result of the transfer action.

JSON representation
{

  // Union field result can be only one of the following:
  "success": {
    object (TransferSuccessResult)
  },
  "invalidCardData": {
    object (InvalidCardData)
  },
  "issuerError": {
    object (IssuerError)
  },
  "transactionDenied": {
    object (TransactionDenied)
  },
  "invalidQrCode": {
    object (Empty)
  },
  "expiredQrCode": {
    object (Empty)
  }
  // End of list of possible types for union field result.
}
Fields
Union field result. REQUIRED: The result of the transfer. result can be only one of the following:
success

object (TransferSuccessResult)

The request to transfer was successful.

invalidCardData

object (InvalidCardData)

Used if the card data in the request cannot be parsed.

issuerError

object (IssuerError)

Used if the error occurs on the authorizer or issuer side.

transactionDenied

object (TransactionDenied)

Used if the transaction is denied.

invalidQrCode

object (Empty)

Used if the QR code in the request cannot be parsed.

expiredQrCode

object (Empty)

Used if the QR code in the request is expired.

TransferSuccessResult

Used if the request to transfer was successful.

JSON representation
{
  "referenceLabel": string,
  "transactionTimestamp": {
    object (Timestamp)
  },
  "merchantId": string,
  "acquirerId": string,
  "terminalId": string,
  "authorizationCode": string,
  "authenticationCode": string,
  "hostNsu": string,
  "terminalNsu": string,
  "cardScheme": enum (CardNetworkType)
}
Fields
referenceLabel

string

REQUIRED: The QR code ID. This is a globally unique ID, Google uses it for response idempotency.

transactionTimestamp

object (Timestamp)

REQUIRED: Timestamp in milliseconds for the transaction in UTC timezone.

merchantId

string

OPTIONAL: Business establishment identifier.

acquirerId

string

OPTIONAL: The merchant's acquirer.

terminalId

string

OPTIONAL: Identifier for the terminal the transaction was done with.

authorizationCode

string

OPTIONAL: Authorization code of the transaction.

authenticationCode

string

OPTIONAL: Authentication code of the transaction.

hostNsu

string

OPTIONAL: NSU (per-day-unique ID) generated by the host for the transaction. NSU stands for "numero sequencial unico" or "unique sequence number".

terminalNsu

string

OPTIONAL: NSU (per-day-unique ID) generated by the terminal for the transaction. NSU stands for "numero sequencial unico" or "unique sequence number".

cardScheme

enum (CardNetworkType)

OPTIONAL: The card network name e.g. VISA, MASTERCARD, etc.

InvalidCardData

Used if the card data in the request cannot be parsed.

JSON representation
{
  "invalidFieldNames": [
    string
  ]
}
Fields
invalidFieldNames[]

string

REQUIRED: The card data fields that are invalid.

IssuerError

Used if the error occurs on the authorizer or issuer side.

JSON representation
{
  "errorType": enum (IssuerErrorType),
  "reason": string
}
Fields
errorType

enum (IssuerErrorType)

REQUIRED: The error type.

reason

string

OPTIONAL: Additional details about the issuer error.

IssuerErrorType

The general reason for the issuer error.

Enums
ISSUER_ERROR_TYPE_UNSPECIFIED Unspecified issuer error type.
AUTHORIZER_ERROR Error from authorizer or issuer.
ACQUIRER_ERROR Internal error connecting to the acquirer.

TransactionDenied

Used if the transaction is denied.

JSON representation
{
  "denialType": enum (TransactionDenialType),
  "reason": string
}
Fields
denialType

enum (TransactionDenialType)

REQUIRED: The error type.

reason

string

OPTIONAL: Additional details why the transaction was denied.

TransactionDenialType

The general reason for the transaction denial.

Enums
TRANSACTION_DENIAL_TYPE_UNSPECIFIED Unspecified transaction denial type.
TERMINAL_ERROR Transaction denied by merchant terminal due to technical issues.
MERCHANT_CANCELLED Transaction denied by merchant terminal due to merchant cancellation.
NO_ACQUIRER_CONFIGURED There is no acquirer configured for the given card network.