---
title: "Generate a new temporary account link"
method: POST
path: "/account-links"
tags: ["Account Links"]
---

# Generate a new temporary account link

`POST /account-links`

Generate a temporary account link to redirect the user to, in order for them to complete registration and payout setup via our portal

## Request body

- object — The request body for creating an account link
  - `accountId` string — The account id for which the payout verification is required
  - `redirectUrl` string — The URL to redirect back to on completion or cancelation of the verification detail

## Response `200`

Successfully created temporary account link

- CreateAccountLinkResponse
  - `createdTimestamp` integer — The epoch timestamp (seconds) when the temporary account link was created
  - `expiresTimestamp` integer — The epoch timestamp (seconds) when the temporary account link expires
  - `url` string — The URL to redirect to.

## Other responses

- `400` — One or more inputs are invalid
- `500` — An unexpected error occurred when executing this request

---

[API](https://skmtc.net/ryftpay/apis/ryft-payment-api.md) · [All operations](https://skmtc.net/ryftpay/apis/ryft-payment-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ryftpay/ryft-payment-api/revisions/a042f64d4305/schema)
