All URIs are relative to https://management-test.adyen.com/v3
Method | HTTP request | Description |
---|---|---|
getCompaniesCompanyIdAndroidApps | GET /companies/{companyId}/androidApps | Get a list of Android apps |
getCompaniesCompanyIdAndroidAppsId | GET /companies/{companyId}/androidApps/{id} | Get Android app |
getCompaniesCompanyIdAndroidCertificates | GET /companies/{companyId}/androidCertificates | Get a list of Android certificates |
postCompaniesCompanyIdAndroidApps | POST /companies/{companyId}/androidApps | Upload Android App |
AndroidAppsResponse getCompaniesCompanyIdAndroidApps(companyId, pageNumber, pageSize, packageName, versionCode)
Get a list of Android apps
Returns a list of the Android apps that are available for the company identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through terminal actions. To make this request, your API credential must have one of the following roles: * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.management.*
val apiInstance = AndroidFilesCompanyLevelApi()
val companyId : kotlin.String = companyId_example // kotlin.String | The unique identifier of the company account.
val pageNumber : kotlin.Int = 56 // kotlin.Int | The number of the page to fetch.
val pageSize : kotlin.Int = 56 // kotlin.Int | The number of items to have on a page, maximum 100. The default is 20 items on a page.
val packageName : kotlin.String = packageName_example // kotlin.String | The package name that uniquely identifies the Android app.
val versionCode : kotlin.Int = 56 // kotlin.Int | The version number of the app.
try {
val result : AndroidAppsResponse = apiInstance.getCompaniesCompanyIdAndroidApps(companyId, pageNumber, pageSize, packageName, versionCode)
println(result)
} catch (e: ClientException) {
println("4xx response calling AndroidFilesCompanyLevelApi#getCompaniesCompanyIdAndroidApps")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AndroidFilesCompanyLevelApi#getCompaniesCompanyIdAndroidApps")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | kotlin.String | The unique identifier of the company account. | |
pageNumber | kotlin.Int | The number of the page to fetch. | [optional] |
pageSize | kotlin.Int | The number of items to have on a page, maximum 100. The default is 20 items on a page. | [optional] |
packageName | kotlin.String | The package name that uniquely identifies the Android app. | [optional] |
versionCode | kotlin.Int | The version number of the app. | [optional] |
Configure ApiKeyAuth: ApiClient.apiKey["X-API-Key"] = "" ApiClient.apiKeyPrefix["X-API-Key"] = "" Configure BasicAuth: ApiClient.username = "" ApiClient.password = ""
- Content-Type: Not defined
- Accept: application/json
AndroidApp getCompaniesCompanyIdAndroidAppsId(companyId, id)
Get Android app
Returns the details of the Android app identified in the path. These apps have been uploaded to Adyen and can be installed or uninstalled on Android payment terminals through terminal actions. To make this request, your API credential must have one of the following roles: * Management API—Android files read * Management API—Android files read and write
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.management.*
val apiInstance = AndroidFilesCompanyLevelApi()
val companyId : kotlin.String = companyId_example // kotlin.String | The unique identifier of the company account.
val id : kotlin.String = id_example // kotlin.String | The unique identifier of the app.
try {
val result : AndroidApp = apiInstance.getCompaniesCompanyIdAndroidAppsId(companyId, id)
println(result)
} catch (e: ClientException) {
println("4xx response calling AndroidFilesCompanyLevelApi#getCompaniesCompanyIdAndroidAppsId")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AndroidFilesCompanyLevelApi#getCompaniesCompanyIdAndroidAppsId")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | kotlin.String | The unique identifier of the company account. | |
id | kotlin.String | The unique identifier of the app. |
Configure ApiKeyAuth: ApiClient.apiKey["X-API-Key"] = "" ApiClient.apiKeyPrefix["X-API-Key"] = "" Configure BasicAuth: ApiClient.username = "" ApiClient.password = ""
- Content-Type: Not defined
- Accept: application/json
AndroidCertificatesResponse getCompaniesCompanyIdAndroidCertificates(companyId, pageNumber, pageSize, certificateName)
Get a list of Android certificates
Returns a list of the Android certificates that are available for the company identified in the path. Typically, these certificates enable running apps on Android payment terminals. The certifcates in the list have been uploaded to Adyen and can be installed or uninstalled on Android terminals through terminal actions. To make this request, your API credential must have one of the following roles: * Management API—Android files read * Management API—Android files read and write * Management API—Terminal actions read * Management API—Terminal actions read and write
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.management.*
val apiInstance = AndroidFilesCompanyLevelApi()
val companyId : kotlin.String = companyId_example // kotlin.String | The unique identifier of the company account.
val pageNumber : kotlin.Int = 56 // kotlin.Int | The number of the page to fetch.
val pageSize : kotlin.Int = 56 // kotlin.Int | The number of items to have on a page, maximum 100. The default is 20 items on a page.
val certificateName : kotlin.String = certificateName_example // kotlin.String | The name of the certificate.
try {
val result : AndroidCertificatesResponse = apiInstance.getCompaniesCompanyIdAndroidCertificates(companyId, pageNumber, pageSize, certificateName)
println(result)
} catch (e: ClientException) {
println("4xx response calling AndroidFilesCompanyLevelApi#getCompaniesCompanyIdAndroidCertificates")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AndroidFilesCompanyLevelApi#getCompaniesCompanyIdAndroidCertificates")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | kotlin.String | The unique identifier of the company account. | |
pageNumber | kotlin.Int | The number of the page to fetch. | [optional] |
pageSize | kotlin.Int | The number of items to have on a page, maximum 100. The default is 20 items on a page. | [optional] |
certificateName | kotlin.String | The name of the certificate. | [optional] |
Configure ApiKeyAuth: ApiClient.apiKey["X-API-Key"] = "" ApiClient.apiKeyPrefix["X-API-Key"] = "" Configure BasicAuth: ApiClient.username = "" ApiClient.password = ""
- Content-Type: Not defined
- Accept: application/json
postCompaniesCompanyIdAndroidApps(companyId)
Upload Android App
Uploads an Android APK file to Adyen. The maximum APK file size is 200 MB. To make this request, your API credential must have the following role: * Management API—Android files read and write >By choosing to upload, install, or run any third-party applications on an Adyen payment terminal, you accept full responsibility and liability for any consequences of uploading, installing, or running any such applications.
// Import classes:
//import com.adyen.client.infrastructure.*
//import com.adyen.model.management.*
val apiInstance = AndroidFilesCompanyLevelApi()
val companyId : kotlin.String = companyId_example // kotlin.String | The unique identifier of the company account.
try {
apiInstance.postCompaniesCompanyIdAndroidApps(companyId)
} catch (e: ClientException) {
println("4xx response calling AndroidFilesCompanyLevelApi#postCompaniesCompanyIdAndroidApps")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AndroidFilesCompanyLevelApi#postCompaniesCompanyIdAndroidApps")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
companyId | kotlin.String | The unique identifier of the company account. |
null (empty response body)
Configure ApiKeyAuth: ApiClient.apiKey["X-API-Key"] = "" ApiClient.apiKeyPrefix["X-API-Key"] = "" Configure BasicAuth: ApiClient.username = "" ApiClient.password = ""
- Content-Type: Not defined
- Accept: application/json