---
title: "Post account feedback"
method: POST
path: "/feedback"
tags: ["accounts"]
---

# Post account feedback

`POST /feedback`

## Request

- Base URL: `https://sandbox.trustly.one/api/v1`
- URL: `https://sandbox.trustly.one/api/v1/feedback`
- Auth: HTTP basic

Utilize this endpoint to record feedback regarding the result of an ACH payment using the account information verified by Trustly during a Verification Transaction. This feedback data helps optimize account verification scores over time. It is **required** when using Trustly Connect. 

> **Note for Trustly Pay** 
> For apps using Trustly Pay, feedback should be provided on individual transactions rather than on the account. See [`/transactions/{id}/feedback`](ref:post-transaction-feedback) for transaction-specific feedback details.

## Request body

- object
  - `merchantId` number, double, required: A unique Trustly merchant identifier.
  - `account` FeedbackPostRequestBodyContentApplicationJsonSchemaAccount, required: The token is required only when account number and routing number are not sent and vice-versa.
    - `accountNumber` string
    - `routingNumber` string
    - `token` string: The token received as return of the Tokenize API.
  - `feedback` Feedback, required: The resulting feedback of an ACH transaction
    - `externalId` string: The merchant reference of the payment.
    - `status` '2' | '3' | '4' | '5' | '6' | '7' | '9' | '10' | '13', required: The final status of the payment operation: * `2`: Authorized * `3`: Processed * `4`: Completed * `5`: Failed * `6`: Expired * `7`: Canceled * `9`: Disputed * `10`: Reversed * `13`: Voided
    - `subStatus` string, required: The ACH return code. Example: * `R01`: Insufficient Fund * `R04`: Invalid Account Number * `R16`: Account Frozen
    - `description` string: Unrestricted field to inform any description about the payment.
    - `submissionDate` number, double: The Unix Timestamp (epoch) in ms of when the payment was sent to ACH.
    - `returnDate` number, double: The Unix Timestamp (epoch) in ms of when ACH provided a return.
    - `amount` string: The amount of the payment. (10 characters with support for 2 decimal places)
    - `currency` 'USD': 3-letter ISO Currency Code. Currently only USD is supported.

## Response `200`

OK

- AccountsPostAccountFeedbackResponse200
  - `message` string: Successful message.

## Other responses

- `400`: Invalid parameter
- `500`: Internal Server Error

## Changes

- **2026-09-17** `dd0a38d95088`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `HTTPBasic` was added to the API
- **2026-09-12** `1d5aabcc1d16`: 1 info
  - api operation id `post-account-feedback` removed and replaced with `accounts_post-account-feedback`

[Operation history](https://skmtc.dev/trustly/apis/trustly-scalar-api/changes/feedback/post.md)

---

[API](https://skmtc.dev/trustly/apis/trustly-scalar-api.md) - [All operations](https://skmtc.dev/trustly/apis/trustly-scalar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trustly/apis/trustly-scalar-api/revisions/5c376a06c899?raw)
