Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.
If you want to accept Tap to Pay payments on your Android mobile device but do not want to integrate our POS Mobile SDK, you can download the Adyen Payments app from the Google Play store. You can then use the Payments app to connect your own POS app to the Adyen payments platform and authenticate payment requests in a compliant way.This page explains how to build the Payments app solution. Before you begin, see Understand the solutions to help you decide if the Payments app is the right solution for your situation.
Requirements
Before you begin, take into account the following requirements, limitations, and preparations.
Requirement
Description
Integration type
Your POS app must be integrated with Terminal API. The POS app can be installed on your mobile device or browser-based.
An API key specifically for the Adyen Payments app, with a client key and the Adyen Payments app role.
Hardware
An Android commercial off-the-shelf (COTS) mobile device with an integrated NFC reader. Must not be a payment terminal. See Android system requirements for the full hardware and software requirements.
Limitations
Take into account the following limitations: See the countries/regions, payment methods, and functionality that we support. Web-based POS apps are currently only supported in the US, the EU, and Australia.
Setup steps
Before you begin: Contact our Support Team to enable Tap to Pay on Android and to enable the Adyen Payments app role for your API key. Optionally also ask them to enable unreferenced refunds. Download the Adyen Payments Test app from the Google Play store. For testing, in your Customer Area order a White-green Adyen test card. Or you can use a Blue-green test card v2.4 or later, if you already have that. If your POS app is web-based: Contact our Support Team to enable receiving a short response in the browser. Configure your web server to use HTTPS and enforce a minimum security protocol of TLS 1.2 or higher
How it works
When building the various flows, you will use Android App Links to call specific parts of the Android Payments app. To build an Android Payments app solution for Tap to Pay:
Build the boarding flow. The Payments app must be boarded on every Android mobile device where the app is installed.
Build the reboarding flow. Reboarding enables you to switch to processing though a different store or merchant account using the same app instance and mobile device.
Implement an API request to revoke an app instance for cases when the mobile device is defective, stolen, or no longer needed for payments.
1. Board the app
After you download the Payments app from the Google Play store to a mobile device, you need to board the Payments app on that device. Boarding is a three-step process:
Check the boarding status.
From your POS app, you call a link to check if the Payments app is boarded. If the Payments app is not boarded, you receive a “boarding request token”.
Authenticate the app instance.
From your back-end, you send an API request that includes the boarding request token. In the response, you receive a one-time boarding token that is unique for the combination of Payments app instance and device.
Finish boarding the app.
From your POS app, you call a link that includes the boarding token. The response confirms that the Payments app is now boarded, and includes an installation ID that you need to pass in your transaction requests.
1.1 Check the boarding status
To start the boarding flow, you call an App Link from your POS app to check if the Adyen Payments app is already boarded.
From your POS app, call the link. The App Link format is as follows: https://www.adyen.com/test/boarded?returnUrl=URLEncoder(your_scheme)In this format:
https://www.adyen.com/test/ is the test base URL.
boarded is the path to use for boarding checks.
returnUrl is the URL-encoded URL where you want to receive the response.
The following example shows how you could build the App Link in your Kotlin project.Build an App Link to check if the Payments app is boarded
private fun createOnboardingCheckApplink( returnUrl: String,): Uri { // Encode the returnUrl to ensure it is safe for use as a URL query parameter. val returnUrlEncoded = URLEncoder.encode(returnUrl, Charsets.UTF_8.name()) return Uri.parse("${BuildConfig.APP_LINK_URL}/boarded").buildUpon() .appendQueryParameter("returnUrl", returnUrlEncoded) .build()}
Check the response you receive at your returnUrl and decide what to do next:
If boarded is true: save the installationId, which you will need in your payment requests. You do not need to continue with the boarding process and you are ready to make a payment.
If boarded is false: pass the installationId and boardingRequestToken to your back-end and go to step 2 of the boarding process.
The response consists of the URL-encoded base URL where you want to receive the response and the following parameters:
Parameter
Required
Type
Description
boarded
Boolean
Indicates if the app is boarded or not.
installationId
String
The unique identifier of the Payments app instance on the specific device.When creating Terminal API requests on your back-end, use this as the POIID in the MessageHeader of the request.
boardingRequestToken
String
The app token used to get the boardingToken from Adyen.
If you determined in step 1 of the boarding process that the Payments app is not boarded yet or if you initiated reboarding, you send a Payments app API request from your back-end to authenticate your app installation. In the response you receive a boardingToken.To authenticate the app:
Make a POST request to the endpoint corresponding to where you want to accept payments:
The app will be configured to the merchant account or store specified in the path, and route all transactions over that merchant account or store. Ensure this aligns with your account structure.Specify the following in the request:
Path parameters:
Parameters
Required
Description
merchantId
The unique identifier of the merchant account.
storeId
The unique identifier of the store.The storeId is not the same as store reference. If you only know the reference, you can use it to get the storeId with an API call. Request parameters:
Parameters
Required
Description
boardingRequestToken
The app token used to request a boardingToken from Adyen. You received the boarding request token in step 1 of the boarding process.
From the response, save the boardingToken, which you will need in the last step of the boarding process.
The response consists of the following parameters:
Parameter
Type
Description
installationId
String
The unique identifier of the Payments app instance on the specific device.
boardingToken
String
The one-time token used to authenticate the app installation. Valid for one hour.
When you have received the boardingToken from Adyen, you need to send the boarding token to the Payments app to finish boarding the app and prepare for making payments.
From your POS app, call the link. The App Link format is as follows:
boardingToken is the token generated for this installationId in step 2 of the boarding process. This token must be Base64URL-encoded.
returnUrl is the URL-encoded URL where you want to receive the onboarding result (the response).
The following example shows how you could build the App Link in your Kotlin project.Build an App Link to board the Payments app
private fun createBoardingRequestApplink( returnUrl: String, boardingToken: String,): Uri { // Encode the boarding token using Base64 URL encoding. val encodedBoardingToken = Base64.getUrlEncoder().encodeToString(boardingToken.toByteArray()) // Encode the return URL to ensure it is safe for URL query parameters. val encodedUrl = URLEncoder.encode(returnUrl, Charsets.UTF_8.name()) return Uri.parse("${BuildConfig.APP_LINK_URL}/board").buildUpon() .appendQueryParameter("boardingToken", encodedBoardingToken) .appendQueryParameter("returnUrl", encodedUrl) .build()}
If boarded is true: save the installationId. You need this when you make a payment. You do not need board the app again.
If boarded is false: check the error and try again.
The response consist of the URL-encoded base URL where you want to receive the response and the following parameters:
Parameter
Type
Description
boarded
Boolean
Indicates if the app is boarded or not.
installationId
String
The unique identifier of the Payments app instance on the specific device.When creating Terminal API requests on your back-end, use this as the POIID in the MessageHeader of the request.
error
String
Additional information in case an error occurred and boarded is false.
After the Payments app is boarded, you are ready to make transactions. To do this, you need to create a Terminal API request in Base64URL format and call the request as an App Link from your POS app. The boarded Payments app then communicates with Adyen, receives the response, and returns the response in Base64 format as part of an App Link to your POS app.To start a transaction from your POS app:
Create a Terminal API request with the POIID value set to the installationId value of the boarded Payments app.
Either write your own code to encrypt and decrypt Terminal API messages, or use a library.The following example shows how you could encrypt Terminal API requests using the Java library in a Kotlin project. We also have a .NET library and a Node library.Encrypt using Java library
private fun encryptNexoRequest( serviceId: String = UUID.randomUUID().toString(), saleId: String = "AndroidSampleApp", currency: String, requestedAmount: BigDecimal, installationId: String, ): String { // Create and set up the message header for the Terminal API request val messageHeader = MessageHeader().apply { protocolVersion = "3.0" messageClass = MessageClassType.SERVICE messageCategory = MessageCategoryType.PAYMENT messageType = MessageType.REQUEST serviceID = serviceId saleID = saleId poiid = installationId } // Set up the security key with the values from the Customer Area or Management API val securityKey = SecurityKey().apply { adyenCryptoVersion = 1 keyIdentifier = BuildConfig.KEY_IDENTIFIER passphrase = BuildConfig.PASS_PHRASE keyVersion = BuildConfig.VERSION } // This function creates a Terminal API request and returns the serialized value val nexoRequestJson = createNexoRequest(messageHeader = messageHeader, currency = currency, requestedAmount = requestedAmount) // Encrypt the Terminal API request using the NexoCrypto class // The first parameter is the serialized Terminal API request, and the second parameter is the message header val encrypted = NexoCrypto(securityKey).encrypt( nexoRequestJson, messageHeader, ) // Add the encryption response to the TerminalAPISecuredRequest val terminalSecuredRequest = TerminalAPISecuredRequest() terminalSecuredRequest.saleToPOIRequest = encrypted // You can use your own serialization library to convert the encrypted request to JSON // Ensure your serialization library properly handles HMAC and nonce properties: // These properties are byte arrays, and they need to be serialized into Base64-encoded strings. // If you use the Adyen Java library, it provides a specific Gson configuration for this purpose val gson = TerminalAPIGsonBuilder.create() // Adjust if using a different serialization library return gson.toJson(terminalSecuredRequest) } // This function creates an example Terminal API request. Include additional fields as needed. // You can use your own model and serialization library. This is just an example. private fun createNexoRequest( messageHeader: MessageHeader, currency: String, requestedAmount: BigDecimal, transactionID: String = "SampleApp-AndroidTx", ): String { val saleTransactionID = TransactionIdentification().apply { timeStamp = getCurrentXMLGregorianCalendar() this.transactionID = transactionID } val saleData = SaleData().apply { this.saleTransactionID = saleTransactionID } val amountsReq = AmountsReq().apply { this.currency = currency this.requestedAmount = requestedAmount } val paymentTransaction = PaymentTransaction().apply { this.amountsReq = amountsReq } val paymentRequest = PaymentRequest().apply { this.saleData = saleData this.paymentTransaction = paymentTransaction } val saleToPOIRequest = SaleToPOIRequest().apply { this.messageHeader = messageHeader this.paymentRequest = paymentRequest } val terminalAPIRequest = TerminalAPIRequest().apply { this.saleToPOIRequest = saleToPOIRequest } val gson = TerminalAPIGsonBuilder.create() return gson.toJson(terminalAPIRequest) } private fun getCurrentXMLGregorianCalendar(): XMLGregorianCalendar { // Create a GregorianCalendar instance with UTC timezone val calendar = GregorianCalendar().apply { time = Date() } calendar.timeZone = java.util.TimeZone.getTimeZone("UTC") // Convert GregorianCalendar to XMLGregorianCalendar return DatatypeFactory.newInstance().newXMLGregorianCalendar(calendar) }
Encode the Terminal API request to Base64URL.
From your POS app, call the link. The App Link format is as follows:
A Tap to Pay screen appears on the mobile device.If the shopper does not present their payment method within 30 seconds, the payment request times out. If that happens, you need to make another payment request.
Use the response to show the payment result in your POS app. Select the tab Receive full response if your POS app is installed on your mobile device. Select the tab Receive short response in browser if you are using a browser-based POS app.
When your POS app is installed on the mobile device, you receive the full payment response. The response consist of the returnUrl you specified in the link, and the following parameters:
Parameter
Type
Description
response
String
Base64URL-encoded and encrypted Terminal API payment response.
Decrypt the Terminal API response using the security key.The following example shows how you could do that using the Adyen Java library in a Kotlin project.Decrypt using Java library
private fun decryptNexoResponse(response: String): String { // Decode the Base64 URL-encoded response string to retrieve the original encrypted Terminal API response val decoded = String(Base64.getUrlDecoder().decode(response)) val securityKey = SecurityKey() securityKey.adyenCryptoVersion = 1 securityKey.keyIdentifier = BuildConfig.KEY_IDENTIFIER securityKey.passphrase = BuildConfig.PASS_PHRASE securityKey.keyVersion = BuildConfig.VERSION val gson = TerminalAPIGsonBuilder.create() val data = gson.fromJson(decoded, TerminalAPISecuredResponse::class.java) return NexoCrypto(securityKey).decrypt(data.saleToPOIResponse) }
A web-based POS app requires a short payment response, because the full Terminal API response is too large for some browsers. The short response contains the result of the transaction, and a URL from which the full payment result can be retrieved.The short payment response is an App Link you receive from the Payments app with the following parameters:
Parameter
Type
Description
response
String
Base64URL-encoded and encrypted short payment response object, containing: result: Possible values: Success, Partial, or Failure. url: The URL to retrieve the full payment response from. When the transaction is cancelled, this field is returned empty. errorCondition: If result is Failure it contains the error reason. traceParent: If result is Failure it contains the trace that can be shared with our Support team for troubleshooting if the error is unclear
securityTrailer
String
A Base64URL-encoded object containing information about the shared key used for the encryption. This information is needed to decode and decrypt the short response.
Decode the Base64URL from the response string. Note that the result is a Base64-encoded ciphertext.Decode Base64URL from the response
val decodedBase64 = String(Base64.getUrlDecoder().decode(responseFromDeeplink)) decryptShortNexoResponse(securityTrailerModel, decoded)
Decrypt the Base64-encoded ciphertext. The following example shows how you can do that using the Adyen Java library in a Kotlin project.Decrypt using Java library
Below is an example of a short response in plaintext that contains the result and the URL to call to receive the full response.Short response in plain text
Optionally, make a GET request to the URL your received in the short response to receive the full payment response.
Reboard the app
If you need to change the merchant account or store that you want to process payments for, you must reboard the app.As soon as you start the reboarding flow, the app loses the association with the merchant account or store that the app was previously boarded to. This means you cannot use the app/mobile device combination for payments until the reboarding process is completed. If an error occurs during the reboarding, you need to start the reboarding flow again.Reboarding is a three-step process that is the same as the initial boarding process, except for the first step of initiating the reboarding.
Initiate reboarding.
From your POS app, you call a link to force the app to start a new boarding process even though it is already boarded.
To start the reboarding flow, you call an App Link from your POS app to force the Adyen Payments app to start a new boarding process.
From your POS app, call the link. The App Link format is as follows: https://www.adyen.com/test/boarded?returnUrl=URLEncoder(your_scheme)&reboard=trueIn this format:
https://www.adyen.com/test/ is the test base URL.
boarded is the path to use for boarding checks.
returnUrl is the URL-encoded URL where you want to receive the response.
reboard is a Boolean parameter that must be set to true to start the reboarding process.
The following example shows how you could build the App Link in your Kotlin project.Build an App Link to start reboarding
private fun createReboardingCheckApplink( returnUrl: String,): Uri { // Encode the returnUrl to ensure it is safe for use as a URL query parameter. val returnUrlEncoded = URLEncoder.encode(returnUrl, Charsets.UTF_8.name()) return Uri.parse("${BuildConfig.APP_LINK_URL}/boarded").buildUpon() .appendQueryParameter("returnUrl", returnUrlEncoded) .appendQueryParameter("reboard", "true") // Add this line for reboarding .build()}
Check the response you receive at your returnUrl, and Base64-decode the data string.The response consists of the URL-encoded base URL where you want to receive the response and the following parameters:
Parameter
Required
Type
Description
boarded
Boolean
Indicates if the app was previously boarded. If the app was not previously boarded, the value is false and the reboarding process will serve to board the app.
installationId
String
The unique identifier of the Payments app instance on the specific device.When creating Terminal API requests on your back-end, use this as the POIID in the MessageHeader of the request.
boardingRequestToken
String
The app token used to get the boardingToken from Adyen.
data
String
A Base64-encoded JSON object with details of the previous boarding.
When you Base64-decode the data string, this results in a JSON object with the following parameters:
Parameter
Required
Type
Description
date
String
Timestamp indicating when the reboarding started, in ISO-8601 UTC format. Example: 2025-11-10T17:34:48.123Z
reboarding
String
Indicates that this is a reboarding flow. Will be true.
merchantAccountCode
String
The merchant account that the app was previously boarded to. Will be null if the app was not previously boarded.
merchantStoreCode
String
The ID of the store that the app was previously boarded to. Will be null if the app was not previously boarded.
If your Android mobile device is defective, stolen, or you do not need it anymore for payments processing, you must stop the Payments app from processing transactions with Adyen. To do this, you make an API call to Adyen to revoke the specified installationId.To revoke a boarding token:
The instructions are the same for both cards; see either of the pages mentioned above.
Go live
When you have finished testing your integration and are ready to go live:
If new to Adyen, get a live account. You need to have access to your organization’s live Customer Area to generate an API credentials for the live environment.
In your live Customer Area generate a new API key with the Adyen Payments app role for use with the Adyen Payments app.
Download the Adyen Payments app from the Google Play store.
Contact us to enable Tap to Pay on Android, and optionally also enable unreferenced refunds.
Update your code to use the live URLs for App Links:
https://www.adyen.com/boarded
https://www.adyen.com/board
https://www.adyen.com/nexo
Update your code to use the live Management API endpoints:
https://management-live.adyen.com
Verify app instance
Adyen continuously checks if the app instance on your Android mobile device is authentic. This is to protect your integration against man-in-the-middle attacks, eavesdropping, and tampering. You can also check this yourself manually using a different device and your email address.To verify the app instance, in the Payments app:
Go to Settings and tap Verify app.
Enter your email address and tap Send email.
Check your email on another device. You should have received an email with a 5-character code.
In the Payments app, if you received the email, tap Continue. If you did not receive the email, check the email address you entered, and tap Resend email and go back to step 2.
Under Verify app, check that the 5-character code on the screen matches the code you received in the email.
If the app instance verification is successful, you can continue making payments with the Payments app. If the verification fails, Adyen automatically revokes the app instance. In this case, you need to board the app again on that Android mobile device.
Next steps
Manage your solution
Required. Make your solution available and keep the software up-to-date.
Checklists
Get a list of what needs to be done to get started and go live with a Mobile solution.
Error handling
Resolve errors that appear on the mobile Android device.
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Adyen Docs","colors":{"primary":"#0abf53","light":"#0abf53","dark":"#0abf53"},"logo":{"light":"https://mintcdn.com/adyen-preview/lASzPax-5LijrTyv/logo/adyen-logo-light.svg?fit=max\u0026auto=format\u0026n=lASzPax-5LijrTyv\u0026q=85\u0026s=2c1afa7588316f526e65513e790f5095","dark":"https://mintcdn.com/adyen-preview/QZBUuz3DUfNRdN58/logo/adyen-logo-dark.svg?fit=max\u0026auto=format\u0026n=QZBUuz3DUfNRdN58\u0026q=85\u0026s=8b91a67b637458bd8d4469256fdea66d","href":"/"},"favicon":"https://mintcdn.com/adyen-preview/QZBUuz3DUfNRdN58/icon.svg?fit=max\u0026auto=format\u0026n=QZBUuz3DUfNRdN58\u0026q=85\u0026s=0c1b1d9cd8ef6f2d1c87e52efbd25c3d","navbar":{"links":[{"href":"https://docs.adyen.com/api-explorer","label":"API Explorer"},{"href":"https://help.adyen.com/contact","label":"Support"}],"primary":{"type":"button","label":"Sign up","href":"https://www.adyen.com/signup"}},"seo":{"metatags":{"robots":"noindex"}},"fonts":{"heading":{"family":"Adyen","weight":700,"source":"fonts/Adyen-Variable.woff2","format":"woff2"},"body":{"family":"Adyen","weight":400,"source":"fonts/Adyen-Variable.woff2","format":"woff2"}},"contextual":{"options":["copy","view","assistant","chatgpt","claude","perplexity","grok","aistudio","devin","windsurf","mcp","cursor","vscode","devin-mcp","download-spec","download-pdf"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"adyen-preview","hasAudioNarration":false,"actualSubdomain":"adyen-preview","customDomains":[],"gitSource":{"type":"github","owner":"mintlify-onboarding","repo":"adyen-preview","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6acfda162114076d94919f9a","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"In-person payments","count":532},{"language":"default","tag":"Payments","count":442},{"language":"default","tag":"Adyen for Platforms","count":392},{"language":"default","tag":"Platforms","count":282},{"language":"default","tag":"Marketplaces","count":228},{"language":"default","tag":"Online payments","count":188},{"language":"default","tag":"More development resources","count":154},{"language":"default","tag":"Enterprise issuing","count":146},{"language":"default","tag":"Business accounts","count":122},{"language":"default","tag":"Plugins","count":120}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":".sidebar-group-header{font-weight:600!important}.sidebar-group-header .sidebar-title{font-weight:inherit!important}h1#page-title{font-weight:600!important}img[src*=\"/user/data/smileys/emoji/\"]{width:20px;height:20px;display:inline-block;vertical-align:middle}#content-area img,#content img,mdx-content img{cursor:default!important}"}]}
{"page":{"pagePath":"point-of-sale/mobile-android/build/payments-app","slug":"/point-of-sale/mobile-android/build/payments-app","pageMetadata":{"title":"Android Payments App","description":"Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.","href":"/point-of-sale/mobile-android/build/payments-app"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,em:`em`,img:`img`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Tab,Table,Tabs}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`If you want to accept Tap to Pay payments on your Android mobile device but do not want to integrate our POS Mobile SDK, you can download the Adyen Payments app from the Google Play store. You can then use the Payments app to connect your own POS app to the Adyen payments platform and authenticate payment requests in a compliant way.`}),`\n`,_jsxs(_components.p,{children:[`This page explains how to build the Payments app solution. Before you begin, see `,_jsx(_components.a,{href:`/point-of-sale/mobile-android/understand#sdk-or-papp`,children:`Understand the solutions`}),` to help you decide if the Payments app is the right solution for your situation.`]}),`\n`,_jsx(Heading,{level:`2`,id:`requirements`,children:`Requirements`}),`\n`,_jsx(_components.p,{children:`Before you begin, take into account the following requirements, limitations, and preparations.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Requirement`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Integration type`})}),_jsxs(_components.td,{children:[`Your POS app must be integrated with `,_jsx(_components.a,{href:`/point-of-sale/design-your-integration/terminal-api`,children:`Terminal API`}),`. The POS app can be installed on your mobile device or browser-based.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:_jsx(_components.a,{href:`/development-resources/api-credentials`,children:`API credentials`})})}),_jsxs(_components.td,{children:[`An API key specifically for the Adyen Payments app, with a `,_jsx(_components.a,{href:`/development-resources/client-side-authentication#get-your-client-key`,children:`client key`}),` and the `,_jsx(_components.strong,{children:`Adyen Payments app role`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Hardware`})}),_jsxs(_components.td,{children:[`An Android commercial off-the-shelf (COTS) mobile device with an integrated NFC reader. Must not be a payment terminal. See `,_jsx(_components.a,{href:`/point-of-sale/mobile-android/requirements`,children:`Android system requirements`}),` for the full hardware and software requirements.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Limitations`})}),_jsxs(_components.td,{children:[`Take into account the following limitations:`,_jsx(`br`,{}),`See the countries/regions, payment methods, and functionality that we `,_jsx(_components.a,{href:`/point-of-sale/ipp-mobile`,children:`support`}),`. Web-based POS apps are currently only supported in the US, the EU, and Australia.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Setup steps`})}),_jsxs(_components.td,{children:[`Before you begin:`,_jsx(`br`,{}),`Contact our `,_jsx(_components.a,{href:`https://ca-test.adyen.com/ca/ca/contactUs/support.shtml?form=other`,children:`Support Team`}),` to enable Tap to Pay on Android and to enable the `,_jsx(_components.strong,{children:`Adyen Payments app role`}),` for your API key. Optionally also ask them to `,_jsx(_components.a,{href:`/point-of-sale/basic-tapi-integration/refund-payment/unreferenced`,children:`enable unreferenced refunds`}),`. Download the `,_jsx(_components.a,{href:`https://play.google.com/store/apps/details?id=com.adyen.ipp.mobile.companion.test`,children:`Adyen Payments Test`}),` app from the Google Play store. For testing, in your Customer Area order a `,_jsx(_components.a,{href:`/point-of-sale/testing-pos-payments/test-card-v3`,children:`White-green`}),` Adyen test card. Or you can use a `,_jsx(_components.a,{href:`/point-of-sale/testing-pos-payments/test-card-v2`,children:`Blue-green`}),` test card v2.4 or later, if you already have that. If your POS app is web-based:`,_jsx(`br`,{}),`Contact our `,_jsx(_components.a,{href:`https://ca-test.adyen.com/ca/ca/contactUs/support.shtml?form=other`,children:`Support Team`}),` to enable receiving a `,_jsx(_components.a,{href:`#short-response`,children:`short response in the browser`}),`. Configure your web server to use HTTPS and enforce a minimum security protocol of TLS 1.2 or higher`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`how-it-works`,children:`How it works`}),`\n`,_jsxs(_components.p,{children:[`When building the various flows, you will use `,_jsx(_components.a,{href:`https://developer.android.com/training/app-links`,children:`Android App Links`}),` to call specific parts of the Android Payments app. To build an Android Payments app solution for Tap to Pay:`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Build the `,_jsx(_components.a,{href:`#board-the-app`,children:`boarding flow`}),`. The Payments app must be boarded on every Android mobile device where the app is installed.`]}),`\n`,_jsxs(_components.li,{children:[`Build the `,_jsx(_components.a,{href:`#app-transactions`,children:`payment flow`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`In addition, do the following:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Build the `,_jsx(_components.a,{href:`#reboard-the-app`,children:`reboarding flow`}),`. Reboarding enables you to switch to processing though a different store or merchant account using the same app instance and mobile device.`]}),`\n`,_jsxs(_components.li,{children:[`Implement an API request to `,_jsx(_components.a,{href:`#revoke-app-instance`,children:`revoke an app instance`}),` for cases when the mobile device is defective, stolen, or no longer needed for payments.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`1-board-the-app`,children:`1. Board the app`}),`\n`,_jsx(_components.p,{children:`After you download the Payments app from the Google Play store to a mobile device, you need to board the Payments app on that device. Boarding is a three-step process:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`#check-boarding-status`,children:`Check the boarding status`}),`.`,_jsx(_components.br,{}),`\n`,`From your POS app, you call a link to check if the Payments app is boarded. If the Payments app is not boarded, you receive a “boarding request token”.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`#authenticate-app-instance`,children:`Authenticate the app instance`}),`.`,_jsx(_components.br,{}),`\n`,`From your back-end, you send an API request that includes the boarding request token. In the response, you receive a one-time boarding token that is unique for the combination of Payments app instance and device.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`#finish-boarding`,children:`Finish boarding the app`}),`.`,_jsx(_components.br,{}),`\n`,`From your POS app, you call a link that includes the boarding token. The response confirms that the Payments app is now boarded, and includes an installation ID that you need to pass in your transaction requests.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`1-1-check-the-boarding-status`,children:`1.1 Check the boarding status`}),`\n`,_jsx(_components.p,{children:`To start the boarding flow, you call an App Link from your POS app to check if the Adyen Payments app is already boarded.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`From your POS app, call the link. The App Link format is as follows:`,_jsx(_components.br,{}),`\n`,_jsx(_components.code,{children:`https://www.adyen.com/test/boarded?returnUrl=URLEncoder(your_scheme)`})]}),`\n`,_jsx(_components.p,{children:`In this format:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`https://www.adyen.com/test/`}),` is the test base URL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`boarded`}),` is the path to use for boarding checks.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`returnUrl`}),` is the URL-encoded URL where you want to receive the response.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The following example shows how you could build the App Link in your Kotlin project.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Build an App Link to check if the Payments app is boarded`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createOnboardingCheckApplink`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` returnUrl: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Uri`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Encode the returnUrl to ensure it is safe for use as a URL query parameter.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` returnUrlEncoded `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` URLEncoder.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`encode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(returnUrl, Charsets.UTF_8.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Uri.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`parse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`BuildConfig.APP_LINK_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/boarded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`buildUpon`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendQueryParameter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"returnUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, returnUrlEncoded)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`App Link example`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.adyen.com/test/boarded?returnUrl=your-scheme-test%3A%2F%2Fyour_company.example.com%2Fonboarding`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Check the response you receive at your `,_jsx(_components.code,{children:`returnUrl`}),` and decide what to do next:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`boarded`}),` is `,_jsx(_components.strong,{children:`true`}),`: save the `,_jsx(_components.code,{children:`installationId`}),`, which you will need in your payment requests. You do not need to continue with the boarding process and you are ready to `,_jsx(_components.a,{href:`#app-transactions`,children:`make a payment`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`boarded`}),` is `,_jsx(_components.strong,{children:`false`}),`: pass the `,_jsx(_components.code,{children:`installationId`}),` and `,_jsx(_components.code,{children:`boardingRequestToken`}),` to your back-end and go to `,_jsx(_components.a,{href:`#authenticate-app-instance`,children:`step 2 of the boarding process`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The response consists of the URL-encoded base URL where you want to receive the response and the following parameters:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boarded`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`Boolean`}),_jsx(_components.td,{children:`Indicates if the app is boarded or not.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`installationId`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`The unique identifier of the Payments app instance on the specific device.When creating Terminal API requests on your back-end, use this as the `,_jsx(_components.code,{children:`POIID`}),` in the `,_jsx(_components.code,{children:`MessageHeader`}),` of the request.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boardingRequestToken`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`The app token used to get the `,_jsx(_components.code,{children:`boardingToken`}),` from Adyen.`]})]})]})]}),`\n`]}),`\n`]}),`\n`,_jsxs(Tabs,{sync:false,children:[_jsxs(Tab,{title:`Response: Payments app is not boarded`,id:`response%3A-payments-app-is-not-boarded`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example response`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{YOUR_SCHEME}%3A%2F%2Fyour_company.example.com%2Fonboarding?boarded=false\u0026installationId=\u003cINSTALLATION_ID>\u0026boardingRequestToken=\u003cBOARDING_REQUEST_TOKEN>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Tab,{title:`Response: Payments app is boarded`,id:`response%3A-payments-app-is-boarded`,\"data-child-heading-ids\":`[\"1-2-authenticate-the-app-instance\",\"1-3-finish-boarding-the-app\",\"2-make-a-transaction\"]`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example response`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{YOUR_SCHEME}%3A%2F%2Fyour_company.example.com%2Fonboarding?boarded=true\u0026installationId=\u003cINSTALLATION_ID>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Heading,{level:`3`,id:`1-2-authenticate-the-app-instance`,children:`1.2. Authenticate the app instance`}),_jsxs(_components.p,{children:[`If you determined in `,_jsx(_components.a,{href:`#check-boarding-status`,children:`step 1 of the boarding process`}),` that the Payments app is not boarded yet or if you `,_jsx(_components.a,{href:`#initiate-reboarding`,children:`initiated reboarding`}),`, you send a `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/payments-app/latest/overview`,children:`Payments app API`}),` request from your back-end to authenticate your app installation. In the response you receive a `,_jsx(_components.code,{children:`boardingToken`}),`.`]}),_jsx(_components.p,{children:`To authenticate the app:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Make a POST request to the endpoint corresponding to where you want to accept payments:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`To route transactions over a merchant account, use `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/payments-app/latest/post/merchants/(merchantId)/generatePaymentsAppBoardingToken`,children:`/merchants/merchantId/generatePaymentsAppBoardingToken`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`To route transactions over a store, use `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/payments-app/latest/post/merchants/(merchantId)/stores/(storeId)/generatePaymentsAppBoardingToken`,children:`/merchants/merchantId/stores/storeId/generatePaymentsAppBoardingToken`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The app will be configured to the merchant account or store specified in the path, and route all transactions over that merchant account or store. Ensure this aligns with your account structure.`}),`\n`,_jsx(_components.p,{children:`Specify the following in the request:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Path parameters:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameters`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`merchantId`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`The unique identifier of the merchant account.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`storeId`})}),_jsx(_components.td,{}),_jsxs(_components.td,{children:[`The unique identifier of the store.The `,_jsx(_components.code,{children:`storeId`}),` is not the same as store `,_jsx(_components.code,{children:`reference`}),`. If you only know the `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/Management/latest/get/merchants/_merchantId_/stores#query-reference`,children:`reference`}),`, you can use it to get the `,_jsx(_components.code,{children:`storeId`}),` with an API call.`,_jsx(`br`,{}),`Request parameters:`]})]})]})]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameters`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boardingRequestToken`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsxs(_components.td,{children:[`The app token used to request a `,_jsx(_components.code,{children:`boardingToken`}),` from Adyen. You received the boarding request token in `,_jsx(_components.a,{href:`#check-boarding-status`,children:`step 1 of the boarding process`}),`.`]})]})})]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Create a boarding token request`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl https://management-test.adyen.com/v1/merchants/{merchantId}/generatePaymentsAppBoardingToken \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -H 'x-API-key: ADYEN_API_KEY' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -H 'content-type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -d '{`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"boardingRequestToken\": \"BOARDING_REQUEST_TOKEN\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`}'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`From the response, save the `,_jsx(_components.code,{children:`boardingToken`}),`, which you will need in the `,_jsx(_components.a,{href:`#finish-boarding`,children:`last step of the boarding process`}),`.`,_jsx(_components.br,{}),`\n`,`The response consists of the following parameters:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`installationId`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`The unique identifier of the Payments app instance on the specific device.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boardingToken`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`The one-time token used to authenticate the app installation. Valid for one hour.`})]})]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Create boarding token response`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"installationId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INSTALLATION_ID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"boardingToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BOARDING_TOKEN\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`]}),`\n`]}),_jsx(Heading,{level:`3`,id:`1-3-finish-boarding-the-app`,children:`1.3. Finish boarding the app`}),_jsxs(_components.p,{children:[`When you have received the `,_jsx(_components.code,{children:`boardingToken`}),` from Adyen, you need to send the boarding token to the Payments app to finish boarding the app and prepare for making payments.`]}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`From your POS app, call the link. The App Link format is as follows:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.adyen.com/test/board?boardingToken=Base64URL{APP_BOARDING_TOKEN}\u0026returnUrl=URLEncoder(your_scheme)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`In this format:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`https://www.adyen.com/test/`}),` is the test base URL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`board`}),` is the path to use for boarding requests.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`boardingToken`}),` is the token generated for this `,_jsx(_components.code,{children:`installationId`}),` in `,_jsx(_components.a,{href:`#authenticate-app-instance`,children:`step 2`}),` of the boarding process. This token must be Base64URL-encoded.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`returnUrl`}),` is the URL-encoded URL where you want to receive the onboarding result (the response).`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The following example shows how you could build the App Link in your Kotlin project.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Build an App Link to board the Payments app`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createBoardingRequestApplink`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` returnUrl: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` boardingToken: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Uri`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Encode the boarding token using Base64 URL encoding.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` encodedBoardingToken `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Base64.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getUrlEncoder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`encodeToString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(boardingToken.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toByteArray`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Encode the return URL to ensure it is safe for URL query parameters.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` encodedUrl `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` URLEncoder.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`encode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(returnUrl, Charsets.UTF_8.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Uri.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`parse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`BuildConfig.APP_LINK_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/board\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`buildUpon`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendQueryParameter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"boardingToken\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, encodedBoardingToken)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendQueryParameter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"returnUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, encodedUrl)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`App Link example`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.adyen.com/test/board?boardingToken=ZXlKaGJHY2lPaUpGVXpJMU5pSXNJblI1Y0NJNklrcFhWQ0o5LmV5SnBZWFFpT2pFM05ERTROalkyT0RFMU9EWXNJbVY0Y0NJNk1UYzBNVGczTURJNE1UVTROaXdpYW1GaGMxVnpaWEpMWlhraU9pSjNjMTg0TXpZeU16RkFRMjl0Y0dGdWVTNVFZWGx0Wlc1MGMwMWhaR1ZGWVhONUlpd2liV1Z5WTJoaGJuUkJZMk52ZFc1MFEyOWtaU0k2SWsxcFkydE9kV2RuWlhSeklpd2lhVzV6ZEdGc2JHRjBhVzl1U1dRaU9pSkdOamxDUWprM05pMDJNRFkxTFRRME5URXRPVUZGTnkwMVFUaEJPVGsyUmpaQk1qa2lMQ0oxUTJGd2NFdGxlU0k2SWsxR2EzZEZkMWxJUzI5YVNYcHFNRU5CVVZsSlMyOWFTWHBxTUVSQlVXTkVVV2RCUlcxTmRqWmhTbTlSWkdabGFXbG5SWGRSVmxjMVlWSkJkM05ZZG1OaGMweGhTVk52ZGpnM05Hc3JUbEZFT0VsRVJXaDRLM1V5UTJkdVVVZDVXalpsU0RKNk5uWTJSVVpEU1U5VU5UWm5kbUpXV1VOeVozQjNQVDBpTENKaWRXNWtiR1ZKWkNJNkltTnZiUzVoWkhsbGJpNXBjSEF1bFc5aWFXeGxMbU52YlhCaGJtbHZiaTVrWlhZaUxDSnViMjVqWlNJNklrVjVTbkpFWkRGWE4zWjZiekJFVURraUxDSm9iM04wY3lJNmV5SmpiMjVtYVdkMWNtRjBhVzl1SWpvaWFIUjBjSE02THk5amFHVmphMjkxZEhCdmN5MTBaWE4wTG1Ga2VXVnVMbU52YlM5amFHVmphMjkxZEhCdmN5SjlMQ0owZVhCbElqb2lRazlCVWtSSlRrZGZWRTlMUlU0aWZRLkxXOS1mZ3g5V201dzVlMFlQdTNzRFAwbFZpNmQyQ21vRmpPQ0plcVlUQTl3ckM5NGNjeVJPaW0wbGJJeU9FbnJpSXVxMlVZWEJ2bGR2dmNPalVpeEhn\u0026returnUrl=your-scheme-test%3A%2F%2Fyour_company.example.com%2Fonboardingresult`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Check the response and decide what to do next:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`boarded`}),` is `,_jsx(_components.strong,{children:`true`}),`: save the `,_jsx(_components.code,{children:`installationId`}),`. You need this when you `,_jsx(_components.a,{href:`#app-transactions`,children:`make a payment`}),`. You do not need board the app again.`]}),`\n`,_jsxs(_components.li,{children:[`If `,_jsx(_components.code,{children:`boarded`}),` is `,_jsx(_components.strong,{children:`false`}),`: check the `,_jsx(_components.code,{children:`error`}),` and try again.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The response consist of the URL-encoded base URL where you want to receive the response and the following parameters:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boarded`})}),_jsx(_components.td,{children:`Boolean`}),_jsx(_components.td,{children:`Indicates if the app is boarded or not.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`installationId`})}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`The unique identifier of the Payments app instance on the specific device.When creating Terminal API requests on your back-end, use this as the `,_jsx(_components.code,{children:`POIID`}),` in the `,_jsx(_components.code,{children:`MessageHeader`}),` of the request.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`Additional information in case an error occurred and `,_jsx(_components.code,{children:`boarded`}),` is `,_jsx(_components.strong,{children:`false`}),`.`]})]})]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example response`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{YOUR_SCHEME}%3A%2F%2Fyour_company.example.com%2Fonboardingresult?boarded=true\u0026installationId=APP_INSTALLATION_ID`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`2-make-a-transaction`,children:`2. Make a transaction`}),_jsx(_components.p,{children:`After the Payments app is boarded, you are ready to make transactions. To do this, you need to create a Terminal API request in Base64URL format and call the request as an App Link from your POS app. The boarded Payments app then communicates with Adyen, receives the response, and returns the response in Base64 format as part of an App Link to your POS app.`}),_jsx(_components.p,{children:`To start a transaction from your POS app:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Create a Terminal API request with the `,_jsx(_components.code,{children:`POIID`}),` value set to the `,_jsx(_components.code,{children:`installationId`}),` value of the boarded Payments app.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`For a `,_jsx(_components.a,{href:`/point-of-sale/basic-tapi-integration/make-a-payment#make-a-payment`,children:`payment`}),`, `,_jsx(_components.a,{href:`/point-of-sale/partial-authorizations`,children:`partial authorization`}),`, `,_jsx(_components.a,{href:`/point-of-sale/pre-authorisation`,children:`pre-authorization`}),`, or `,_jsx(_components.a,{href:`/point-of-sale/basic-tapi-integration/refund-payment/unreferenced`,children:`unreferenced refund`}),`, create a `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/terminal-api/latest/post/payment`,children:`PaymentRequest`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`For a `,_jsx(_components.a,{href:`/point-of-sale/basic-tapi-integration/refund-payment/referenced`,children:`referenced refund`}),`, create a `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/terminal-api/latest/post/reversal`,children:`ReversalRequest`}),`.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Encrypt the Terminal API request as described for a Terminal API integration with local communications.`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/point-of-sale/design-your-integration/choose-your-architecture/local#set-up-shared-key`,children:`Set up a shared key`}),` in your Customer Area or using Management API.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Either `,_jsx(_components.a,{href:`/point-of-sale/design-your-integration/choose-your-architecture/local/protect`,children:`write your own code`}),` to encrypt and decrypt Terminal API messages, or `,_jsx(_components.a,{href:`/point-of-sale/design-your-integration/choose-your-architecture/local/protect-with-library`,children:`use a library`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The following example shows how you could encrypt Terminal API requests using the `,_jsx(_components.a,{href:`https://github.com/Adyen/adyen-java-api-library`,children:`Java library`}),` in a Kotlin project. We also have a `,_jsx(_components.a,{href:`https://github.com/Adyen/adyen-dotnet-api-library`,children:`.NET library`}),` and a `,_jsx(_components.a,{href:`https://github.com/Adyen/adyen-node-api-library`,children:`Node library`}),`.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Encrypt using Java library`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`103`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`103`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` encryptNexoRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` serviceId: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` UUID.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`randomUUID`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleId: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"AndroidSampleApp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` currency: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requestedAmount: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`BigDecimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` installationId: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Create and set up the message header for the Terminal API request`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messageHeader `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` MessageHeader`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` protocolVersion `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"3.0\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messageClass `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MessageClassType.SERVICE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messageCategory `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MessageCategoryType.PAYMENT`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messageType `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MessageType.REQUEST`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` serviceID `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` serviceId`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleID `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleId`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` poiid `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` installationId`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Set up the security key with the values from the Customer Area or Management API`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` SecurityKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` adyenCryptoVersion `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` keyIdentifier `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.KEY_IDENTIFIER`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` passphrase `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.PASS_PHRASE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` keyVersion `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.VERSION`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // This function creates a Terminal API request and returns the serialized value`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nexoRequestJson `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createNexoRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(messageHeader `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messageHeader, currency `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` currency, requestedAmount `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requestedAmount)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Encrypt the Terminal API request using the NexoCrypto class`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // The first parameter is the serialized Terminal API request, and the second parameter is the message header`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` encrypted `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` NexoCrypto`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(securityKey).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`encrypt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nexoRequestJson,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messageHeader,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Add the encryption response to the TerminalAPISecuredRequest`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` terminalSecuredRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` TerminalAPISecuredRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` terminalSecuredRequest.saleToPOIRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` encrypted`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // You can use your own serialization library to convert the encrypted request to JSON`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Ensure your serialization library properly handles HMAC and nonce properties:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // These properties are byte arrays, and they need to be serialized into Base64-encoded strings.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // If you use the Adyen Java library, it provides a specific Gson configuration for this purpose`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` gson `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TerminalAPIGsonBuilder.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Adjust if using a different serialization library`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` gson.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toJson`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(terminalSecuredRequest)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // This function creates an example Terminal API request. Include additional fields as needed.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // You can use your own model and serialization library. This is just an example.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createNexoRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messageHeader: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`MessageHeader`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` currency: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requestedAmount: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`BigDecimal`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` transactionID: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"SampleApp-AndroidTx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleTransactionID `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` TransactionIdentification`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` timeStamp `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCurrentXMLGregorianCalendar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.transactionID `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` transactionID`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleData `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` SaleData`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.saleTransactionID `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleTransactionID`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` amountsReq `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` AmountsReq`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.currency `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` currency`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.requestedAmount `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` requestedAmount`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` paymentTransaction `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` PaymentTransaction`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.amountsReq `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` amountsReq`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` paymentRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` PaymentRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.saleData `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleData`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.paymentTransaction `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` paymentTransaction`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleToPOIRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` SaleToPOIRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.messageHeader `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` messageHeader`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.paymentRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` paymentRequest`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` terminalAPIRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` TerminalAPIRequest`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.saleToPOIRequest `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` saleToPOIRequest`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` gson `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TerminalAPIGsonBuilder.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` gson.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toJson`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(terminalAPIRequest)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getCurrentXMLGregorianCalendar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`XMLGregorianCalendar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Create a GregorianCalendar instance with UTC timezone`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` calendar `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` GregorianCalendar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` time `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` Date`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` calendar.timeZone `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` java.util.TimeZone.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getTimeZone`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UTC\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Convert GregorianCalendar to XMLGregorianCalendar`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DatatypeFactory.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`newInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`newXMLGregorianCalendar`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(calendar)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`]})})}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Encode the Terminal API request to Base64URL.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`From your POS app, call the link. The App Link format is as follows:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.adyen.com/test/nexo?request=NexoRequest.Base64Url{Encryption{NexoRequest}}\u0026returnUrl=URLEncoder(your_scheme)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`In this format:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`https://www.adyen.com/test/`}),` is the test base URL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`nexo`}),` is the path to use for transactions.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`request`}),` is the Base64URL-encoded and encrypted Terminal API payment request.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`returnUrl`}),` is the URL-encoded URL where you want to receive the Terminal API response.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The following example shows how you could build the App Link in your Kotlin project.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Build an App Link to initiate a payment`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` buildPaymentRequestApplink`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` returnUrl: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` encryptedTapiRequest: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Uri`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` returnUrlEncoded `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` URLEncoder.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`encode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(returnUrl, Charsets.UTF_8.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` encoded `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Base64.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getUrlEncoder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`encodeToString`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(encryptedTapiRequest.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toByteArray`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Uri.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`parse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`BuildConfig.APP_LINK_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/nexo\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`buildUpon`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendQueryParameter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, encoded)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendQueryParameter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"returnUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, returnUrlEncoded).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`App Link example`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.adyen.com/test/nexo?request=eyJTYWxlVG9QT0lSZXF1ZXN0Ijp7Ik1lc3NhZ2VIZWFkZXIiOnsiTWVzc2FnZUNhdGVnb3J5IjoiUGF5bWVudCIsIk1lc3NhZ2VDbGFzcyI6IlNlcnZpY2UiLCJNZXNzYWdlVHlwZSI6IlJlcXVlc3QiLCJQT0lJRCI6IkY2OUJCOTc2LTYwNjUtNDQ1MS05QUU3LTVBOEE5OTZGNkEyOSIsIlByb3RvY29sVmVyc2lvbiI6IjMuMCIsIlNhbGVJRCI6IkFuZHJvaWRTYW1wbGVBcHAiLCJTZXJ2aWNlSUQiOiI4NzE2MDg0NC02In0sIk5leG9CbG9iIjoiY3UrVGJwOHZWekIvZy9GWkZFMGJTWlpzUVh5Y1lWL3ZrM2ltZk9KbjhyTm1sQ1dEMkRnbS9qK2FQendIK3hXVDZhNU1JYjVSSlp5UkwrQmQ5c01SSStYYUFQYzBBTS9keWNXN2lTN0FJcGprUnZXNnV2OVlnUmdFbGl1NE1Nd1pkZndlNk11YzE1RGhqYko1SjVVc3VCSFFveHdDSjF5MTBSbTdlZUw3RXd1RlppZnU2OVBIWjB2U3ZxTytRL2doK0Eya1dVSThXSG5tTXAzWGlLL1JWdFp5WmJTaStSNkdFSVowVVVhYU85eW5TalpYZTBPTSs3YTdySXlqRmxQQkUvQS90SlRoVEtjZSs4YjZkc3JITFVLeVhmUFJjc1pGc1FUVk9ra2kvSkZnUjJqc2krZzZjUHJ4Y3oxVWpCRENGSTdiYk9pVjhKQ1pkdFlINnAxMUdpRXRJV1AzU2Qvb0ZDUkduK1lKelNRTGR2UFo0R2tHV3liZEoyb0ZaTEhrTmVXa0o1N29YN3RkcVNsajNrMjJCMzdzZ0p4STgzU3hielljRmQya2pQckFHOUpHOFNHL041M1JKTTNSY0lMK2Q1MndVM2MvRDl2TkNqYW01V2dOZldYT3cyeDFoNlR0L1lQNXdkdHFsTFpYNG55b3BKNndZMS9FZTBIUWIzVFJ0WEswWHBEbmphdGJkKzhWVm4xdGQxbmhDTDgzTDYxWXJRWUEyMG9XN25rOVI5dVY0ZDdnc0U2ZENGUzJMSmI4UytiYmVnd2szaGhJM0dRMEFJWHJpOG5ZaHhWNFF1M0o1dFJ3Unl4VDZYWW5oRnRDU3ZQTzNyY0VFcGpqeTZDTitBcHMrcVJrWWY0S1BnWkIyWU9mcnQrUlM1K080Tnp3OFkyOStaMCtHOVVJeHNLMVVIY1psWVFDTkFvOHNqRzdtalNDTm90Q2JTYk9BcVJIZmU5eXI1azRtdXZHenRzcUM4Y3R2aGRLeXpUQk5jTTJzR3NodzVJZis5TUJYRkR0WFJ1OFVFVEN3V2xDNnpNWXZreUphWHB6V2NOOVRJQ29HY2J4RkVMTWRBNjlVSjV2UktsNW9mTzd4UEhNSU9sSzBIYlpheElmeklJeDg1dGxPV2wzbUZnUCtJbzlDangrTXA4TklpaDJEeTkvVlE5L1NPeTVIeHFYYjRWb2JCNHdwUW91YXh0YzNuTEVLYktQaVZxd1R3PT0iLCJTZWN1cml0eVRyYWlsZXIiOnsiQWR5ZW5DcnlwdG9WZXJzaW9uIjoxLCJIbWFjIjoiT2N1aGMvVHJtaDlCL1FWQ2JmbFVsd3E0aTN3T2lKbkVTaC95RmovZDM1Zz0iLCJLZXlJZGVudGlmaWVyIjoidGhpcyIsIktleVZlcnNpb24iOjEyMywiTm9uY2UiOiJFK0VuRVFRUkFjc21YWlpMTng1c0lBPT0ifX19\u0026returnUrl=your-scheme-test%3A%2F%2Fyour_company.example.com`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`A Tap to Pay screen appears on the mobile device.`}),`\n`,_jsx(_components.p,{children:`If the shopper does not present their payment method within 30 seconds, the payment request times out. If that happens, you need to make another payment request.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Use the response to show the payment result in your POS app. Select the tab `,_jsx(_components.em,{children:`Receive full response`}),` if your POS app is installed on your mobile device. Select the tab `,_jsx(_components.em,{children:`Receive short response in browser`}),` if you are using a browser-based POS app.`]}),`\n`]}),`\n`]})]}),_jsxs(Tab,{title:`Receive full response`,id:`receive-full-response`,children:[_jsxs(_components.p,{children:[`When your POS app is installed on the mobile device, you receive the full payment response. The response consist of the `,_jsx(_components.code,{children:`returnUrl`}),` you specified in the link, and the following parameters:`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Base64URL-encoded and encrypted Terminal API payment response.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`Additional information in case an error occurs.`})]})]})]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response example`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{YOUR_SCHEME}://your_company.example.com?response=PAYMENT_RESPONSE`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.ol,{start:`6`,children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Decrypt the Terminal API response using the security key.`}),`\n`,_jsx(_components.p,{children:`The following example shows how you could do that using the Adyen Java library in a Kotlin project.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Decrypt using Java library`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` decryptNexoResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Decode the Base64 URL-encoded response string to retrieve the original encrypted Terminal API response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` decoded `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(Base64.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getUrlDecoder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`decode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(response))`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` SecurityKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey.adyenCryptoVersion `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey.keyIdentifier `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.KEY_IDENTIFIER`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey.passphrase `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.PASS_PHRASE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey.keyVersion `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.VERSION`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` gson `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` TerminalAPIGsonBuilder.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` gson.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fromJson`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(decoded, TerminalAPISecuredResponse::`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`class`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.java)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` NexoCrypto`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(securityKey).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`decrypt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.saleToPOIResponse)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`]})})}),`\n`]}),`\n`]})]}),_jsxs(Tab,{title:`Receive short response in browser`,id:`receive-short-response-in-browser`,\"data-child-heading-ids\":`[\"reboard-the-app\",\"initiate-reboarding\",\"revoke-app-instance\",\"test-your-solution\",\"go-live\",\"verify-app-instance\",\"next-steps\"]`,children:[_jsxs(_components.p,{children:[_jsx(_components.a,{href:``}),`A web-based POS app requires a short payment response, because the full Terminal API response is too large for some browsers. The short response contains the result of the transaction, and a URL from which the full payment result can be retrieved.`]}),_jsx(_components.p,{children:`The short payment response is an App Link you receive from the Payments app with the following parameters:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`response`})}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`Base64URL-encoded and encrypted short payment response object, containing:`,_jsx(`br`,{}),_jsx(_components.code,{children:`result`}),`: Possible values: `,_jsx(_components.strong,{children:`Success`}),`, `,_jsx(_components.strong,{children:`Partial`}),`, or `,_jsx(_components.strong,{children:`Failure`}),`. `,_jsx(_components.code,{children:`url`}),`: The URL to retrieve the full payment response from. When the transaction is cancelled, this field is returned empty. `,_jsx(_components.code,{children:`errorCondition`}),`: If `,_jsx(_components.code,{children:`result`}),` is `,_jsx(_components.strong,{children:`Failure`}),` it contains the error reason. `,_jsx(_components.code,{children:`traceParent`}),`: If result is `,_jsx(_components.strong,{children:`Failure`}),` it contains the trace that can be shared with our Support team for troubleshooting if the error is unclear`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`securityTrailer`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`A Base64URL-encoded object containing information about the shared key used for the encryption. This information is needed to decode and decrypt the short response.`})]})]})]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Short response example`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{YOUR_SCHEME}://your_company.example.com?response=SHORT_PAYMENT_RESPONSE\u0026securityTrailer=SECURITY_TRAILER`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Decode the Base64URL from the `,_jsx(_components.code,{children:`response`}),` string. Note that the result is a Base64-encoded ciphertext.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Decode Base64URL from the response`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` decodedBase64 `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(Base64.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getUrlDecoder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`decode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(responseFromDeeplink))`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` decryptShortNexoResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(securityTrailerModel, decoded)`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Decrypt the Base64-encoded ciphertext. The following example shows how you can do that using the Adyen Java library in a Kotlin project.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Decrypt using Java library`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`15`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` decryptShortNexoResponse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(securityTrailer: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`SecurityTrailer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, nexoResponse: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` SecurityKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey.adyenCryptoVersion `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey.keyIdentifier `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.KEY_IDENTIFIER`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey.passphrase `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.PASS_PHRASE`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` securityKey.keyVersion `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` BuildConfig.VERSION`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nexoModel `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` com.adyen.terminal.security.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`SaleToPOISecuredMessage`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nexoModel.nexoBlob `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nexoResponse`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nexoModel.securityTrailer `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` com.adyen.model.terminal.security.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`SecurityTrailer`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`apply`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` hmac `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Base64.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getDecoder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`decode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(securityTrailer.hmac.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toByteArray`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` nonce `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Base64.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getDecoder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`decode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(securityTrailer.nonce.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`toByteArray`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` NexoCrypto`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(securityKey).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`decrypt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(nexoModel)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Below is an example of a short response in plaintext that contains the result and the URL to call to receive the full response.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Short response in plain text`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`result=Success\u0026url=https://checkoutpos-live.adyen.com/checkoutpos/v1/merchants/{merchantId}/paymentsApps/{installationId}/payments/{pspReference}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Optionally, make a GET request to the URL your received in the short response to receive the full `,_jsx(_components.a,{href:`/point-of-sale/basic-tapi-integration/make-a-payment#payment-response`,children:`payment response`}),`.`]}),`\n`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`reboard-the-app`,children:`Reboard the app`}),_jsx(_components.p,{children:`If you need to change the merchant account or store that you want to process payments for, you must reboard the app.`}),_jsx(_components.p,{children:`As soon as you start the reboarding flow, the app loses the association with the merchant account or store that the app was previously boarded to. This means you cannot use the app/mobile device combination for payments until the reboarding process is completed. If an error occurs during the reboarding, you need to start the reboarding flow again.`}),_jsx(_components.p,{children:`Reboarding is a three-step process that is the same as the initial boarding process, except for the first step of initiating the reboarding.`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`#initiate-reboarding`,children:`Initiate reboarding`}),`.`,_jsx(_components.br,{}),`\n`,`From your POS app, you call a link to force the app to start a new boarding process even though it is already boarded.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Authenticate the app instance.`,_jsx(_components.br,{}),`\n`,`This step is exactly the same `,_jsx(_components.a,{href:`#authenticate-app-instance`,children:`as described under “Board the app”`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Finish boarding the app.`,_jsx(_components.br,{}),`\n`,`This step is exactly the same `,_jsx(_components.a,{href:`#finish-boarding`,children:`as described under “Board the app”`}),`.`]}),`\n`]}),`\n`]}),_jsx(Heading,{level:`3`,id:`initiate-reboarding`,children:`Initiate reboarding`}),_jsx(_components.p,{children:`To start the reboarding flow, you call an App Link from your POS app to force the Adyen Payments app to start a new boarding process.`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`From your POS app, call the link. The App Link format is as follows:`,_jsx(_components.br,{}),`\n`,_jsx(_components.code,{children:`https://www.adyen.com/test/boarded?returnUrl=URLEncoder(your_scheme)\u0026reboard=true`})]}),`\n`,_jsx(_components.p,{children:`In this format:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`https://www.adyen.com/test/`}),` is the test base URL.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`boarded`}),` is the path to use for boarding checks.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`returnUrl`}),` is the URL-encoded URL where you want to receive the response.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`reboard`}),` is a Boolean parameter that must be set to `,_jsx(_components.strong,{children:`true`}),` to start the reboarding process.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The following example shows how you could build the App Link in your Kotlin project.`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Build an App Link to start reboarding`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`kotlin`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`kotlin`,children:_jsxs(_components.code,{language:`kotlin`,numberOfLines:`10`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`private`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` fun`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` createReboardingCheckApplink`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` returnUrl: `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`): `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`Uri`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Encode the returnUrl to ensure it is safe for use as a URL query parameter.`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` val`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` returnUrlEncoded `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` URLEncoder.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`encode`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(returnUrl, Charsets.UTF_8.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`name`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`())`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Uri.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`parse`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#D4D4D4`},children:`BuildConfig.APP_LINK_URL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/boarded\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`buildUpon`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendQueryParameter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"returnUrl\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, returnUrlEncoded)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`appendQueryParameter`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"reboard\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Add this line for reboarding`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`App Link example`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://www.adyen.com/test/boarded?returnUrl=your-scheme-test%3A%2F%2Fyour_company.example.com%2Fonboarding\u0026reboard=true`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Check the response you receive at your `,_jsx(_components.code,{children:`returnUrl`}),`, and Base64-decode the `,_jsx(_components.code,{children:`data`}),` string.`]}),`\n`,_jsx(_components.p,{children:`The response consists of the URL-encoded base URL where you want to receive the response and the following parameters:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boarded`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`Boolean`}),_jsxs(_components.td,{children:[`Indicates if the app was previously boarded. If the app was not previously boarded, the value is `,_jsx(_components.strong,{children:`false`}),` and the reboarding process will serve to board the app.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`installationId`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`The unique identifier of the Payments app instance on the specific device.When creating Terminal API requests on your back-end, use this as the `,_jsx(_components.code,{children:`POIID`}),` in the `,_jsx(_components.code,{children:`MessageHeader`}),` of the request.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`boardingRequestToken`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`The app token used to get the `,_jsx(_components.code,{children:`boardingToken`}),` from Adyen.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`String`}),_jsx(_components.td,{children:`A Base64-encoded JSON object with details of the previous boarding.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`When you Base64-decode the `,_jsx(_components.code,{children:`data`}),` string, this results in a JSON object with the following parameters:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`date`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`Timestamp indicating when the reboarding started, in ISO-8601 UTC format. Example: `,_jsx(_components.strong,{children:`2025-11-10T17:34:48.123Z`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`reboarding`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`Indicates that this is a reboarding flow. Will be `,_jsx(_components.strong,{children:`true`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`merchantAccountCode`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`The merchant account that the app was `,_jsx(_components.em,{children:`previously`}),` boarded to. Will be `,_jsx(_components.strong,{children:`null`}),` if the app was not previously boarded.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`merchantStoreCode`})}),_jsx(_components.td,{}),_jsx(_components.td,{children:`String`}),_jsxs(_components.td,{children:[`The ID of the store that the app was `,_jsx(_components.em,{children:`previously`}),` boarded to. Will be `,_jsx(_components.strong,{children:`null`}),` if the app was not previously boarded.`]})]})]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example response after initiating reboarding`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{YOUR_SCHEME}%3A%2F%2Fyour_company.example.com%2Fonboarding?boarded=false\u0026installationId=\u003cINSTALLATION_ID>\u0026boardingRequestToken=\u003cBOARDING_REQUEST_TOKEN>\u0026data=\u003cBASE64_ENCODED_DATA>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Continue with the steps to authenticate and finish boarding the app. For instructions, see:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#authenticate-app-instance`,children:`Authenticate the app instance`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`#finish-boarding`,children:`Finish boarding the app`}),`.`]}),`\n`]}),`\n`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`revoke-app-instance`,children:`Revoke app instance`}),_jsxs(_components.p,{children:[`If your Android mobile device is defective, stolen, or you do not need it anymore for payments processing, you must stop the Payments app from processing transactions with Adyen. To do this, you make an API call to Adyen to revoke the specified `,_jsx(_components.code,{children:`installationId`}),`.`]}),_jsx(_components.p,{children:`To revoke a boarding token:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Optionally, make either a GET `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/payments-app/latest/get/merchants/(merchantId)/paymentsApps`,children:`/merchants/merchantId/paymentsApps`}),` or `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/payments-app/latest/get/merchants/(merchantId)/stores/(storeId)/paymentsApps`,children:`/merchants/merchantId/stores/storeId/paymentsApps`}),` request to retrieve the list of Payments app instances for a merchant account or a store. You can then use the `,_jsx(_components.code,{children:`installationId`}),` to revoke boarding tokens.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Make a POST `,_jsx(_components.a,{href:`https://docs.adyen.com/api-explorer/payments-app/latest/post/merchants/(merchantId)/paymentsApps/(installationId)/revoke`,children:`/merchants/merchantId/paymentsApps/installationId/revoke`}),` request specifying:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`As path parameters:`}),`\n`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameters`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`installationId`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`The unique identifier of the Payments app instance on the specific device.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`merchantId`})}),_jsx(_components.td,{children:_jsx(_components.img,{src:`https://docs.adyen.com/user/data/smileys/emoji/white_check_mark.png`,alt:`-white_check_mark-`})}),_jsx(_components.td,{children:`The unique identifier of the merchant account.`})]})]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Revoke Payments app instance authentication`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl https://management-test.adyen.com/v1/merchants/{merchantId}/paymentsApps/{installationId}/revoke \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -H 'x-API-key: ADYEN_API_KEY' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -H 'content-type: application/json' \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -X POST \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`If successful, the response returns `,_jsx(_components.strong,{children:`200 OK`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`In the Payments app, go to `,_jsx(_components.strong,{children:`Settings`}),` and select `,_jsx(_components.strong,{children:`Unregister`}),` to revoke the app from the UI of your mobile device.`]}),`\n`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`test-your-solution`,children:`Test your solution`}),_jsx(_components.p,{children:`To make test transactions:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Make sure you are using the test version of the Payments app.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Initiate a test transaction using the following Adyen point-of-sale test cards to complete the payment:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/point-of-sale/testing-pos-payments/test-card-v3`,children:`White-green test card`})}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/point-of-sale/testing-pos-payments/test-card-v2`,children:`Blue-green test card`}),` version `,_jsx(_components.strong,{children:`2.4`}),` or later`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`The instructions are the same for both cards; see either of the pages mentioned above.`}),`\n`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`go-live`,children:`Go live`}),_jsx(_components.p,{children:`When you have finished testing your integration and are ready to go live:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`If new to Adyen, get a `,_jsx(_components.a,{href:`/get-started-with-adyen#apply-for-your-live-account`,children:`live account`}),`. You need to have access to your organization’s live Customer Area to generate an API credentials for the live environment.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.a,{href:`https://ca-live.adyen.com/`,children:`live Customer Area`}),` generate a new API key with the `,_jsx(_components.strong,{children:`Adyen Payments app role`}),` for use with the Adyen Payments app.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Download the `,_jsx(_components.a,{href:`https://play.google.com/store/apps/details?id=com.adyen.ipp.mobile.companion.live`,children:`Adyen Payments`}),` app from the Google Play store.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Contact us to enable Tap to Pay on Android, and optionally also enable unreferenced refunds.`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Update your code to use the live URLs for App Links:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`https://www.adyen.com/boarded`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`https://www.adyen.com/board`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`https://www.adyen.com/nexo`})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Update your code to use the live Management API endpoints:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`https://management-live.adyen.com`})}),`\n`]}),`\n`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`verify-app-instance`,children:`Verify app instance`}),_jsxs(_components.p,{children:[`Adyen continuously checks if the app instance on your Android mobile device is authentic. This is to protect your integration against `,_jsx(_components.a,{href:`https://en.wikipedia.org/wiki/Man-in-the-middle_attack`,children:`man-in-the-middle`}),` attacks, eavesdropping, and tampering. You can also check this yourself manually using a different device and your email address.`]}),_jsx(_components.p,{children:`To verify the app instance, in the Payments app:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.strong,{children:`Settings`}),` and tap `,_jsx(_components.strong,{children:`Verify app`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Enter your email address and tap `,_jsx(_components.strong,{children:`Send email`}),`.`]}),`\n`,_jsx(_components.li,{children:`Check your email on another device. You should have received an email with a 5-character code.`}),`\n`,_jsxs(_components.li,{children:[`In the Payments app, if you received the email, tap `,_jsx(_components.strong,{children:`Continue`}),`. If you did not receive the email, check the email address you entered, and tap `,_jsx(_components.strong,{children:`Resend email`}),` and go back to step 2.`]}),`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Verify app`}),`, check that the 5-character code on the screen matches the code you received in the email.`]}),`\n`]}),_jsxs(_components.p,{children:[`If the app instance verification is successful, you can continue making payments with the Payments app. If the verification fails, Adyen automatically revokes the app instance. In this case, you need to `,_jsx(_components.a,{href:`#board-the-app`,children:`board the app again`}),` on that Android mobile device.`]}),_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Manage your solution`,icon:`gear`,href:`/point-of-sale/mobile-android/manage`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Required.`}),` Make your solution available and keep the software up-to-date.`]})}),_jsx(Card,{title:`Checklists`,icon:`list-check`,href:`/point-of-sale/mobile-android/checklists`,children:_jsx(_components.p,{children:`Get a list of what needs to be done to get started and go live with a Mobile solution.`})}),_jsx(Card,{title:`Error handling`,icon:`circle-xmark`,href:`/point-of-sale/mobile-android/troubleshooting`,children:_jsx(_components.p,{children:`Resolve errors that appear on the mobile Android device.`})})]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Android Payments App","description":"Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.","href":"/point-of-sale/mobile-android/build/payments-app"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Requirements","slug":"requirements","depth":2,"children":[]},{"title":"How it works","slug":"how-it-works","depth":2,"children":[]},{"title":"1. Board the app","slug":"1-board-the-app","depth":2,"children":[{"title":"1.1 Check the boarding status","slug":"1-1-check-the-boarding-status","depth":3,"children":[]},{"title":"1.2. Authenticate the app instance","slug":"1-2-authenticate-the-app-instance","depth":3,"children":[],"tabId":"response%3A-payments-app-is-boarded"},{"title":"1.3. Finish boarding the app","slug":"1-3-finish-boarding-the-app","depth":3,"children":[],"tabId":"response%3A-payments-app-is-boarded"}]},{"title":"2. Make a transaction","slug":"2-make-a-transaction","depth":2,"children":[],"tabId":"response%3A-payments-app-is-boarded"},{"title":"Reboard the app","slug":"reboard-the-app","depth":2,"children":[{"title":"Initiate reboarding","slug":"initiate-reboarding","depth":3,"children":[],"tabId":"receive-short-response-in-browser"}],"tabId":"receive-short-response-in-browser"},{"title":"Revoke app instance","slug":"revoke-app-instance","depth":2,"children":[],"tabId":"receive-short-response-in-browser"},{"title":"Test your solution","slug":"test-your-solution","depth":2,"children":[],"tabId":"receive-short-response-in-browser"},{"title":"Go live","slug":"go-live","depth":2,"children":[],"tabId":"receive-short-response-in-browser"},{"title":"Verify app instance","slug":"verify-app-instance","depth":2,"children":[],"tabId":"receive-short-response-in-browser"},{"title":"Next steps","slug":"next-steps","depth":2,"children":[],"tabId":"receive-short-response-in-browser"}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/adyen-preview/60f49d66a6c7e631/disable-image-open.js"],"subdomain":"adyen-preview","siteName":"Adyen Docs","title":"Android Payments App - Adyen Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-14T18:12:49.608Z","originalFileLocation":"point-of-sale/mobile-android/build/payments-app.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Adyen Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Android Payments App - Adyen Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Adyen Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://adyen-preview.mintlify.site/_mintlify/api/og/v2?division=Build+your+Android+mobile+solution\u0026amp;title=Android+Payments+App\u0026amp;description=Use+our+Payments+app+to+enable+Tap+to+Pay+on+your+Android+mobile+devices+without+integrating+our+POS+Mobile+SDK.\u0026amp;theme=8534ab0e95bc3dedc267edec\u0026amp;signature=d01088b2be6058dd1b434d84f6d44aa0f5fe595c9f1329d407f5e6342695053d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Android Payments App - Adyen Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://adyen-preview.mintlify.site/_mintlify/api/og/v2?division=Build+your+Android+mobile+solution\u0026amp;title=Android+Payments+App\u0026amp;description=Use+our+Payments+app+to+enable+Tap+to+Pay+on+your+Android+mobile+devices+without+integrating+our+POS+Mobile+SDK.\u0026amp;theme=8534ab0e95bc3dedc267edec\u0026amp;signature=d01088b2be6058dd1b434d84f6d44aa0f5fe595c9f1329d407f5e6342695053d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/adyen-preview/tS4a7N9b_Xnl87WT/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Adyen Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0abf53\">\u003clink data-mint-head rel=\"canonical\" href=\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/point-of-sale/mobile-android/build/payments-app.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://adyen-preview.mintlify.app/#organization\",\"name\":\"Adyen Docs\",\"url\":\"https://adyen-preview.mintlify.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/adyen-preview/lASzPax-5LijrTyv/logo/adyen-logo-light.svg?fit=max\u0026auto=format\u0026n=lASzPax-5LijrTyv\u0026q=85\u0026s=2c1afa7588316f526e65513e790f5095\"}},{\"@type\":\"WebSite\",\"@id\":\"https://adyen-preview.mintlify.app#website\",\"name\":\"Adyen Docs\",\"url\":\"https://adyen-preview.mintlify.app\",\"publisher\":{\"@id\":\"https://adyen-preview.mintlify.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app#webpage\",\"url\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app\",\"name\":\"Android Payments App\",\"description\":\"Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.\",\"dateModified\":\"2026-10-14T18:12:49.608Z\",\"isPartOf\":{\"@id\":\"https://adyen-preview.mintlify.app#website\"},\"breadcrumb\":{\"@id\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In-person payments\",\"item\":\"https://adyen-preview.mintlify.app/point-of-sale\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android mobile solutions\",\"item\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Build your Android mobile solution\",\"item\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Android Payments App\",\"item\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app#article\",\"headline\":\"Android Payments App\",\"name\":\"Android Payments App\",\"description\":\"Use our Payments app to enable Tap to Pay on your Android mobile devices without integrating our POS Mobile SDK.\",\"url\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app\",\"mainEntityOfPage\":{\"@id\":\"https://adyen-preview.mintlify.app/point-of-sale/mobile-android/build/payments-app#webpage\"},\"dateModified\":\"2026-10-14T18:12:49.608Z\",\"publisher\":{\"@id\":\"https://adyen-preview.mintlify.app/#organization\"},\"isPartOf\":{\"@id\":\"https://adyen-preview.mintlify.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Adyen Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Adyen Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/point-of-sale/mobile-android/build/payments-app.md","siteName":"Adyen Docs","nav":{"global":null,"tabs":[{"tab":"Payments","menu":[{"item":"Get started","description":"Start accepting payments with Adyen.","pages":[{"title":"Get started","href":"/get-started-with-adyen"}]},{"item":"Online payments","description":"Accept ecommerce payments on your website or in your mobile app.","pages":[{"title":"Online payments","href":"/online-payments"}]},{"item":"In-person payments","description":"Accept point-of-sale payments with our terminals and Tap to Pay.","groups":[{"group":"In-person payments","pages":[{"title":"In-person Payments","href":"/point-of-sale"},{"group":"What we support","root":{"title":"What We Support","href":"/point-of-sale/what-we-support"},"pages":[{"title":"Solutions","href":"/point-of-sale/what-we-support/solutions"},{"title":"Locations and Languages","href":"/point-of-sale/what-we-support/supported-languages"},{"group":"Payment methods","root":{"title":"Payment Methods","href":"/point-of-sale/what-we-support/payment-methods"},"pages":[{"title":"Add Payment Methods","href":"/point-of-sale/what-we-support/payment-methods/add-payment-methods"},{"title":"Manage Payment Methods","href":"/point-of-sale/what-we-support/payment-methods/manage-payment-methods"}]},{"title":"Terminals","href":"/point-of-sale/what-we-support/select-your-terminals"}]},{"group":"Integration overview","root":{"title":"Integration Overview","href":"/point-of-sale/get-started"},"pages":[{"title":"Terminal API Integration Checklist","href":"/point-of-sale/get-started/tapi-checklist"},{"title":"Terminal API Go-live Checklist","href":"/point-of-sale/get-started/go-live-tapi"}]},{"group":"Design your integration","root":{"title":"Design Your Integration","href":"/point-of-sale/design-your-integration"},"pages":[{"group":"Set up your account for in-person payments","root":{"title":"Set up Your Account for In-person Payments","href":"/point-of-sale/design-your-integration/determine-account-structure"},"pages":[{"title":"Automate Store Management","href":"/point-of-sale/design-your-integration/determine-account-structure/automate-store-management"},{"title":"Configure Features","href":"/point-of-sale/design-your-integration/determine-account-structure/configure-features"}]},{"group":"Choose an integration architecture","root":{"title":"Choose an Integration Architecture","href":"/point-of-sale/design-your-integration/choose-your-architecture"},"pages":[{"group":"Building a local integration","root":{"title":"Building a Local Integration","href":"/point-of-sale/design-your-integration/choose-your-architecture/local"},"pages":[{"title":"Protect with a Library","href":"/point-of-sale/design-your-integration/choose-your-architecture/local/protect-with-library"},{"title":"Protect with Your Own Code","href":"/point-of-sale/design-your-integration/choose-your-architecture/local/protect"}]},{"title":"Building a Cloud Integration","href":"/point-of-sale/design-your-integration/choose-your-architecture/cloud"}]},{"group":"Network and connectivity","root":{"title":"Network and Connectivity","href":"/point-of-sale/design-your-integration/network-and-connectivity"},"pages":[{"title":"Network Configuration","href":"/point-of-sale/design-your-integration/network-and-connectivity/network-configuration"},{"title":"Wi-Fi Profiles","href":"/point-of-sale/design-your-integration/network-and-connectivity/wi-fi-profiles"},{"title":"Cellular Failover","href":"/point-of-sale/design-your-integration/network-and-connectivity/cellular-failover"},{"title":"Bluetooth Beacons","href":"/point-of-sale/design-your-integration/network-and-connectivity/set-up-beacons"},{"title":"Bluetooth PAN and Tethering","href":"/point-of-sale/design-your-integration/network-and-connectivity/bluetooth-pan"},{"title":"Bluetooth Base Station","href":"/point-of-sale/design-your-integration/network-and-connectivity/bt-base-station"},{"title":"Networking Issues","href":"/point-of-sale/design-your-integration/network-and-connectivity/networking-issues"},{"title":"End of 2G/3G Network Coverage","href":"/point-of-sale/design-your-integration/network-and-connectivity/end-of-3g"}]},{"group":"Terminal API","root":{"title":"Terminal API","href":"/point-of-sale/design-your-integration/terminal-api"},"pages":[{"title":"Get the Terminal ID","href":"/point-of-sale/design-your-integration/terminal-api/get-the-terminal-id"}]},{"group":"Notifications and webhooks","root":{"title":"Notifications and Webhooks","href":"/point-of-sale/design-your-integration/notifications"},"pages":[{"group":"Display notifications","root":{"title":"Display Notifications","href":"/point-of-sale/design-your-integration/notifications/display-notifications"},"pages":[{"title":"Tender States","href":"/point-of-sale/design-your-integration/notifications/display-notifications/tender-state-reference-sheet"}]},{"title":"Event Notifications","href":"/point-of-sale/design-your-integration/notifications/event-notifications"},{"title":"Platform-generated Webhooks","href":"/point-of-sale/design-your-integration/notifications/standard-notifications"}]}]},{"group":"Implement the payment flow","root":{"title":"Implement the Payment Flow","href":"/point-of-sale/basic-tapi-integration"},"pages":[{"group":"Make a payment","root":{"title":"Make a Payment","href":"/point-of-sale/basic-tapi-integration/make-a-payment"},"pages":[{"title":"Greece Tax Regulations","href":"/point-of-sale/basic-tapi-integration/make-a-payment/greece-tax"}]},{"title":"Pass Application Information","href":"/point-of-sale/basic-tapi-integration/pass-application-information"},{"title":"Cancel an In-progress Transaction","href":"/point-of-sale/basic-tapi-integration/cancel-a-transaction"},{"title":"Generate Receipts","href":"/point-of-sale/basic-tapi-integration/generate-receipts"},{"group":"Refund a payment","root":{"title":"Refund a Payment","href":"/point-of-sale/basic-tapi-integration/refund-payment"},"pages":[{"title":"Referenced Refund","href":"/point-of-sale/basic-tapi-integration/refund-payment/referenced"},{"title":"Unreferenced Refund","href":"/point-of-sale/basic-tapi-integration/refund-payment/unreferenced"},{"title":"Cancel an Unreferenced Refund","href":"/point-of-sale/basic-tapi-integration/refund-payment/cancel-unreferenced"},{"title":"Outcome of a Refund","href":"/point-of-sale/basic-tapi-integration/refund-payment/refund-webhooks"}]},{"title":"Verify Transaction Status","href":"/point-of-sale/basic-tapi-integration/verify-transaction-status"}]},{"group":"Handle responses","root":{"title":"Handle Responses","href":"/point-of-sale/error-scenarios"},"pages":[{"title":"Terminal API Refusal Reasons","href":"/point-of-sale/error-scenarios/refusal-reasons-pos"},{"title":"Raw Responses","href":"/point-of-sale/error-scenarios/raw-acquirer-responses"},{"title":"Penalty Box","href":"/point-of-sale/error-scenarios/penalty-box"},{"title":"Time-outs","href":"/point-of-sale/error-scenarios/pos-timeouts"}]},{"group":"Test your integration","root":{"title":"Test Your Integration","href":"/point-of-sale/testing-pos-payments"},"pages":[{"title":"White-green Adyen Point-of-sale Test Card","href":"/point-of-sale/testing-pos-payments/test-card-v3"},{"title":"Blue-green Adyen Point-of-sale Test Card","href":"/point-of-sale/testing-pos-payments/test-card-v2"},{"title":"White Adyen Point-of-sale Test Card","href":"/point-of-sale/testing-pos-payments/test-card-v1"},{"title":"B2 Test Cards","href":"/point-of-sale/testing-pos-payments/b2-test-cards"}]},{"group":"Run diagnostics","root":{"title":"Run Diagnostics","href":"/point-of-sale/diagnostics"},"pages":[{"title":"Make a Diagnosis Request","href":"/point-of-sale/diagnostics/request-diagnosis"},{"title":"Check the Cloud Connection","href":"/point-of-sale/diagnostics/check-cloud-connection"}]},{"group":"Add information to a payment","root":{"title":"Add Information to a Payment","href":"/point-of-sale/add-data"},"pages":[{"title":"Use Tender Options","href":"/point-of-sale/add-data/tender-options"},{"title":"SaleToAcquirerData","href":"/point-of-sale/add-data/sale-to-acquirer-data"}]},{"title":"Card Application Selection","href":"/point-of-sale/aid-selection-rules"},{"title":"Cardholder Verification Methods","href":"/point-of-sale/cardholder-verification-methods"},{"title":"Cashback","href":"/point-of-sale/cashback-and-cash-out"},{"title":"Capture","href":"/point-of-sale/capturing-payments"},{"title":"Donations Using Giving","href":"/point-of-sale/donate"},{"group":"Dynamic currency conversion","root":{"title":"Dynamic Currency Conversion","href":"/point-of-sale/currency-conversion"},"pages":[{"title":"View the DCC Dashboard","href":"/point-of-sale/currency-conversion/download-and-use-the-dcc-overview-file"}]},{"group":"Installments","root":{"title":"Installments","href":"/point-of-sale/installments"},"pages":[{"title":"Installments in Brazil","href":"/point-of-sale/installments/brazil-installments"},{"title":"Installments in Japan","href":"/point-of-sale/installments/japan-installments"},{"title":"Installments in Mexico","href":"/point-of-sale/installments/mexico-installments"}]},{"group":"Mail order/telephone order (MOTO)","root":{"title":"Mail Order/Telephone Order (MOTO)","href":"/point-of-sale/mail-and-telephone-order-moto"},"pages":[{"title":"AVS Responses for Point of Sale","href":"/point-of-sale/mail-and-telephone-order-moto/avs-responses-pos"}]},{"title":"Manual Key Entry (MKE)","href":"/point-of-sale/enter-payment-manually"},{"title":"Offline Payments","href":"/point-of-sale/offline-payment"},{"title":"Payment Facilitators","href":"/point-of-sale/payment-facilitators"},{"group":"Reconciling totals","root":{"title":"Reconciling Totals","href":"/point-of-sale/reconciling-totals"},"pages":[{"title":"Log in and Log Out","href":"/point-of-sale/reconciling-totals/log-in-and-log-out"},{"title":"Retrieve Totals from the Terminal","href":"/point-of-sale/reconciling-totals/retrieve-totals-from-the-terminal"},{"title":"Reconcile a Balance Mismatch","href":"/point-of-sale/reconciling-totals/reconcile-a-balance-mismatch"}]},{"title":"Risk Management","href":"/point-of-sale/risk-management-pos"},{"group":"Surcharge","root":{"title":"Surcharge","href":"/point-of-sale/surcharge"},"pages":[{"title":"Configuration-based Surcharge","href":"/point-of-sale/surcharge/configuration"},{"title":"Dynamic Surcharge","href":"/point-of-sale/surcharge/dynamic"}]},{"group":"Tipping","root":{"title":"Tipping","href":"/point-of-sale/tipping"},"pages":[{"title":"Tipping from the POS App","href":"/point-of-sale/tipping/tipping-from-cash-register"},{"group":"Tipping from the terminal","root":{"title":"Tipping from the Terminal","href":"/point-of-sale/tipping/tipping-from-terminal"},"pages":[{"title":"Override Configured Tipping Options","href":"/point-of-sale/tipping/tipping-from-terminal/override-tipping-configuration"},{"title":"Override the Amount to Tip On","href":"/point-of-sale/tipping/tipping-from-terminal/change-amount-to-tip-on"}]},{"title":"Tipping on the Receipt","href":"/point-of-sale/tipping/tipping-on-receipt"}]},{"title":"Tokenization","href":"/point-of-sale/recurring-payments"},{"title":"Pre-authorization and Authorization Adjustment","href":"/point-of-sale/pre-authorisation"},{"title":"Autonomous Stores","href":"/point-of-sale/autonomous-stores"},{"group":"Card acquisition","root":{"title":"Card Acquisition","href":"/point-of-sale/card-acquisition"},"pages":[{"title":"Receive Card and Shopper Identifiers","href":"/point-of-sale/card-acquisition/identifiers"},{"title":"Shopper Insights","href":"/point-of-sale/card-acquisition/insights"}]},{"group":"Card recognition","root":{"title":"Card Recognition","href":"/point-of-sale/shopper-recognition"},"pages":[{"title":"Card-based Identification","href":"/point-of-sale/shopper-recognition/identification"},{"title":"Card Identification Before Refunding","href":"/point-of-sale/shopper-recognition/before-refund"},{"title":"Tax-free Shopping with Secure Card Capture","href":"/point-of-sale/shopper-recognition/tax-free-shopping"}]},{"title":"Custom Cards","href":"/point-of-sale/custom-cards"},{"group":"Shopper loyalty","root":{"title":"Shopper Loyalty","href":"/point-of-sale/loyalty"},"pages":[{"title":"Card and Shopper Identifiers for Loyalty Use Cases","href":"/point-of-sale/loyalty/payment-data"},{"title":"Wallet Passes","href":"/point-of-sale/loyalty/wallet-passes"}]},{"title":"NFC Tags Reading and Writing","href":"/point-of-sale/nfc-tags"},{"title":"Make Pay-at-table Payments","href":"/point-of-sale/pay-at-x"},{"title":"Quick Chip","href":"/point-of-sale/quick-chip"},{"group":"Shopper engagement","root":{"title":"Shopper Engagement","href":"/point-of-sale/shopper-engagement"},"pages":[{"title":"Create a Flow","href":"/point-of-sale/shopper-engagement/create-session"},{"group":"Display data on the terminal","root":{"title":"Display Data on the Terminal","href":"/point-of-sale/shopper-engagement/display-data"},"pages":[{"title":"Show a QR Code on the Terminal","href":"/point-of-sale/shopper-engagement/display-data/display-qr-code"},{"title":"Show a Virtual Receipt on the Terminal","href":"/point-of-sale/shopper-engagement/display-data/display-receipt"},{"title":"Show an Image on the Terminal","href":"/point-of-sale/shopper-engagement/display-data/display-image"},{"title":"Show the Standby Screen","href":"/point-of-sale/shopper-engagement/display-data/idle-display"}]},{"group":"Collect input","root":{"title":"Collect Input","href":"/point-of-sale/shopper-engagement/shopper-input"},"pages":[{"title":"Ask for Confirmation","href":"/point-of-sale/shopper-engagement/shopper-input/confirmation"},{"title":"Ask for a Signature","href":"/point-of-sale/shopper-engagement/shopper-input/signature"},{"title":"Ask to Select a Single Answer from a List","href":"/point-of-sale/shopper-engagement/shopper-input/menu"},{"title":"Ask to Select One or More Answers from a List","href":"/point-of-sale/shopper-engagement/shopper-input/multi-menu"},{"title":"Ask for Numeric Input","href":"/point-of-sale/shopper-engagement/shopper-input/digit"},{"title":"Ask for Amount Input","href":"/point-of-sale/shopper-engagement/shopper-input/amount"},{"title":"Ask for Phone Number Input","href":"/point-of-sale/shopper-engagement/shopper-input/phone-number"},{"group":"Ask for a rating","root":{"title":"Ask for a Rating","href":"/point-of-sale/shopper-engagement/shopper-input/rating"},"pages":[{"title":"Ask for a Rating\u0026mdash;single Key Press","href":"/point-of-sale/shopper-engagement/shopper-input/rating/rating-single-press"}]},{"title":"Ask for Text Input","href":"/point-of-sale/shopper-engagement/shopper-input/text"},{"title":"Cancel Collecting Input","href":"/point-of-sale/shopper-engagement/shopper-input/cancel-input"}]},{"title":"Print Data on the Terminal","href":"/point-of-sale/shopper-engagement/print-data"},{"title":"Third-party Interactions","href":"/point-of-sale/shopper-engagement/third-party-interactions"}]},{"group":"Standalone solution","root":{"title":"Standalone Solution","href":"/point-of-sale/standalone"},"pages":[{"group":"Build a standalone solution","root":{"title":"Build a Standalone Solution","href":"/point-of-sale/standalone/standalone-build"},"pages":[{"title":"Standalone Integration Checklist","href":"/point-of-sale/standalone/standalone-build/standalone-checklist"},{"title":"Standalone Go-live Checklist","href":"/point-of-sale/standalone/standalone-build/go-live-standalone"},{"title":"Standalone Setup","href":"/point-of-sale/standalone/standalone-build/set-up-standalone"}]},{"title":"Use a Standalone Terminal","href":"/point-of-sale/standalone/standalone-use"}]},{"group":"Get started manuals","root":{"title":"Get Started Manuals","href":"/point-of-sale/user-manuals"},"pages":[{"title":"e280 User Manual","href":"/point-of-sale/user-manuals/e280-user-manual"},{"title":"e285p and e285 User Manual","href":"/point-of-sale/user-manuals/e285-user-manual"},{"title":"M400 User Manual","href":"/point-of-sale/user-manuals/m400-user-manual"},{"title":"P400 Plus User Manual","href":"/point-of-sale/user-manuals/p400-plus-user-manual"},{"title":"UX300 User Manual","href":"/point-of-sale/user-manuals/ux300-user-manual"},{"title":"UX410 User Manual","href":"/point-of-sale/user-manuals/ux410-user-manual"},{"title":"V210 User Manual","href":"/point-of-sale/user-manuals/v210-user-manual"},{"title":"V240m Plus User Manual","href":"/point-of-sale/user-manuals/v240m-user-manual"},{"title":"V400c Plus User Manual","href":"/point-of-sale/user-manuals/v400c-user-manual"},{"title":"V400m User Manual","href":"/point-of-sale/user-manuals/v400m-user-manual"},{"title":"V400m with Bluetooth Base Station","href":"/point-of-sale/user-manuals/v400m-with-bt-base"},{"title":"AMS1 User Manual","href":"/point-of-sale/user-manuals/ams1-user-manual"},{"title":"M450 User Manual","href":"/point-of-sale/user-manuals/m450-user-manual"},{"title":"P630 User Manual","href":"/point-of-sale/user-manuals/p630-user-manual"},{"title":"S1E User Manual","href":"/point-of-sale/user-manuals/s1e-user-manual"},{"title":"S1E2L User Manual","href":"/point-of-sale/user-manuals/s1e2l-user-manual"},{"title":"S1F2 User Manual","href":"/point-of-sale/user-manuals/s1f2-user-manual"},{"title":"S1U2 User Manual","href":"/point-of-sale/user-manuals/s1u2-user-manual"},{"title":"SFO1 User Manual","href":"/point-of-sale/user-manuals/sfo1-user-manual"},{"title":"NYC1 Card Reader User Guide","href":"/point-of-sale/user-manuals/nyc1"},{"title":"NYC1 Card Reader with NYC1 Dock User Guide","href":"/point-of-sale/user-manuals/nyc1-with-dock"},{"group":"Deprecation of eVo terminals","root":{"title":"Deprecation of eVo Terminals","href":"/point-of-sale/user-manuals/terminal-deprecation"},"pages":[{"group":"e315 user manual","root":{"title":"e315 User Manual","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual"},"pages":[{"title":"Inspect Device Security - e315","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual/inspect-device-security-e315"},{"title":"Charge the e315","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual/charge-the-e315"},{"title":"Install an iPod or iPhone into the e315","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual/install-an-ipod-or-iphone-into-the-e315"},{"title":"Turn on and Turn Off the e315","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual/turn-on-and-turn-off-the-e315"},{"title":"Board the Terminal - e315","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual/board-the-terminal-e315"},{"title":"Use the Admin Menu - e315","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual/use-the-admin-menu-e315"},{"title":"Understand the LED Colors - e315","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual/understand-the-led-colors-e315"},{"title":"Troubleshooting and Support - e315","href":"/point-of-sale/user-manuals/terminal-deprecation/e315-user-manual/troubleshooting-and-support-e315"}]},{"group":"e355 user manual","root":{"title":"e355 User Manual","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual"},"pages":[{"title":"Inspect Device Security - e355","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/inspect-device-security-e355"},{"title":"Charge the e355","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/charge-the-e355"},{"title":"Turn on and Off the e355","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/turn-on-and-off-the-e355"},{"title":"Connect the e355 to Your Wireless Network","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/connect-the-e355-to-your-wireless-network"},{"title":"Board the Terminal - e355","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/board-the-terminal-e355"},{"title":"Use the Admin Menu - e355","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/use-the-admin-menu-e355"},{"title":"View Device Info - e355","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/view-terminal-information-e355"},{"group":"Attach and use the e355 frame","root":{"title":"Attach and Use the e355 Frame","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/attach-and-use-the-e355-frame"},"pages":[{"title":"Attach a Tablet to the Frame","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/attach-and-use-the-e355-frame/attach-a-tablet-to-the-frame"},{"title":"Attach the e355 to the Frame","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/attach-and-use-the-e355-frame/attach-the-e355-to-the-frame"},{"title":"Remove a Tablet from the Frame","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/attach-and-use-the-e355-frame/remove-a-tablet-from-the-frame"},{"title":"Remove the e355 from the Frame","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/attach-and-use-the-e355-frame/remove-the-e355-from-the-frame"},{"title":"Connect the e355 Frame to a Power Source","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/attach-and-use-the-e355-frame/connect-the-e355-frame-to-a-power-source"}]},{"group":"Make a payment on the e355 over Bluetooth","root":{"title":"Make a Payment on the e355 over Bluetooth","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/make-a-payment-on-the-e355-over-bluetooth"},"pages":[{"title":"Step 1- Clean the Bluetooth Configuration","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/make-a-payment-on-the-e355-over-bluetooth/step-1-clean-the-bluetooth-configuration"},{"title":"Step 2 - Pair the e355 with a Mobile Device","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/make-a-payment-on-the-e355-over-bluetooth/step-2-pair-the-e355-with-a-mobile-device"},{"title":"Step 3 - Start a Transaction","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/make-a-payment-on-the-e355-over-bluetooth/step-3-start-a-transaction"},{"title":"Remove Configuration and Reboard","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/make-a-payment-on-the-e355-over-bluetooth/remove-configuration-and-reboard"},{"title":"Troubleshoot the Bluetooth Connection","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/make-a-payment-on-the-e355-over-bluetooth/troubleshoot-the-bluetooth-connection"}]},{"title":"Understand the LED Colors - e355","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/understand-the-led-colors-e355"},{"title":"Troubleshooting and Support - e355","href":"/point-of-sale/user-manuals/terminal-deprecation/e355-user-manual/troubleshooting-and-support-e355"}]},{"group":"MX925 user manual","root":{"title":"MX925 User Manual","href":"/point-of-sale/user-manuals/terminal-deprecation/mx925-user-manual"},"pages":[{"title":"Inspect Device Security - MX925","href":"/point-of-sale/user-manuals/terminal-deprecation/mx925-user-manual/inspect-device-security-mx925"},{"title":"Board the Terminal - MX925","href":"/point-of-sale/user-manuals/terminal-deprecation/mx925-user-manual/board-the-terminal-mx925"},{"title":"Use the Admin Menu - MX925","href":"/point-of-sale/user-manuals/terminal-deprecation/mx925-user-manual/use-the-admin-menu-mx925"},{"title":"View Device Info - MX925","href":"/point-of-sale/user-manuals/terminal-deprecation/mx925-user-manual/view-terminal-information-mx925"},{"title":"Troubleshooting and Support MX925","href":"/point-of-sale/user-manuals/terminal-deprecation/mx925-user-manual/troubleshooting-and-support-mx925"}]},{"group":"VX675 user manual","root":{"title":"VX675 User Manual","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual"},"pages":[{"title":"Inspect Device Security - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/inspect-device-security-vx675"},{"title":"Turn on and Turn Off the VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/turn-on-and-turn-off-the-vx675"},{"title":"Connect the VX675 to Your Wireless Network","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/connect-the-vx675-to-your-wireless-network"},{"title":"Install or Replace Paper Rolls - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/install-or-replace-paper-rolls-vx675"},{"title":"Board the Terminal - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/board-the-terminal-vx675"},{"title":"Use the Admin Menu - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/use-the-admin-menu-vx675"},{"title":"View Device Info - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/view-terminal-information-vx675"},{"title":"Make Special Payments - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/make-special-payments-vx675"},{"title":"Print a Summary of Transaction Totals - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/print-shift-and-end-of-day-reports-vx675"},{"title":"Perform a Refund in Standalone Mode - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/perform-a-refund-vx675"},{"title":"Troubleshooting and Support - VX675","href":"/point-of-sale/user-manuals/terminal-deprecation/vx675-user-manual/troubleshooting-and-support-vx675"}]},{"group":"VX680 user manual","root":{"title":"VX680 User Manual","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual"},"pages":[{"title":"Inspect Device Security - VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/inspect-device-security-vx680"},{"title":"Charge the VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/charge-the-vx680"},{"title":"Turn on and Turn Off the VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/turn-on-and-turn-off-the-vx680"},{"title":"Install or Replace Paper Rolls - VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/install-or-replace-paper-rolls-vx680"},{"title":"Connect the VX680 to Your Wi-Fi Network","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/connect-the-vx680-to-your-wi-fi-network"},{"title":"Board the Terminal - VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/board-the-terminal-vx680"},{"title":"Use the Admin Menu - VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/use-the-admin-menu-vx680"},{"title":"View Device Info - VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/view-terminal-information-vx680"},{"title":"Make Special Payments - VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/make-special-payments-vx680"},{"title":"Perform a Refund in Standalone Mode - VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/perform-a-refund-vx680"},{"title":"Print a Summary of Transaction Totals - VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/print-shift-and-end-of-day-reports-vx680"},{"title":"Troubleshooting and Support VX680","href":"/point-of-sale/user-manuals/terminal-deprecation/vx680-user-manual/troubleshooting-and-support-vx680"}]},{"group":"VX690 user manual","root":{"title":"VX690 User Manual","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual"},"pages":[{"title":"Inspect Device Security - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/inspect-device-security-vx690"},{"title":"Install or Replace Paper Rolls - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/install-or-replace-paper-rolls-vx690"},{"title":"Connect the VX690 to Your Wireless Network","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/connect-the-vx690-to-your-wireless-network"},{"title":"Board the Terminal - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/board-the-terminal-vx690"},{"group":"Connect a VX690 to a base station with Bluetooth","root":{"title":"Connect a VX690 to a Base Station with Bluetooth","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/connect-a-vx690-to-a-base-station-with-bluetooth"},"pages":[{"title":"Understand the Bluetooth Base Station LED Colors","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/connect-a-vx690-to-a-base-station-with-bluetooth/understand-the-bluetooth-base-station-led-colors"}]},{"title":"Use the Admin Menu - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/use-the-admin-menu-vx690"},{"title":"View Device Info - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/view-terminal-information-vx690"},{"title":"Make Special Payments - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/make-special-payments-vx690"},{"title":"Perform a Refund in Standalone Mode - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/perform-a-refund-vx690"},{"title":"Print a Summary of Transaction Totals - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/print-shift-and-end-of-day-reports-vx690"},{"title":"Troubleshooting and Support - VX690","href":"/point-of-sale/user-manuals/terminal-deprecation/vx690-user-manual/troubleshooting-and-support-vx690"}]},{"group":"VX820 user manual","root":{"title":"VX820 User Manual","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-user-manual"},"pages":[{"title":"Inspect Device Security - VX820","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-user-manual/inspect-device-security-vx820"},{"title":"Board the Terminal - VX820","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-user-manual/board-the-terminal-vx820"},{"title":"Use the Admin Menu - VX820","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-user-manual/use-the-admin-menu-vx820"},{"title":"View Device Info - VX820","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-user-manual/view-terminal-information-vx820"},{"title":"Troubleshooting and Support VX820","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-user-manual/troubleshooting-and-support-vx820"}]},{"group":"VX820 Duet user manual","root":{"title":"VX820 Duet User Manual","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual"},"pages":[{"title":"Inspect Device Security - VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/inspect-device-security-vx820-duet"},{"title":"Install or Replace Paper Rolls - VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/install-or-replace-paper-rolls-vx820-duet"},{"title":"Board the Terminal - VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/board-the-terminal-vx820-duet"},{"title":"Use the Admin Menu - VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/use-the-admin-menu-vx820-duet"},{"title":"View Device Info - VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/view-terminal-information-vx820-duet"},{"title":"Make Special Payments - VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/make-special-payments-vx820-duet"},{"title":"Perform a Refund in Standalone Mode - VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/perform-a-refund-vx820-duet"},{"title":"Print a Summary of Transaction Totals - VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/print-shift-and-end-of-day-reports-vx820-duet"},{"title":"Troubleshooting and Support VX820 Duet","href":"/point-of-sale/user-manuals/terminal-deprecation/vx820-duet-user-manual/troubleshooting-and-support-vx820-duet"}]}]},{"title":"S1E4Pro User Manual","href":"/point-of-sale/user-manuals/s1e4pro-user-manual"},{"title":"S1F4Pro User Manual","href":"/point-of-sale/user-manuals/s1f4pro-user-manual"}]},{"title":"Menus and Passcodes","href":"/point-of-sale/menu-access"},{"group":"Android terminals","root":{"title":"Android Terminals","href":"/point-of-sale/android-terminals"},"pages":[{"title":"Android App Requirements","href":"/point-of-sale/android-terminals/app-requirements"},{"group":"Deploy apps to your terminals","root":{"title":"Deploy Apps to Your Terminals","href":"/point-of-sale/android-terminals/deploy-apps"},"pages":[{"title":"Upload Apps and Certificates","href":"/point-of-sale/android-terminals/deploy-apps/upload"},{"title":"Schedule Deployment Using the Customer Area","href":"/point-of-sale/android-terminals/deploy-apps/schedule"},{"title":"Deploy Using Profiles","href":"/point-of-sale/android-terminals/deploy-apps/profiles"},{"title":"Schedule Terminal Actions to Deploy Apps","href":"/point-of-sale/android-terminals/deploy-apps/terminal-actions-api"}]},{"group":"Accessibility mode on Android terminals","root":{"title":"Accessibility Mode on Android Terminals","href":"/point-of-sale/android-terminals/accessibility-mode"},"pages":[{"title":"Turn on Accessibility Mode from the POS App","href":"/point-of-sale/android-terminals/accessibility-mode/accessibility-from-pos"},{"title":"Turn on Accessibility Mode from the Terminal","href":"/point-of-sale/android-terminals/accessibility-mode/accessibility-from-terminal"}]},{"group":"Barcode scanning","root":{"title":"Barcode Scanning","href":"/point-of-sale/android-terminals/scan-barcode"},"pages":[{"title":"Activate Barcode Scanning Using the Scan Button on the Terminal","href":"/point-of-sale/android-terminals/scan-barcode/button-scan"},{"title":"Activate Scanning a Single Barcode Using Terminal API","href":"/point-of-sale/android-terminals/scan-barcode/single-session"},{"title":"Activate Scanning Multiple Barcodes Using Terminal API","href":"/point-of-sale/android-terminals/scan-barcode/batch-session"}]},{"title":"Kiosk Mode","href":"/point-of-sale/android-terminals/kiosk-mode"},{"title":"Remote Troubleshooting","href":"/point-of-sale/android-terminals/start-remote-session"},{"title":"Customize Your Android Payment Terminals with Themes","href":"/point-of-sale/android-terminals/themes"}]},{"group":"Manage your terminal fleet","root":{"title":"Manage Your Terminal Fleet","href":"/point-of-sale/managing-terminals"},"pages":[{"title":"Order, Return, or Replace Terminals","href":"/point-of-sale/managing-terminals/order-terminals"},{"title":"Payment Terminal Security Inspection","href":"/point-of-sale/managing-terminals/security-inspection"},{"title":"Assign Terminals","href":"/point-of-sale/managing-terminals/assign-terminals"},{"title":"Board the Terminal","href":"/point-of-sale/managing-terminals/board-terminal"},{"title":"Customize Terminal Settings","href":"/point-of-sale/managing-terminals/customize-terminals"},{"title":"Manage Battery Power","href":"/point-of-sale/managing-terminals/battery-management"},{"title":"Maintain Performance","href":"/point-of-sale/managing-terminals/maintain-performance"}]},{"group":"Automate the management of your terminals","root":{"title":"Automate the Management of Your Terminals","href":"/point-of-sale/automating-terminal-management"},"pages":[{"title":"Order Terminals","href":"/point-of-sale/automating-terminal-management/order-terminals-api"},{"title":"Assign Terminals","href":"/point-of-sale/automating-terminal-management/assign-terminals-api"},{"title":"Use API Calls to Configure Terminals","href":"/point-of-sale/automating-terminal-management/configure-terminals-api"}]},{"group":"Troubleshooting terminals","root":{"title":"Troubleshooting Terminals","href":"/point-of-sale/pos-troubleshooting"},"pages":[{"title":"Run Connection Tests from the Terminal","href":"/point-of-sale/pos-troubleshooting/connection-tests"},{"title":"Run Hardware Tests","href":"/point-of-sale/pos-troubleshooting/hardware-tests"}]},{"title":"What We Support in Our Mobile Solutions","href":"/point-of-sale/ipp-mobile"},{"group":"Android mobile solutions","root":{"title":"Android Mobile Solutions","href":"/point-of-sale/mobile-android"},"pages":[{"title":"Android System Requirements","href":"/point-of-sale/mobile-android/requirements"},{"title":"Security of the Android Mobile Solutions","href":"/point-of-sale/mobile-android/security"},{"title":"Get-started and Go-live Checklists for Android","href":"/point-of-sale/mobile-android/checklists"},{"title":"Understand the Android Mobile Solutions","href":"/point-of-sale/mobile-android/understand"},{"group":"Build your Android mobile solution","root":{"title":"Build Your Android Mobile Solution","href":"/point-of-sale/mobile-android/build"},"pages":[{"title":"Tap to Pay on Android","href":"/point-of-sale/mobile-android/build/tap-to-pay"},{"title":"Card Reader Solution for Android","description":"Integrate your POS app with the Adyen Mobile SDK for Android to make mobile payments using a card reader.","href":"/point-of-sale/mobile-android/build/card-reader"},{"title":"Android Payments App","href":"/point-of-sale/mobile-android/build/payments-app"}]},{"title":"Manage Your Android Mobile Solution","description":"Learn how to enable and maintain your solution and keep the software up-to-date.","href":"/point-of-sale/mobile-android/manage"},{"title":"Error Handling","href":"/point-of-sale/mobile-android/troubleshooting"}]},{"group":"iOS mobile solutions","root":{"title":"iOS Mobile Solutions","href":"/point-of-sale/mobile-ios"},"pages":[{"title":"iOS System Requirements","href":"/point-of-sale/mobile-ios/requirements"},{"title":"Security of the iOS Mobile Solutions","href":"/point-of-sale/mobile-ios/security"},{"title":"Get-started and Go-live Checklists","href":"/point-of-sale/mobile-ios/checklists"},{"title":"Understand the iOS Mobile Solutions","href":"/point-of-sale/mobile-ios/understand"},{"group":"Build your iOS mobile solution","root":{"title":"Build Your iOS Mobile Solution","href":"/point-of-sale/mobile-ios/build"},"pages":[{"title":"Tap to Pay on iPhone","href":"/point-of-sale/mobile-ios/build/tap-to-pay"},{"title":"Card Reader Solution for iOS","href":"/point-of-sale/mobile-ios/build/card-reader"}]},{"title":"Manage Your iOS Mobile Solution","href":"/point-of-sale/mobile-ios/manage"},{"title":"Error Handling","href":"/point-of-sale/mobile-ios/troubleshooting"}]},{"group":"Update to a new release","root":{"title":"Update to a New Release","href":"/point-of-sale/release-updating"},"pages":[{"title":"Manually Schedule Terminal Software Updates","href":"/point-of-sale/release-updating/manual-deployment"}]},{"title":"Sneak Peek","href":"/point-of-sale/sneak-preview"},{"title":"Release Notes","href":"/point-of-sale/firmware-release-notes"},{"title":"Deprecation of Classic Libraries","href":"/point-of-sale/classic-library-deprecation"},{"group":"Alternative payment methods","root":{"title":"Alternative Payment Methods","href":"/point-of-sale/alternative-payment-methods"},"pages":[{"title":"Meal Voucher Payments in Brazil","href":"/point-of-sale/alternative-payment-methods/brazil-vouchers"},{"group":"Gift cards and other stored value cards","root":{"title":"Gift Cards and Other Stored Value Cards","href":"/point-of-sale/alternative-payment-methods/gift-cards-terminal-api"},"pages":[{"title":"Activate a Gift Card","href":"/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/activate"},{"title":"Deactivate or Cash Out a Gift Card","href":"/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/deactivate"},{"title":"Load Funds to a Gift Card","href":"/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/load-a-balance"},{"title":"Make a Gift Card Payment","href":"/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/payment"},{"title":"Check the Balance of a Gift Card","href":"/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/query-the-balance"},{"title":"Make a Refund to a Gift Card","href":"/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/refund-gift-cards"},{"title":"Undo a Load Transaction to a Gift Card","href":"/point-of-sale/alternative-payment-methods/gift-cards-terminal-api/void"}]},{"title":"One-time Numeric Code Payments","href":"/point-of-sale/alternative-payment-methods/otc-digit-based-payments"},{"title":"QR Code Wallet Payments","href":"/point-of-sale/alternative-payment-methods/qr-code-wallets"}]},{"title":"Partial Authorizations","href":"/point-of-sale/partial-authorizations"}]}]},{"item":"Omnichannel","description":"Get insights and build customer journeys across sales channels.","pages":[{"title":"Omnichannel","href":"/unified-commerce"}]},{"item":"Plugins","description":"Connect your existing commerce system to our payments platform.","pages":[{"title":"Plugins","href":"/plugins"}]}]},{"tab":"Adyen for Platforms","menu":[{"item":"Get started","description":"Discover which Adyen for Platforms offering is the best for you.","pages":[{"title":"Get started","href":"/adyen-for-platforms-model"}]},{"item":"Platforms","description":"Enable your users to accept online and in-person payments.","pages":[{"title":"Platforms","href":"/platforms"}]},{"item":"Marketplaces","description":"Allow sellers to accept online payments on your marketplace.","pages":[{"title":"Marketplaces","href":"/marketplaces"}]},{"item":"Business accounts","description":"Offer business accounts to your users.","pages":[{"title":"Business accounts","href":"/business-accounts"}]},{"item":"Capital","description":"Enable fast business financing for your users.","pages":[{"title":"Capital","href":"/capital"}]},{"item":"Embedded issuing","description":"Create physical and virtual cards for your users.","pages":[{"title":"Embedded issuing","href":"/issuing"}]},{"item":"Classic platforms","description":"Adyen for Platforms integrations before Aug 1, 2022.","pages":[{"title":"Classic platforms","href":"/classic-platforms"}]}],"pages":[{"title":"Adyen for Platforms","href":"/adyen-for-platforms-model"}]},{"tab":"Enterprise financial products","menu":[{"item":"Enterprise accounts","description":"Store and manage your business funds using an account with financial capabilities.","pages":[{"title":"Enterprise accounts","href":"/payouts/payout-service/enterprise-accounts"}]},{"item":"Enterprise issuing","description":"Create physical and virtual cards to manage your expenses.","pages":[{"title":"Enterprise issuing","href":"/issuing"}]},{"item":"Payouts","description":"Make payouts to third parties in multiple locations and currencies.","pages":[{"title":"Payouts","href":"/payouts"}]}],"pages":[{"title":"Enterprise financial products","href":"/payouts/payout-service/enterprise-accounts"}]},{"tab":"Business operations","menu":[{"item":"Account","description":"Manage your Adyen account configuration in your dashboard.","pages":[{"title":"Account","href":"/account"}]},{"item":"Reporting","description":"Get financial or operational reports for your business.","pages":[{"title":"Reporting","href":"/reporting"}]},{"item":"Risk management","description":"Detect payment fraud, reduce risk, and handle disputes.","pages":[{"title":"Risk management","href":"/risk-management"}]},{"item":"Adyen Uplift","description":"Optimize your integration by balancing payment conversion, fraud, and cost.","pages":[{"title":"Adyen Uplift","href":"/uplift"}]}],"pages":[{"title":"Business operations","href":"/account"}]},{"tab":"Development resources","menu":[{"item":"API credentials","description":"Authenticate your API requests with Adyen.","pages":[{"title":"API credentials","href":"/development-resources/api-credentials"}]},{"item":"Webhooks","description":"Get updates about your account, payments, and other integration aspects.","pages":[{"title":"Webhooks","href":"/development-resources/webhooks"}]},{"item":"Error codes and messages","description":"Learn about error responses to API requests.","pages":[{"title":"Error codes and messages","href":"/development-resources/error-codes"}]},{"item":"Release notes","description":"Keep track of the updates and changes in our products.","pages":[{"title":"Release notes","href":"/release-notes"}]},{"item":"More development resources","description":"Learn about testing, integration, and security best practices.","pages":[{"title":"More development resources","href":"/development-resources"}]}],"pages":[{"title":"Development resources","href":"/development-resources/api-credentials"}]},{"tab":"Industries and markets","menu":[{"item":"Industries","description":"See what features we recommend.","pages":[{"title":"Industries","href":"/industries"}]},{"item":"Markets","description":"Dive into discussions about specific markets.","pages":[{"title":"Markets","href":"/industries/markets"}]},{"item":"Peak season readiness","description":"Prepare for the busiest period in the year.","pages":[{"title":"Peak season readiness","href":"/industries/peak-season"}]}],"pages":[{"title":"Industries and markets","href":"/industries"}]}]},"basePath":"","title":"Android Payments App - Adyen Docs","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BA_UUN68.js","lightbox-handle-r17bVUz3.js"]}