---
title: "Authorize payin by confirming settlement address and optional asset"
method: POST
path: "/entities/{entityDID}/flow/payins/{payinId}/settlement_address"
tags: ["Flow"]
---

# Authorize payin by confirming settlement address and optional asset

`POST /entities/{entityDID}/flow/payins/{payinId}/settlement_address`

## Request

- Base URL: `https://api.eu1.notabene.id`
- URL: `https://api.eu1.notabene.id/entities/{entityDID}/flow/payins/{payinId}/settlement_address`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/notabene/apis/notabene-api/docs/entities/:entityDID/flow/payins/:payinId/settlement_address/post.ts> (a function with typed inputs; its response is checked against the schema)

Authorizes a payin by providing a settlement address and, optionally, the asset.
Requirements depend on whether the entity is initiator or responder in the workflow.

## Path parameters

- `entityDID` string, did, required: Decentralized Identifier (DID)
- `payinId` string, uuid, required

## Request body

- object
  - `asset` string: Optional asset (CAIP-19)
  - `settlementAddress` string, required: Settlement address (CAIP-10 or payto://)

## Response `200`

Authorization accepted

- object
  - `message` string
  - `transferId` string
  - `asset` string
  - `settlementAddress` string

## Other responses

- `400`: Bad Request - The server could not process the request due to a client error.
- `401`: Unauthorized - Authentication information is missing or invalid.
- `403`: Forbidden - The server understood the request but refuses to authorize it.
- `404`: Not Found - The requested resource could not be found.
- `500`: Internal Server Error - An unexpected condition was encountered on the server.

---

[API](https://skmtc.dev/notabene/apis/notabene-api.md) - [All operations](https://skmtc.dev/notabene/apis/notabene-api/llms.txt) - [OpenAPI document](https://skmtc.dev/notabene/apis/notabene-api/revisions/70056745a433?raw)
