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 Type | Action String |
|---|---|
| Payment Transaction | es.redsys.paysys.mPOSRedsys_PAYMENT_REQUEST |
| Query Operation | es.redsys.paysys.mPOSRedsys_QUERY_REQUEST |
| Refund Transaction | es.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 Key | Type | Required | Description |
|---|---|---|---|
amount | double | Yes | The total amount to charge (e.g., 25.50). |
invoice | String | No | Order number or identifier. |
Query Parameters (QUERY_REQUEST)
| Extra Key | Type | Required | Description |
|---|---|---|---|
dateFrom | String | Yes | Start date of the query range. |
dateUntil | String | Yes | End date of the query range. |
Refund Parameters (REFUND_REQUEST)
| Extra Key | Type | Required | Description |
|---|---|---|---|
amount | double | Yes | The amount to be refunded. |
date | String | Yes | Date of original payment in YYYYMMDD format. |
authorization | String | Yes | Authorization number from original transaction. |
order | String | Yes | Order number ID from original transaction. |
Response Parameters
The result Intent contains transaction details stored as extras. Use getStringExtra() or getIntExtra() to retrieve them.
| Extra Key | Type | Always Present | Description |
|---|---|---|---|
STATE | String | Yes | Result code of the operation. On a declined operation it carries the denial code. |
ERROR_MSG | String | No | Human-readable explanation of error or denial. |
ORDER | String | No | Unique order number assigned by the system. |
AUTORIZATION_NUMBER | String | No | Host authorization code (Note: missing ‘H’ in the key). |
IDENTIFIER_RTS | String | No | SDK 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 theTICKET_IMAGEextra.
Activity Result Codes
The Android result code indicates if the Get Mini app completed its workflow.
| Result Code | Constant | Meaning |
|---|---|---|
| -1 | RESULT_OK | Flow completed. Check STATE or RESULT for outcome. |
| 0 | RESULT_CANCELED | User exited or app failed to initialize flow. |