- JSON representation
- TransferSuccessResult
- InvalidCardData
- IssuerError
- IssuerErrorType
- TransactionDenied
- TransactionDenialType
The result of the transfer
action.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field result . REQUIRED: The result of the transfer. result can be only one of the following: |
|
success |
The request to |
invalidCardData |
Used if the card data in the request cannot be parsed. |
issuerError |
Used if the error occurs on the authorizer or issuer side. |
transactionDenied |
Used if the transaction is denied. |
invalidQrCode |
Used if the QR code in the request cannot be parsed. |
expiredQrCode |
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 ( |
Fields | |
---|---|
referenceLabel |
REQUIRED: The QR code ID. This is a globally unique ID, Google uses it for response idempotency. |
transactionTimestamp |
REQUIRED: Timestamp in milliseconds for the transaction in UTC timezone. |
merchantId |
OPTIONAL: Business establishment identifier. |
acquirerId |
OPTIONAL: The merchant's acquirer. |
terminalId |
OPTIONAL: Identifier for the terminal the transaction was done with. |
authorizationCode |
OPTIONAL: Authorization code of the transaction. |
authenticationCode |
OPTIONAL: Authentication code of the transaction. |
hostNsu |
OPTIONAL: NSU (per-day-unique ID) generated by the host for the transaction. NSU stands for "numero sequencial unico" or "unique sequence number". |
terminalNsu |
OPTIONAL: NSU (per-day-unique ID) generated by the terminal for the transaction. NSU stands for "numero sequencial unico" or "unique sequence number". |
cardScheme |
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[] |
REQUIRED: The card data fields that are invalid. |
IssuerError
Used if the error occurs on the authorizer or issuer side.
JSON representation |
---|
{
"errorType": enum ( |
Fields | |
---|---|
errorType |
REQUIRED: The error type. |
reason |
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 ( |
Fields | |
---|---|
denialType |
REQUIRED: The error type. |
reason |
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. |