ÿÿ Refund Saver ã®è¨­å®šã‚’å–å¾—ã™ã‚‹ (API)
GET /api/v2/server-side-api/purchase/profile/refund-saver/settings/

Refund Saver ã®è¨­å®šã‚’å–å¾—ã™ã‚‹

ã“ã®ãƒ¦ãƒ¼ã‚¶ãƒ¼ã® Refund Saver 設定(Adapty ãŒãƒ¦ãƒ¼ã‚¶ãƒ¼ã®è¿”金リクエストを拒å¦ã¾ãŸã¯æ‰¿èªã™ã‚‹ã‚ˆã†æ±‚ã‚ã‚‹ã‹ã©ã†ã‹ï¼‰ã‚’å–å¾—ã—ã¾ã™ã€‚ã¾ãŸã€ãƒ¦ãƒ¼ã‚¶ãƒ¼ãŒ Apple ã¨ã®ãƒ‡ãƒ¼ã‚¿å…±æœ‰ã«åŒæ„ã—ã¦ã„ã‚‹ã‹ã©ã†ã‹ã®ãƒ‡ãƒ¼ã‚¿å…±æœ‰è¨­å®šã‚‚å–å¾—ã—ã¾ã™ã€‚

Header parameters

adapty-customer-user-idstring

ãŠå®¢æ§˜ã®ã‚·ã‚¹ãƒ†ãƒ ã«ãŠã‘る顧客ã®ä¸€æ„ã® ID ã§ã™ã€‚adapty-customer-user-id ã¾ãŸã¯ adapty-profile-id ã®ã„ãšã‚Œã‹ãŒå¿…é ˆã§ã™ã€‚

adapty-profile-idstring · uuid

ãŠå®¢æ§˜ã®ã‚·ã‚¹ãƒ†ãƒ ã«ãŠã‘るプロファイルã®ä¸€æ„ã® ID ã§ã™ã€‚匿åプロファイルを扱ã†å ´åˆã«æœ€é©ã§ã™ã€‚adapty-customer-user-id ã¾ãŸã¯ adapty-profile-id ã®ã„ãšã‚Œã‹ãŒå¿…é ˆã§ã™ã€‚

Responses

è¨­å®šãŒæ­£å¸¸ã«å–å¾—ã•れã¾ã—ãŸ

Schema
profile_idstringrequired

顧客プロファイル ID

settingsobjectrequired

ユーザー㮠Refund Saver 設定

consentboolean

ユーザーãŒãƒ‡ãƒ¼ã‚¿å…±æœ‰ã«åŒæ„ã—ãŸã‹ã©ã†ã‹ã‚’示ã—ã¾ã™

custom_preferencestring

返金設定

One of: "grant", "no_preference", "decline"

Example
{
  "profile_id": "e5aab402-b1bd-4039-b632-57a91ebc0779",
  "settings": {
    "consent": true,
    "custom_preference": "no_preference"
  }
}

リクエストãŒä¸æ­£ã§ã™

Schema
errorsarray of objectrequired
sourcestring

エラーã®ç™ºç”Ÿæº

errorsarray of string

エラーメッセージã®é…列

error_codestringrequired

エラーã®çŸ­ç¸®å

status_codeintegerrequired

HTTP ステータスコード

Example
{
  "errors": [
    "Profile does not exist"
  ],
  "error_code": "profile_does_not_exist",
  "status_code": 400
}

èªè¨¼ã‚¨ãƒ©ãƒ¼

Schema
errorsarray of objectrequired
sourcestring

エラーã®ç™ºç”Ÿæº

errorsarray of string

エラーメッセージã®é…列

error_codestringrequired

エラーã®çŸ­ç¸®å

status_codeintegerrequired

HTTP ステータスコード

Example
{
  "errors": [
    "Invalid API key"
  ],
  "error_code": "unauthorized",
  "status_code": 401
}

内部サーãƒãƒ¼ã‚¨ãƒ©ãƒ¼

Schema
errorsarray of objectrequired
sourcestring

エラーã®ç™ºç”Ÿæº

errorsarray of string

エラーメッセージã®é…列

error_codestringrequired

エラーã®çŸ­ç¸®å

status_codeintegerrequired

HTTP ステータスコード

ÿÿÿÿ