Google Pay API 설정
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
시작하기 전에
앱을 준비하려면 다음 섹션의 단계를 완료합니다.
앱 기본 요건
Android에서 Google Pay API를 사용하려면 앱이 다음 조건을 충족해야 합니다.
- Google Play 스토어를 통해 배포됩니다.
- 다음 구성을 사용하여 빌드되었습니다.
minSdkVersion 23 이상
compileSdkVersion 34 이상
앱을 구성하려면 다음 섹션의 단계를 완료합니다.
앱 종속 항목
모듈의 Gradle 빌드 파일(일반적으로 app/build.gradle 또는 app/build.gradle.kts)에 Google Pay API의 Google Play 서비스 종속 항목을 추가합니다.
Groovy
dependencies {
implementation 'com.google.android.gms:play-services-wallet:19.5.0'
}
Kotlin
dependencies {
implementation("com.google.android.gms:play-services-wallet:19.5.0")
}
라이브 스트림을 시작할 준비가 되면 통합 게시에서 중요한 정보를 확인하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-12-04(UTC)
[null,null,["최종 업데이트: 2025-12-04(UTC)"],[],["To utilize the Google Pay API, ensure your app is on the Google Play store and meets `minSdkVersion` 21 and `compileSdkVersion` 34 or higher. Install the Google Wallet app with a payment method. If Google processes payments or you sell digital goods, use Google Play In-app Billing. Add the `com.google.android.gms:play-services-wallet:19.4.0` dependency to your module's Gradle file. In your `AndroidManifest.xml`, enable the API with the `meta-data` element: `com.google.android.gms.wallet.api.enabled` with a value of `true`.\n"]]