Getnet DocsGetnet Docs

Intent and Bundle Parameters

This reference documents the Intent action strings and Bundle parameter specifications used for App2App integration with the Get Mini application. All parameters must be passed as Intent extras using the putExtra() method.

This reference applies to App2App integration only. If you’re using direct SDK integration, refer to the SDK Methods Reference instead.

Intent Actions

To initiate a transaction or query request, your application must create an Intent with one of the following action strings.

Operation TypeAction String
Payment Transactiones.redsys.paysys.mPOSRedsys_PAYMENT_REQUEST
Query Operationes.redsys.paysys.mPOSRedsys_QUERY_REQUEST
Refund Transactiones.redsys.paysys.mPOSRedsys_REFUND_REQUEST

Each Intent action handles a specific operation type. The Get Mini application processes the input and returns results via the onActivityResult callback.

Request Parameters

Add these parameters to your Intent using putExtra() before launching the Get Mini application. All keys are case-sensitive and must match exactly.

Payment Parameters (PAYMENT_REQUEST)

Extra KeyTypeRequiredDescription
amountdoubleYesThe total amount to charge (e.g., 25.50).
invoiceStringNoOrder number or identifier.

Query Parameters (QUERY_REQUEST)

Extra KeyTypeRequiredDescription
dateFromStringYesStart date of the query range.
dateUntilStringYesEnd date of the query range.

Refund Parameters (REFUND_REQUEST)

Extra KeyTypeRequiredDescription
amountdoubleYesThe amount to be refunded.
dateStringYesDate of original payment in YYYYMMDD format.
authorizationStringYesAuthorization number from original transaction.
orderStringYesOrder number ID from original transaction.

Response Parameters

The result Intent contains transaction details stored as extras. Use getStringExtra() or getIntExtra() to retrieve them.

Extra KeyTypeAlways PresentDescription
STATEStringYesResult code of the operation. On a declined operation it carries the denial code.
ERROR_MSGStringNoHuman-readable explanation of error or denial.
ORDERStringNoUnique order number assigned by the system.
AUTORIZATION_NUMBERStringNoHost authorization code (Note: missing ‘H’ in the key).
IDENTIFIER_RTSStringNoSDK internal reference ID (24 positions).

Parameter Access Notes

  • Authorization Key: The key is literally "AUTORIZATION_NUMBER". Documentation must reflect this exact spelling.
  • Receipts: On Android Q and above, use intent.getData() to retrieve the receipt URI. For older versions, use the TICKET_IMAGE extra.

Activity Result Codes

The Android result code indicates if the Get Mini app completed its workflow.

Result CodeConstantMeaning
-1RESULT_OKFlow completed. Check STATE or RESULT for outcome.
0RESULT_CANCELEDUser exited or app failed to initialize flow.