cURL
curl --request POST \
--url http://localhost:3000/v1/transactions/{id}/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import { Moneyline } from '@moneyline/sdk';
const client = new Moneyline();
const result = await client.transactions.submitFeedback('3fa85f64-5717-4562-b3fc-2c963f66afa6', {
id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
type: 'category',
});import requests
url = "http://localhost:3000/v1/transactions/{id}/feedback"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/v1/transactions/{id}/feedback"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}Transactions
Submit a category/merchant correction for a transaction
POST
/
v1
/
transactions
/
{id}
/
feedback
cURL
curl --request POST \
--url http://localhost:3000/v1/transactions/{id}/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'import { Moneyline } from '@moneyline/sdk';
const client = new Moneyline();
const result = await client.transactions.submitFeedback('3fa85f64-5717-4562-b3fc-2c963f66afa6', {
id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
type: 'category',
});import requests
url = "http://localhost:3000/v1/transactions/{id}/feedback"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://localhost:3000/v1/transactions/{id}/feedback"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"suggestion": "<string>",
"request_id": "<string>",
"resource_type": "<string>",
"resource_id": "<string>",
"retry_after_seconds": 123,
"validation_errors": [
{
"param": "<string>",
"message": "<string>",
"code": "<string>"
}
]
}
}