PaymentAPI
Google Play 광고 제거 구매 검증
Google Play Billing에서 받은 비소모성 상품 구매 정보를 서버에서 검증하고 광고 제거 권한을 부여합니다.
- 인증 필요 (Bearer JWT)
- userId는 토큰(subject) 기반으로 서버에서 결정
- 요청 productId는 Google Play 상품 ID인 premium
- 검증 성공 시 응답의 entitlement.active=true로 광고 제거 적용 가능
- 같은 구매를 같은 사용자가 다시 검증하면 alreadyProcessed=true로 응답
post/api/v1/payments/google/verify
Request
- Base URL: https://lightsail.melissahttps.cloud
- URL: https://lightsail.melissahttps.cloud/api/v1/payments/google/verify
- Auth: HTTP bearer
Request body
Example request
{
"productId": "premium",
"packageName": "com.melissa.melissaFE",
"orderId": "GPA.1234-5678-9012-34567"
}Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.