---
title: "Save payment account"
method: POST
path: "/v3/payments/{id}/actions/save-user-account"
tags: ["Payments"]
---

# Save payment account

`POST /v3/payments/{id}/actions/save-user-account`

## Request

- Base URL: `https://api.truelayer-sandbox.com`
- URL: `https://api.truelayer-sandbox.com/v3/payments/{id}/actions/save-user-account`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://auth.truelayer.com/connect/token` scopes: `payments`
  - HTTP bearer

Save the account details associated with a payment for subsequent re-use. This endpoint can be called for closed-loop payments.

This API can be called:
- using the `resource_token` associated with the payment you are trying to fetch;
- using a backend bearer token.

## Path parameters

- `id` string, required: Unique ID for the Payment

## Headers

- `Idempotency-Key` string, required
- `Tl-Signature` string, required

## Response `202`

Accepted

## Other responses

- `400`: Invalid Request
- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Payment Not Found
- `409`: Conflict
- `422`: Idempotency-Key Reuse
- `500`: Unknown Error

---

[API](https://skmtc.dev/truelayer/apis/payments-api-v3.md) - [All operations](https://skmtc.dev/truelayer/apis/payments-api-v3/llms.txt) - [OpenAPI document](https://skmtc.dev/truelayer/apis/payments-api-v3/revisions/a7c585fc9b84?raw)
