정기결제의 일부 매개 변수(plan_id
, date_next_charge
)가 변경된 경우 그리고 정기결제 갱신 시마다, 당사는 해당 webhook URL의 update_subscription
알림을 보냅니다.
notification_type required | string 알림 유형입니다. | ||||||||||
object 사용자 정의 프로젝트 설정(개체)입니다. | |||||||||||
object 정기결제 세부 정보(오브젝트). | |||||||||||
| |||||||||||
object 사용자 세부 사항(개체)입니다. | |||||||||||
성공적인 처리 표시를 반환합니다.
제공된 정보에 오류가 있는 경우 반환합니다(예: 필수 매개변수 누락, 인증 실패 등).
서버에 일시적인 오류가 있음을 표시하려면 돌아가세요.
{- "notification_type": "string",
- "settings": {
- "merchant_id": 0,
- "project_id": 0
}, - "subscription": {
- "date_next_charge": "string",
- "plan_id": "string",
- "product_id": "string",
- "subscription_id": 0,
- "tags": [
- "string"
]
}, - "user": {
- "id": "string",
- "name": "string"
}
}
{- "error": {
- "code": "INCORRECT_AMOUNT",
- "message": "Incorrect amount"
}
}