PaymentAPI

Google Play 광고 제거 구매 복원

Google Play Billing에서 조회한 보유 구매 목록을 서버에 다시 검증하여 광고 제거 권한을 복원합니다.

  • 인증 필요 (Bearer JWT)
  • userId는 토큰(subject) 기반으로 서버에서 결정
  • 일부 구매 검증 실패가 있어도 API 자체는 성공할 수 있으며 실패 항목은 failed에 포함
  • 최종 광고 제거 여부는 features.adRemoved 값으로 판단
post/api/v1/payments/google/restore

Request

  • Base URL: https://lightsail.melissahttps.cloud
  • URL: https://lightsail.melissahttps.cloud/api/v1/payments/google/restore
  • Auth: HTTP bearer

Request body

Example request

{
  "purchases": [
    {
      "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.