curl --request POST \
--url https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return \
--header 'Content-Type: application/json' \
--data '
{
"additional_info": "<string>",
"compensation_amount": 123,
"tax_amount": 123
}
'import requests
url = "https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return"
payload = {
"additional_info": "<string>",
"compensation_amount": 123,
"tax_amount": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({additional_info: '<string>', compensation_amount: 123, tax_amount: 123})
};
fetch('https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'additional_info' => '<string>',
'compensation_amount' => 123,
'tax_amount' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return"
payload := strings.NewReader("{\n \"additional_info\": \"<string>\",\n \"compensation_amount\": 123,\n \"tax_amount\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
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))
}HttpResponse<String> response = Unirest.post("https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return")
.header("Content-Type", "application/json")
.body("{\n \"additional_info\": \"<string>\",\n \"compensation_amount\": 123,\n \"tax_amount\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"additional_info\": \"<string>\",\n \"compensation_amount\": 123,\n \"tax_amount\": 123\n}"
response = http.request(request)
puts response.read_body{
"cr_amount": 123,
"cr_ccy_isocode": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"dr_amount": 123,
"dr_ccy_isocode": "<string>",
"id": 123,
"metadata": [
"<string>"
],
"status": "<string>",
"status_hardvalue": "<string>",
"status_id": 123,
"type": "<string>",
"type_id": 123,
"compensation_amt": 123,
"inbound": {
"cr_amount": 123,
"cr_ccy_isocode": "<string>",
"id": 123,
"sepa_msg_id": "<string>",
"status": "<string>",
"cr_acc": "<string>",
"cr_acc_other": {
"id": "<string>",
"issuer": "<string>",
"scheme_name_code": "<string>"
},
"cr_address": "<string>",
"cr_address_city": "<string>",
"cr_address_country": "<string>",
"cr_alt_code_company": "<string>",
"cr_alt_code_company_issuer": "<string>",
"cr_bank_bic": "<string>",
"cr_bank_name": "<string>",
"cr_building_name": "<string>",
"cr_building_number": "<string>",
"cr_code_company": "<string>",
"cr_code_issuer": "<string>",
"cr_code_person": "<string>",
"cr_country_sub_division": "<string>",
"cr_department": "<string>",
"cr_district_name": "<string>",
"cr_floor": "<string>",
"cr_name": "<string>",
"cr_post_box": "<string>",
"cr_post_code": "<string>",
"cr_room": "<string>",
"cr_street_name": "<string>",
"cr_sub_department": "<string>",
"cr_town_location_name": "<string>",
"dr_acc": "<string>",
"dr_acc_other": {
"id": "<string>",
"issuer": "<string>",
"scheme_name_code": "<string>"
},
"dr_address": "<string>",
"dr_address_city": "<string>",
"dr_address_country": "<string>",
"dr_alt_code_company": "<string>",
"dr_alt_code_company_issuer": "<string>",
"dr_bank_bic": "<string>",
"dr_bank_name": "<string>",
"dr_building_name": "<string>",
"dr_building_number": "<string>",
"dr_code_company": "<string>",
"dr_code_issuer": "<string>",
"dr_code_person": "<string>",
"dr_country_sub_division": "<string>",
"dr_department": "<string>",
"dr_district_name": "<string>",
"dr_floor": "<string>",
"dr_name": "<string>",
"dr_post_box": "<string>",
"dr_post_code": "<string>",
"dr_room": "<string>",
"dr_street_name": "<string>",
"dr_sub_department": "<string>",
"dr_town_location_name": "<string>",
"end_to_end_id": "<string>",
"method": "SEPA",
"settlement_bic": "<string>",
"settlement_date": "2023-12-25",
"settlement_iban": "<string>",
"settlement_other_account_id": "<string>",
"trx_purpose": "<string>",
"trx_purpose_information": "<string>",
"trx_purpose_structured_issuer": "<string>",
"trx_purpose_structured_ref": "<string>",
"ucr_address": "<string>",
"ucr_address_city": "<string>",
"ucr_address_country": "<string>",
"ucr_id_type": 123,
"ucr_identification": "<string>",
"ucr_issuer": "<string>",
"ucr_name": "<string>",
"ucr_organisation_bic": "<string>",
"ucr_private_birth": "<string>",
"ucr_private_birth_city": "<string>",
"ucr_private_birth_country": "<string>",
"ucr_private_birth_province": "<string>",
"ucr_scheme_code": "<string>",
"ucr_scheme_proprietary": "<string>",
"udr_address": "<string>",
"udr_address_city": "<string>",
"udr_address_country": "<string>",
"udr_id_type": 123,
"udr_identification": "<string>",
"udr_issuer": "<string>",
"udr_name": "<string>",
"udr_organisation_bic": "<string>",
"udr_private_birth": "<string>",
"udr_private_birth_city": "<string>",
"udr_private_birth_country": "<string>",
"udr_private_birth_province": "<string>",
"udr_scheme_code": "<string>",
"udr_scheme_proprietary": "<string>",
"uetr": "<string>"
},
"mandate_information": {
"date_of_signature": "2023-12-25",
"id": "<string>"
},
"origin_bic": "<string>",
"origin_name": "<string>",
"origin_reason_code": "<string>",
"origin_reason_info": "<string>",
"outbound": {
"dr_amount": 123,
"dr_ccy_isocode": "<string>",
"id": 123,
"sepa_msg_id": "<string>",
"status": "<string>",
"cr_acc": "<string>",
"cr_acc_other": {
"id": "<string>",
"issuer": "<string>",
"scheme_name_code": "<string>"
},
"cr_address": "<string>",
"cr_address_city": "<string>",
"cr_address_country": "<string>",
"cr_alt_code_company": "<string>",
"cr_alt_code_company_issuer": "<string>",
"cr_bank_bic": "<string>",
"cr_bank_name": "<string>",
"cr_building_name": "<string>",
"cr_building_number": "<string>",
"cr_code_company": "<string>",
"cr_code_issuer": "<string>",
"cr_code_person": "<string>",
"cr_country_sub_division": "<string>",
"cr_department": "<string>",
"cr_district_name": "<string>",
"cr_floor": "<string>",
"cr_name": "<string>",
"cr_post_box": "<string>",
"cr_post_code": "<string>",
"cr_room": "<string>",
"cr_street_name": "<string>",
"cr_sub_department": "<string>",
"cr_town_location_name": "<string>",
"dr_acc": "<string>",
"dr_acc_other": {
"id": "<string>",
"issuer": "<string>",
"scheme_name_code": "<string>"
},
"dr_address": "<string>",
"dr_address_city": "<string>",
"dr_address_country": "<string>",
"dr_alt_code_company": "<string>",
"dr_alt_code_company_issuer": "<string>",
"dr_bank_bic": "<string>",
"dr_bank_name": "<string>",
"dr_building_name": "<string>",
"dr_building_number": "<string>",
"dr_code_company": "<string>",
"dr_code_issuer": "<string>",
"dr_code_person": "<string>",
"dr_country_sub_division": "<string>",
"dr_department": "<string>",
"dr_district_name": "<string>",
"dr_floor": "<string>",
"dr_name": "<string>",
"dr_post_box": "<string>",
"dr_post_code": "<string>",
"dr_room": "<string>",
"dr_street_name": "<string>",
"dr_sub_department": "<string>",
"dr_town_location_name": "<string>",
"end_to_end_id": "<string>",
"method": "SEPA",
"priority": "<string>",
"settlement_bic": "<string>",
"settlement_currency": "<string>",
"settlement_date": "2023-12-25",
"settlement_iban": "<string>",
"settlement_method": "<string>",
"settlement_other_account_id": "<string>",
"settlement_other_account_issuer": "<string>",
"settlement_other_account_scheme": "<string>",
"trx_purpose": "<string>",
"trx_purpose_information": "<string>",
"trx_purpose_structured_issuer": "<string>",
"trx_purpose_structured_ref": "<string>",
"ucr_address": "<string>",
"ucr_address_city": "<string>",
"ucr_address_country": "<string>",
"ucr_id_type": 123,
"ucr_identification": "<string>",
"ucr_issuer": "<string>",
"ucr_name": "<string>",
"ucr_organisation_bic": "<string>",
"ucr_private_birth": "<string>",
"ucr_private_birth_city": "<string>",
"ucr_private_birth_country": "<string>",
"ucr_private_birth_province": "<string>",
"ucr_scheme_code": "<string>",
"ucr_scheme_proprietary": "<string>",
"udr_address": "<string>",
"udr_address_city": "<string>",
"udr_address_country": "<string>",
"udr_id_type": 123,
"udr_identification": "<string>",
"udr_issuer": "<string>",
"udr_name": "<string>",
"udr_organisation_bic": "<string>",
"udr_private_birth": "<string>",
"udr_private_birth_city": "<string>",
"udr_private_birth_country": "<string>",
"udr_private_birth_province": "<string>",
"udr_scheme_code": "<string>",
"udr_scheme_proprietary": "<string>",
"uetr": "<string>"
},
"parent_trx_amt": 123,
"parent_trx_id": 123,
"rtrn_chrgs_amt": 123,
"sepa_trx_id": "<string>",
"sequence_type": "FRST",
"status_reason": "<string>",
"t2": {
"priority": "HIGH",
"uetr": "a1b2c3d4-1111-4222-8333-000000000001"
},
"unaccounted_tax_amt": 123,
"updated_at": "2023-11-07T05:31:56Z"
}{
"code": "<string>",
"data": {
"errors": [
{
"code": "<string>",
"field_name": "<string>",
"message": "<string>",
"value": "<string>"
}
],
"message": "<string>"
},
"message": "<string>"
}{
"code": "<string>",
"data": {
"errors": [
{
"code": "<string>",
"field_name": "<string>",
"message": "<string>",
"value": "<string>"
}
],
"message": "<string>"
},
"message": "<string>"
}{
"code": "<string>",
"data": {
"errors": [
{
"code": "<string>",
"field_name": "<string>",
"message": "<string>",
"value": "<string>"
}
],
"message": "<string>"
},
"message": "<string>"
}{
"code": "<string>",
"data": {
"errors": [
{
"code": "<string>",
"field_name": "<string>",
"message": "<string>",
"value": "<string>"
}
],
"message": "<string>"
},
"message": "<string>"
}Return SEPA CT transaction
Returns the inbound SEPA CT transaction to the originator. Not applicable for INST payments.
curl --request POST \
--url https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return \
--header 'Content-Type: application/json' \
--data '
{
"additional_info": "<string>",
"compensation_amount": 123,
"tax_amount": 123
}
'import requests
url = "https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return"
payload = {
"additional_info": "<string>",
"compensation_amount": 123,
"tax_amount": 123
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({additional_info: '<string>', compensation_amount: 123, tax_amount: 123})
};
fetch('https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'additional_info' => '<string>',
'compensation_amount' => 123,
'tax_amount' => 123
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return"
payload := strings.NewReader("{\n \"additional_info\": \"<string>\",\n \"compensation_amount\": 123,\n \"tax_amount\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
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))
}HttpResponse<String> response = Unirest.post("https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return")
.header("Content-Type", "application/json")
.body("{\n \"additional_info\": \"<string>\",\n \"compensation_amount\": 123,\n \"tax_amount\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pgw-sandbox.finventi.com/v1/transactions/{id}:return")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"additional_info\": \"<string>\",\n \"compensation_amount\": 123,\n \"tax_amount\": 123\n}"
response = http.request(request)
puts response.read_body{
"cr_amount": 123,
"cr_ccy_isocode": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"dr_amount": 123,
"dr_ccy_isocode": "<string>",
"id": 123,
"metadata": [
"<string>"
],
"status": "<string>",
"status_hardvalue": "<string>",
"status_id": 123,
"type": "<string>",
"type_id": 123,
"compensation_amt": 123,
"inbound": {
"cr_amount": 123,
"cr_ccy_isocode": "<string>",
"id": 123,
"sepa_msg_id": "<string>",
"status": "<string>",
"cr_acc": "<string>",
"cr_acc_other": {
"id": "<string>",
"issuer": "<string>",
"scheme_name_code": "<string>"
},
"cr_address": "<string>",
"cr_address_city": "<string>",
"cr_address_country": "<string>",
"cr_alt_code_company": "<string>",
"cr_alt_code_company_issuer": "<string>",
"cr_bank_bic": "<string>",
"cr_bank_name": "<string>",
"cr_building_name": "<string>",
"cr_building_number": "<string>",
"cr_code_company": "<string>",
"cr_code_issuer": "<string>",
"cr_code_person": "<string>",
"cr_country_sub_division": "<string>",
"cr_department": "<string>",
"cr_district_name": "<string>",
"cr_floor": "<string>",
"cr_name": "<string>",
"cr_post_box": "<string>",
"cr_post_code": "<string>",
"cr_room": "<string>",
"cr_street_name": "<string>",
"cr_sub_department": "<string>",
"cr_town_location_name": "<string>",
"dr_acc": "<string>",
"dr_acc_other": {
"id": "<string>",
"issuer": "<string>",
"scheme_name_code": "<string>"
},
"dr_address": "<string>",
"dr_address_city": "<string>",
"dr_address_country": "<string>",
"dr_alt_code_company": "<string>",
"dr_alt_code_company_issuer": "<string>",
"dr_bank_bic": "<string>",
"dr_bank_name": "<string>",
"dr_building_name": "<string>",
"dr_building_number": "<string>",
"dr_code_company": "<string>",
"dr_code_issuer": "<string>",
"dr_code_person": "<string>",
"dr_country_sub_division": "<string>",
"dr_department": "<string>",
"dr_district_name": "<string>",
"dr_floor": "<string>",
"dr_name": "<string>",
"dr_post_box": "<string>",
"dr_post_code": "<string>",
"dr_room": "<string>",
"dr_street_name": "<string>",
"dr_sub_department": "<string>",
"dr_town_location_name": "<string>",
"end_to_end_id": "<string>",
"method": "SEPA",
"settlement_bic": "<string>",
"settlement_date": "2023-12-25",
"settlement_iban": "<string>",
"settlement_other_account_id": "<string>",
"trx_purpose": "<string>",
"trx_purpose_information": "<string>",
"trx_purpose_structured_issuer": "<string>",
"trx_purpose_structured_ref": "<string>",
"ucr_address": "<string>",
"ucr_address_city": "<string>",
"ucr_address_country": "<string>",
"ucr_id_type": 123,
"ucr_identification": "<string>",
"ucr_issuer": "<string>",
"ucr_name": "<string>",
"ucr_organisation_bic": "<string>",
"ucr_private_birth": "<string>",
"ucr_private_birth_city": "<string>",
"ucr_private_birth_country": "<string>",
"ucr_private_birth_province": "<string>",
"ucr_scheme_code": "<string>",
"ucr_scheme_proprietary": "<string>",
"udr_address": "<string>",
"udr_address_city": "<string>",
"udr_address_country": "<string>",
"udr_id_type": 123,
"udr_identification": "<string>",
"udr_issuer": "<string>",
"udr_name": "<string>",
"udr_organisation_bic": "<string>",
"udr_private_birth": "<string>",
"udr_private_birth_city": "<string>",
"udr_private_birth_country": "<string>",
"udr_private_birth_province": "<string>",
"udr_scheme_code": "<string>",
"udr_scheme_proprietary": "<string>",
"uetr": "<string>"
},
"mandate_information": {
"date_of_signature": "2023-12-25",
"id": "<string>"
},
"origin_bic": "<string>",
"origin_name": "<string>",
"origin_reason_code": "<string>",
"origin_reason_info": "<string>",
"outbound": {
"dr_amount": 123,
"dr_ccy_isocode": "<string>",
"id": 123,
"sepa_msg_id": "<string>",
"status": "<string>",
"cr_acc": "<string>",
"cr_acc_other": {
"id": "<string>",
"issuer": "<string>",
"scheme_name_code": "<string>"
},
"cr_address": "<string>",
"cr_address_city": "<string>",
"cr_address_country": "<string>",
"cr_alt_code_company": "<string>",
"cr_alt_code_company_issuer": "<string>",
"cr_bank_bic": "<string>",
"cr_bank_name": "<string>",
"cr_building_name": "<string>",
"cr_building_number": "<string>",
"cr_code_company": "<string>",
"cr_code_issuer": "<string>",
"cr_code_person": "<string>",
"cr_country_sub_division": "<string>",
"cr_department": "<string>",
"cr_district_name": "<string>",
"cr_floor": "<string>",
"cr_name": "<string>",
"cr_post_box": "<string>",
"cr_post_code": "<string>",
"cr_room": "<string>",
"cr_street_name": "<string>",
"cr_sub_department": "<string>",
"cr_town_location_name": "<string>",
"dr_acc": "<string>",
"dr_acc_other": {
"id": "<string>",
"issuer": "<string>",
"scheme_name_code": "<string>"
},
"dr_address": "<string>",
"dr_address_city": "<string>",
"dr_address_country": "<string>",
"dr_alt_code_company": "<string>",
"dr_alt_code_company_issuer": "<string>",
"dr_bank_bic": "<string>",
"dr_bank_name": "<string>",
"dr_building_name": "<string>",
"dr_building_number": "<string>",
"dr_code_company": "<string>",
"dr_code_issuer": "<string>",
"dr_code_person": "<string>",
"dr_country_sub_division": "<string>",
"dr_department": "<string>",
"dr_district_name": "<string>",
"dr_floor": "<string>",
"dr_name": "<string>",
"dr_post_box": "<string>",
"dr_post_code": "<string>",
"dr_room": "<string>",
"dr_street_name": "<string>",
"dr_sub_department": "<string>",
"dr_town_location_name": "<string>",
"end_to_end_id": "<string>",
"method": "SEPA",
"priority": "<string>",
"settlement_bic": "<string>",
"settlement_currency": "<string>",
"settlement_date": "2023-12-25",
"settlement_iban": "<string>",
"settlement_method": "<string>",
"settlement_other_account_id": "<string>",
"settlement_other_account_issuer": "<string>",
"settlement_other_account_scheme": "<string>",
"trx_purpose": "<string>",
"trx_purpose_information": "<string>",
"trx_purpose_structured_issuer": "<string>",
"trx_purpose_structured_ref": "<string>",
"ucr_address": "<string>",
"ucr_address_city": "<string>",
"ucr_address_country": "<string>",
"ucr_id_type": 123,
"ucr_identification": "<string>",
"ucr_issuer": "<string>",
"ucr_name": "<string>",
"ucr_organisation_bic": "<string>",
"ucr_private_birth": "<string>",
"ucr_private_birth_city": "<string>",
"ucr_private_birth_country": "<string>",
"ucr_private_birth_province": "<string>",
"ucr_scheme_code": "<string>",
"ucr_scheme_proprietary": "<string>",
"udr_address": "<string>",
"udr_address_city": "<string>",
"udr_address_country": "<string>",
"udr_id_type": 123,
"udr_identification": "<string>",
"udr_issuer": "<string>",
"udr_name": "<string>",
"udr_organisation_bic": "<string>",
"udr_private_birth": "<string>",
"udr_private_birth_city": "<string>",
"udr_private_birth_country": "<string>",
"udr_private_birth_province": "<string>",
"udr_scheme_code": "<string>",
"udr_scheme_proprietary": "<string>",
"uetr": "<string>"
},
"parent_trx_amt": 123,
"parent_trx_id": 123,
"rtrn_chrgs_amt": 123,
"sepa_trx_id": "<string>",
"sequence_type": "FRST",
"status_reason": "<string>",
"t2": {
"priority": "HIGH",
"uetr": "a1b2c3d4-1111-4222-8333-000000000001"
},
"unaccounted_tax_amt": 123,
"updated_at": "2023-11-07T05:31:56Z"
}{
"code": "<string>",
"data": {
"errors": [
{
"code": "<string>",
"field_name": "<string>",
"message": "<string>",
"value": "<string>"
}
],
"message": "<string>"
},
"message": "<string>"
}{
"code": "<string>",
"data": {
"errors": [
{
"code": "<string>",
"field_name": "<string>",
"message": "<string>",
"value": "<string>"
}
],
"message": "<string>"
},
"message": "<string>"
}{
"code": "<string>",
"data": {
"errors": [
{
"code": "<string>",
"field_name": "<string>",
"message": "<string>",
"value": "<string>"
}
],
"message": "<string>"
},
"message": "<string>"
}{
"code": "<string>",
"data": {
"errors": [
{
"code": "<string>",
"field_name": "<string>",
"message": "<string>",
"value": "<string>"
}
],
"message": "<string>"
},
"message": "<string>"
}Overview
This endpoint returns the inbound SEPA CT transaction to the originator. Use this when you cannot credit the beneficiary account due to account issues or customer disputes.Common Return Scenarios
- Various AML reasons
- Account closed or blocked
Requirements
- Transaction must be in a returnable state
- Valid return reason code required
- Return must be initiated within 3 interbank business days after the settlement date. Business days follow the TARGET calendar - weekends and the 6 fixed TARGET holidays excluded. Past this window the platform does not block a return, but it is likely to be rejected by the clearing system or the originator’s bank; under SEPA scheme rules, later fund recovery happens by responding to a cancellation request (recall) from the sender.
reason
- Business description: Payment return reason code
- Validations / Allowed values:
AC01— IncorrectAccountNumberAC04— ClosedAccountNumberAC06— BlockedAccountAG01— TransactionForbiddenAG02— InvalidBankOperationCodeAM05— DuplicationBE04— MissingCreditorAddressMD07— EndCustomerDeceasedMS02— NotSpecifiedReasonCustomerGeneratedMS03— NotSpecifiedReasonAgentGeneratedRC01— BankIdentifierIncorrectRR01— MissingDebtorAccountOrIdentificationRR02— MissingDebtorNameOrAddressRR03— MissingCreditorNameOrAddressRR04— RegulatoryReasonCNOR— Creditor PSP is not registeredERIN— ERI Option Not Supported
tax_amount
- Business description: Amount of taxes charged by the PSP for the payment return initiation.
- Rules / Notes:
- The returned amount will be decreased by the amount of taxes applied by the PSP.
- Information about the applied taxes will be provided in the outbound payment return message.
Path Parameters
Transaction ID.
Body
Return reason. All payment methods; the accepted codes differ per method — see the operation description.
AC01, AC04, AC06, AG01, AG02, AM04, AM05, BE04, BE05, CNOR, ERIN, FF05, FOCR, MD01, MD06, MD07, MS02, MS03, RC01, RR01, RR02, RR03, RR04, SL01, AM09, BE01, FRAD, UPAY, DUPL, NARR, RC03, RC04, INDM, LEGL, NOAS, AGNT, BE08, CUST Free-text return reason, max 105 characters. For SWIFT and T2, mandatory when reason is NARR and optional otherwise. Ignored for SEPA payments.
105Compensation amount. SEPA Direct Debit only; ignored for other payment methods.
Tax amount. SEPA Direct Debit only; ignored for other payment methods.
Response
Returned transaction
Payment amount in minor currency units
SEPA payment currency code
Time and date when transaction was created
Payment amount in minor currency units
SEPA payment currency code
Transaction ID
Client-defined metadata values for linking the payment to internal records
Name of the status
Hard value of status
Status id, all statuses can be retrived using API getTransactionStatuses
Type name
Type id, all transaction types can be retrieved using API getTransactionTypes
Payment compensation amount
Information about inbound transaction
Show child attributes
Show child attributes
Provides further details of the direct debit mandate signed between the creditor and the debtor.
Show child attributes
Show child attributes
Payment return originator bic
Payment return originator name
Payment return originator reason code
Payment return originator reason information
Information about outbound transaction
Show child attributes
Show child attributes
Original transaction amount
Transaction id for parent transaction
Payment return tax amount
Sepa transaction ID
Identifies the direct debit sequence, such as first, recurrent, final or one-off.
FRST, RCUR, FNAL, OOFF If there is some error, it is displayed in status reason or processing info tags
T2-specific fields, present only for T2 payments
Show child attributes
Show child attributes
Payment unaccounted tax amount
Time and date when transaction was last updated