diff --git a/lib/adyen/services/management/android_files_company_level_api.rb b/lib/adyen/services/management/android_files_company_level_api.rb index 6ee7fa6f..f2d33f70 100644 --- a/lib/adyen/services/management/android_files_company_level_api.rb +++ b/lib/adyen/services/management/android_files_company_level_api.rb @@ -34,6 +34,15 @@ def list_android_certificates(company_id, headers: {}, query_params: {}) @client.call_adyen_api(@service, action, {}, headers, @version) end + def reprocess_android_app(company_id, id, headers: {}) + endpoint = '/companies/{companyId}/androidApps/{id}'.gsub(/{.+?}/, '%s') + endpoint = endpoint.gsub(%r{^/}, '') + endpoint = format(endpoint, company_id, id) + + action = { method: 'patch', url: endpoint } + @client.call_adyen_api(@service, action, {}, headers, @version) + end + def upload_android_app(company_id, headers: {}) endpoint = '/companies/{companyId}/androidApps'.gsub(/{.+?}/, '%s') endpoint = endpoint.gsub(%r{^/}, '')