---
title: "Make a keysend payment"
method: POST
path: "/v2/payments/keysend"
tags: ["Payment"]
---

# Make a keysend payment

`POST /v2/payments/keysend`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v2/payments/keysend`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth`
- TypeScript: <https://skmtc.dev/getalby/apis/lndhub-go/docs/v2/payments/keysend/post.ts> (a function with typed inputs; its response is checked against the schema)

Pay a node without an invoice using it's public key

## Request body

- V2controllersKeySendRequestBody
  - `amount` integer, required
  - `customRecords` object
  - `custom_records` object
  - `destination` string, required
  - `memo` string

## Response `200`

OK

- V2controllersKeySendResponseBody
  - `amount` integer
  - `custom_records` object
  - `description` string
  - `description_hash` string
  - `destination` string
  - `fee` integer
  - `payment_hash` string
  - `payment_preimage` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error

## Changes

- **2022-06-20** `222a5feac2e3`: 1 info
  - endpoint added
- **2022-04-28** `9677ed311d4f`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/getalby/apis/lndhub-go/changes/v2/payments/keysend/post.md)

---

[API](https://skmtc.dev/getalby/apis/lndhub-go.md) - [All operations](https://skmtc.dev/getalby/apis/lndhub-go/llms.txt) - [OpenAPI document](https://skmtc.dev/getalby/apis/lndhub-go/revisions/0891f2052750?raw)
