curl --request POST \
--url https://api.pgw-sandbox.finventi.com/gateway/createSepaPmt \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"cr_acc": "string",
"cr_amount": 1,
"cr_ccy_isocode": "string",
"cr_name": "string",
"dr_acc": "string",
"dr_amount": 1,
"dr_ccy_isocode": "string",
"dr_name": "string",
"inst": false,
"trx_purpose": "string"
}
'import requests
url = "https://api.pgw-sandbox.finventi.com/gateway/createSepaPmt"
payload = {
"cr_acc": "string",
"cr_amount": 1,
"cr_ccy_isocode": "string",
"cr_name": "string",
"dr_acc": "string",
"dr_amount": 1,
"dr_ccy_isocode": "string",
"dr_name": "string",
"inst": False,
"trx_purpose": "string"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Idempotency-Key': '<idempotency-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
cr_acc: 'string',
cr_amount: 1,
cr_ccy_isocode: 'string',
cr_name: 'string',
dr_acc: 'string',
dr_amount: 1,
dr_ccy_isocode: 'string',
dr_name: 'string',
inst: false,
trx_purpose: 'string'
})
};
fetch('https://api.pgw-sandbox.finventi.com/gateway/createSepaPmt', 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/gateway/createSepaPmt",
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([
'cr_acc' => 'string',
'cr_amount' => 1,
'cr_ccy_isocode' => 'string',
'cr_name' => 'string',
'dr_acc' => 'string',
'dr_amount' => 1,
'dr_ccy_isocode' => 'string',
'dr_name' => 'string',
'inst' => false,
'trx_purpose' => 'string'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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/gateway/createSepaPmt"
payload := strings.NewReader("{\n \"cr_acc\": \"string\",\n \"cr_amount\": 1,\n \"cr_ccy_isocode\": \"string\",\n \"cr_name\": \"string\",\n \"dr_acc\": \"string\",\n \"dr_amount\": 1,\n \"dr_ccy_isocode\": \"string\",\n \"dr_name\": \"string\",\n \"inst\": false,\n \"trx_purpose\": \"string\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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/gateway/createSepaPmt")
.header("Idempotency-Key", "<idempotency-key>")
.header("Content-Type", "application/json")
.body("{\n \"cr_acc\": \"string\",\n \"cr_amount\": 1,\n \"cr_ccy_isocode\": \"string\",\n \"cr_name\": \"string\",\n \"dr_acc\": \"string\",\n \"dr_amount\": 1,\n \"dr_ccy_isocode\": \"string\",\n \"dr_name\": \"string\",\n \"inst\": false,\n \"trx_purpose\": \"string\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pgw-sandbox.finventi.com/gateway/createSepaPmt")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cr_acc\": \"string\",\n \"cr_amount\": 1,\n \"cr_ccy_isocode\": \"string\",\n \"cr_name\": \"string\",\n \"dr_acc\": \"string\",\n \"dr_amount\": 1,\n \"dr_ccy_isocode\": \"string\",\n \"dr_name\": \"string\",\n \"inst\": false,\n \"trx_purpose\": \"string\"\n}"
response = http.request(request)
puts response.read_body{
"result": {
"cr_amount": 123,
"dr_amount": 123,
"cr_acc": "<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_bic_company": "<string>",
"cr_ccy_isocode": "<string>",
"cr_code_issuer": "<string>",
"cr_code_person": "<string>",
"cr_name": "<string>",
"ctgy_purp_cd": "BONU",
"ctgy_purp_prtry": "<string>",
"dr_acc": "<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_bic_company": "<string>",
"dr_ccy_isocode": "<string>",
"dr_code_company": "<string>",
"dr_code_issuer": "<string>",
"dr_code_person": "<string>",
"dr_name": "<string>",
"id": 123,
"method": "SEPA",
"trx_purpose": "<string>",
"trx_purpose_information": "<string>",
"trx_purpose_structured_issuer": "<string>",
"trx_purpose_structured_ref": "<string>",
"trx_settlement_date": "2023-12-25",
"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": "2023-12-25",
"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": "2023-12-25",
"udr_private_birth_city": "<string>",
"udr_private_birth_country": "<string>",
"udr_private_birth_province": "<string>",
"udr_scheme_code": "<string>",
"udr_scheme_proprietary": "<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>"
}Create SEPA payment (v0)
Creates a SEPA payment through the deprecated unversioned endpoint.
curl --request POST \
--url https://api.pgw-sandbox.finventi.com/gateway/createSepaPmt \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"cr_acc": "string",
"cr_amount": 1,
"cr_ccy_isocode": "string",
"cr_name": "string",
"dr_acc": "string",
"dr_amount": 1,
"dr_ccy_isocode": "string",
"dr_name": "string",
"inst": false,
"trx_purpose": "string"
}
'import requests
url = "https://api.pgw-sandbox.finventi.com/gateway/createSepaPmt"
payload = {
"cr_acc": "string",
"cr_amount": 1,
"cr_ccy_isocode": "string",
"cr_name": "string",
"dr_acc": "string",
"dr_amount": 1,
"dr_ccy_isocode": "string",
"dr_name": "string",
"inst": False,
"trx_purpose": "string"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Idempotency-Key': '<idempotency-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
cr_acc: 'string',
cr_amount: 1,
cr_ccy_isocode: 'string',
cr_name: 'string',
dr_acc: 'string',
dr_amount: 1,
dr_ccy_isocode: 'string',
dr_name: 'string',
inst: false,
trx_purpose: 'string'
})
};
fetch('https://api.pgw-sandbox.finventi.com/gateway/createSepaPmt', 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/gateway/createSepaPmt",
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([
'cr_acc' => 'string',
'cr_amount' => 1,
'cr_ccy_isocode' => 'string',
'cr_name' => 'string',
'dr_acc' => 'string',
'dr_amount' => 1,
'dr_ccy_isocode' => 'string',
'dr_name' => 'string',
'inst' => false,
'trx_purpose' => 'string'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"Idempotency-Key: <idempotency-key>"
],
]);
$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/gateway/createSepaPmt"
payload := strings.NewReader("{\n \"cr_acc\": \"string\",\n \"cr_amount\": 1,\n \"cr_ccy_isocode\": \"string\",\n \"cr_name\": \"string\",\n \"dr_acc\": \"string\",\n \"dr_amount\": 1,\n \"dr_ccy_isocode\": \"string\",\n \"dr_name\": \"string\",\n \"inst\": false,\n \"trx_purpose\": \"string\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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/gateway/createSepaPmt")
.header("Idempotency-Key", "<idempotency-key>")
.header("Content-Type", "application/json")
.body("{\n \"cr_acc\": \"string\",\n \"cr_amount\": 1,\n \"cr_ccy_isocode\": \"string\",\n \"cr_name\": \"string\",\n \"dr_acc\": \"string\",\n \"dr_amount\": 1,\n \"dr_ccy_isocode\": \"string\",\n \"dr_name\": \"string\",\n \"inst\": false,\n \"trx_purpose\": \"string\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pgw-sandbox.finventi.com/gateway/createSepaPmt")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Idempotency-Key"] = '<idempotency-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"cr_acc\": \"string\",\n \"cr_amount\": 1,\n \"cr_ccy_isocode\": \"string\",\n \"cr_name\": \"string\",\n \"dr_acc\": \"string\",\n \"dr_amount\": 1,\n \"dr_ccy_isocode\": \"string\",\n \"dr_name\": \"string\",\n \"inst\": false,\n \"trx_purpose\": \"string\"\n}"
response = http.request(request)
puts response.read_body{
"result": {
"cr_amount": 123,
"dr_amount": 123,
"cr_acc": "<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_bic_company": "<string>",
"cr_ccy_isocode": "<string>",
"cr_code_issuer": "<string>",
"cr_code_person": "<string>",
"cr_name": "<string>",
"ctgy_purp_cd": "BONU",
"ctgy_purp_prtry": "<string>",
"dr_acc": "<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_bic_company": "<string>",
"dr_ccy_isocode": "<string>",
"dr_code_company": "<string>",
"dr_code_issuer": "<string>",
"dr_code_person": "<string>",
"dr_name": "<string>",
"id": 123,
"method": "SEPA",
"trx_purpose": "<string>",
"trx_purpose_information": "<string>",
"trx_purpose_structured_issuer": "<string>",
"trx_purpose_structured_ref": "<string>",
"trx_settlement_date": "2023-12-25",
"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": "2023-12-25",
"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": "2023-12-25",
"udr_private_birth_city": "<string>",
"udr_private_birth_country": "<string>",
"udr_private_birth_province": "<string>",
"udr_scheme_code": "<string>",
"udr_scheme_proprietary": "<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>"
}Idempotency
Include anIdempotency-Key header when you create a payment. Reuse the same key when retrying a request to avoid creating a duplicate.
Migrate to v3
UsePOST /v3/payments/sepa. See the complete legacy-to-v3 field mapping, including address and identification changes.Headers
Body
Basic SEPA payment request example
Category purpose code. Indicates the high-level purpose of the payment at a business level for accounting inside the payer/beneficiary company and for interbank and regulatory interpretation. Mutually exclusive with ctgy_purp_prtry.
BONU, CASH, CBLK, CCRD, CORT, DCRD, DIVI, DVPM, EPAY, FCIN, FCOL, GOVT, HEDG, ICCP, IDCP, INTC, INTE, LOAN, MP2B, MP2P, OTHR, PENS, RPRE, RRCT, RVPM, SALA, SECU, SSBE, SUPP, TAXS, TRAD, TREA, VATX, WHLD Category purpose proprietary value. Free text alternative to ctgy_purp_cd for non-standard category purposes. Mutually exclusive with ctgy_purp_cd. Must contain at least one non-whitespace character. Maximum length is 35 characters.
35(\s*[^\s]\s*)+For linking the payment to your internal records, for example a billing run, order, or customer ID. Set at creation only and cannot be changed afterwards. Stored only in the payment gateway: never included in any outgoing SEPA or SWIFT (MX/MT) message and never visible to the counterparty. Returned in transaction details and filterable in Transactions list v2 using exact match on the full value. Do not store sensitive personal data, card numbers, or secrets here. Examples: ["billing-run-2026-07"] or ["salary", "executive", "vacation"].
10140["billing-run-2026-07"]
Category purpose code. Allowed values:
'ADVA' - Advance payment (deprecated), 'TAXS' - Tax payment (deprecated),
'CSDB' - Cash Disbursement/Cash Management,
'GDSV' - Purchase Sale Of Goods And Services, 'GSCB' - Purchase Sale Of Goods And Services With Cash Back,
'COMP' - Compensation Payment, 'FEES' - Payment Of Fees, 'ICCP' - Irrevocable Credit Card Payment,
'IDCP' - Irrevocable Debit Card Payment, 'REFU' - Refund, 'RRCT' - Reimbursement Received Credit Transfer,
'RRTP' - Related Request To Pay, 'GVEA' - Austrian Government Employees Category A,
'GVEB' - Austrian Government Employees Category B, 'GVEC' - Austrian Government Employees Category C,
'GVED' - Austrian Government Employees Category D
ADVA, TAXS, CSDB, GDSV, GSCB, COMP, FEES, ICCP, IDCP, REFU, RRCT, RRTP, GVEA, GVEB, GVEC, GVED 1 - 4