跳转到主要内容
POST
curl
Didit 的 Create a Manage Link 端点会返回一个有效期为 15 分钟、只能使用一次的链接。该链接指向用户自己的访问页面,用户可在页面中查看针对某个银行连接与您共享的信息,并停止共享。 在您的服务器上,请求管理链接之前,请先验证该连接属于已登录的用户。获取返回的 url 后,请立即打开。该链接会跳过身份证明步骤,因此切勿通过电子邮件发送或记录该链接。在 24 小时内,使用相同的 Idempotency-Key 和相同凭证重试相同的请求,将返回原始 URL。删除该连接后,重放将失效:此类重试会返回 409 idempotency_key_forgotten。链接被使用或过期后,如需为新的点击生成链接,请使用新的幂等键。 即使一次性连接的 manage_url 为 null,您仍可为其创建管理链接。采集完成后,页面会显示共享已结束。如需用于电子邮件或收据,请仅在存在 manage_url 时使用该持久链接。该链接需要验证身份,并且在预置的演示连接上可能不存在。 参见用户访问页面。

授权

x-api-key
string
header
必填

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

请求头

Idempotency-Key
string

Optional retry-safety key you choose for one operation, up to 255 characters (a UUID works). A request repeated with the same key, endpoint, query and body is answered with the first response, same status and same body, and runs and bills nothing a second time. The same key with another endpoint, query or body returns 409 idempotency_key_reused, and while the first request is still running, 409 idempotency_key_in_progress with Retry-After. If a deletion erased a resource named in the first request or its successful response, within 24 hours of that request's first successful response the key is refused whatever the request with 409 idempotency_key_forgotten and nothing runs. The first write already ran: if you only need its result, do not resend; to write again, send the request again with a new key. After 24 hours from the first successful response, the same key starts a new request. A write that runs and returns a 4xx or 5xx releases its key so you can retry with the same key. If Didit refuses a key before running the write, that refusal leaves the existing reservation in place. Keys belong to your application, whether you call with an API key or an access token. See Retries and idempotency.

Required string length: 1 - 255

路径参数

id
string<uuid>
必填

The connection id.

响应

The manage link.

A short-lived link to the person's own access page.

url
string<uri>
必填

On your server, verify that the connection belongs to the signed-in user before you request a manage link. The URL skips identity proof, works once and must never be emailed or logged.

expires_at
string<date-time>
必填

When the link stops working: 15 minutes after creation.

最后修改于 2026年12月6日