確認代您提交的入會申請(來自電子郵件中的連結)
const url = 'https://api.vimine.network/v1/enroll/confirm';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"token":"example","identification":{"dob":"2026-04-15","birthplace":"example","birth_country":"example","codicefiscale":"example","codicefiscale_confirmed":true},"address":{"kind":"residence","line":"example","postal_code":"example","city":"example","province":"example","country":"IT"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.vimine.network/v1/enroll/confirm \ --header 'Content-Type: application/json' \ --data '{ "token": "example", "identification": { "dob": "2026-04-15", "birthplace": "example", "birth_country": "example", "codicefiscale": "example", "codicefiscale_confirmed": true }, "address": { "kind": "residence", "line": "example", "postal_code": "example", "city": "example", "province": "example", "country": "IT" } }'使用確認連結所攜帶的權杖,並建立待處理的入會申請。重放冪等:第二次使用連結只會報告目前狀態。
請求本文必填
章節「請求本文必填」object
僅在收到 409 identification_required 之後:帳戶仍缺少的內容——稅號,或者出生日期、出生地和出生國。只補全個人資料中原本為空的欄位,絕不覆蓋已有內容
object
僅在收到 409 address_required 之後:協會要求每位會員提供地址(其公開資料中為 member_address: required)。協會聲明 optional 時為可選;協會不收集地址時則忽略
object
街道和門牌號
僅限義大利地址(兩個字母);國外地址會捨棄此欄位
ISO 3166-1 alpha-2
回應
章節「回應」200
章節「200」在該協會的入會申請
object
當事人在此已有入會申請或會員資格
會員資格仍在等待的原因,按順序排列:先是協會的審核(協會由理事會決定是否接納時),然後是會費。生效後為空
現在可以繳納會費了嗎?審核尚未完成時為 false:獲准入會後才開放繳費
會員卡何時可以使用,用於處於協會設定間隔期內的有效會員資格;否則為 null
object
僅適用於協會託管的入會頁面從其某個公開活動開啟時所發出的連結:當事人隨入會申請一起申請的名額結果如何。其他任何連結均為 null
object
object
0 = 免費
confirmed:名額歸當事人所有。reserved:已保留,參見 waiting。held:入會申請本身仍在等待電子郵件地址確認,且尚未申請任何名額。unavailable:沒有名額,參見 reasons
reserved 名額在等待什麼:會員資格生效(屆時若免費則自動確認)、參與費,或兩者皆是
名額為何為 unavailable:即 GET /v1/events/{slug}/eligibility 給出的原因
應付參與費的繳納方式,按協會的表述
在使用連結之前,當事人就已持有此名額
範例
{ "status": "pending", "pending_reasons": [ "approval" ], "event": { "state": "confirmed", "waiting": [ "membership" ] }}400
章節「400」連結無效或已過期(invalid_token)
404
章節「404」找不到
object
object
範例自動產生
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}409
章節「409」自連結發出以來章程已變更(statuto_outdated);帳戶尚未識別身份(identification_required,errors[] 指出缺少什麼):請帶上 identification 再次提交權杖;或者協會要求每位會員提供地址(address_required):請帶上 address 再次提交權杖
422
章節「422」identification 區塊未通過驗證(validation_failed)
429
章節「429」超出速率限制
object
object
範例自動產生
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}500
章節「500」內部錯誤
object
object
範例自動產生
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}