Bulktransfers oluştur
curl --request POST \
--url https://paratransferi.payven.com.tr/api/v1/bulk-transfers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"description": "<string>",
"default_connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"append_split_suffix": true,
"source_file_name": "<string>",
"source_file_hash": "<string>",
"rows": [
{
"row_index": 123,
"external_id": "<string>",
"holder_name": "<string>",
"iban": "<string>",
"account_number": "<string>",
"amount": 123,
"split_count": 123,
"description": "<string>",
"connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"skip_invalid_rows": true
}
'import requests
url = "https://paratransferi.payven.com.tr/api/v1/bulk-transfers"
payload = {
"title": "<string>",
"description": "<string>",
"default_connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"append_split_suffix": True,
"source_file_name": "<string>",
"source_file_hash": "<string>",
"rows": [
{
"row_index": 123,
"external_id": "<string>",
"holder_name": "<string>",
"iban": "<string>",
"account_number": "<string>",
"amount": 123,
"split_count": 123,
"description": "<string>",
"connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"skip_invalid_rows": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
default_connector_account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
append_split_suffix: true,
source_file_name: '<string>',
source_file_hash: '<string>',
rows: [
{
row_index: 123,
external_id: '<string>',
holder_name: '<string>',
iban: '<string>',
account_number: '<string>',
amount: 123,
split_count: 123,
description: '<string>',
connector_account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
}
],
skip_invalid_rows: true
})
};
fetch('https://paratransferi.payven.com.tr/api/v1/bulk-transfers', 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://paratransferi.payven.com.tr/api/v1/bulk-transfers",
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([
'title' => '<string>',
'description' => '<string>',
'default_connector_account_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'append_split_suffix' => true,
'source_file_name' => '<string>',
'source_file_hash' => '<string>',
'rows' => [
[
'row_index' => 123,
'external_id' => '<string>',
'holder_name' => '<string>',
'iban' => '<string>',
'account_number' => '<string>',
'amount' => 123,
'split_count' => 123,
'description' => '<string>',
'connector_account_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'skip_invalid_rows' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://paratransferi.payven.com.tr/api/v1/bulk-transfers"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"default_connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"append_split_suffix\": true,\n \"source_file_name\": \"<string>\",\n \"source_file_hash\": \"<string>\",\n \"rows\": [\n {\n \"row_index\": 123,\n \"external_id\": \"<string>\",\n \"holder_name\": \"<string>\",\n \"iban\": \"<string>\",\n \"account_number\": \"<string>\",\n \"amount\": 123,\n \"split_count\": 123,\n \"description\": \"<string>\",\n \"connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"skip_invalid_rows\": true\n}")
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))
}HttpResponse<String> response = Unirest.post("https://paratransferi.payven.com.tr/api/v1/bulk-transfers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"default_connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"append_split_suffix\": true,\n \"source_file_name\": \"<string>\",\n \"source_file_hash\": \"<string>\",\n \"rows\": [\n {\n \"row_index\": 123,\n \"external_id\": \"<string>\",\n \"holder_name\": \"<string>\",\n \"iban\": \"<string>\",\n \"account_number\": \"<string>\",\n \"amount\": 123,\n \"split_count\": 123,\n \"description\": \"<string>\",\n \"connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"skip_invalid_rows\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://paratransferi.payven.com.tr/api/v1/bulk-transfers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"default_connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"append_split_suffix\": true,\n \"source_file_name\": \"<string>\",\n \"source_file_hash\": \"<string>\",\n \"rows\": [\n {\n \"row_index\": 123,\n \"external_id\": \"<string>\",\n \"holder_name\": \"<string>\",\n \"iban\": \"<string>\",\n \"account_number\": \"<string>\",\n \"amount\": 123,\n \"split_count\": 123,\n \"description\": \"<string>\",\n \"connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"skip_invalid_rows\": true\n}"
response = http.request(request)
puts response.read_body{
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_transfer_count": 123,
"skipped_row_count": 123,
"total_amount_kurus": 123,
"invalid_rows": [
{
"row_index": 123,
"split_index": 123,
"split_total": 123,
"external_id": "<string>",
"status": "Valid",
"errors": [
"<string>"
],
"warnings": [
"<string>"
],
"holder_name": "<string>",
"iban": "<string>",
"account_number": "<string>",
"bank_name": "<string>",
"bank_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount_kurus": 123,
"description": "<string>",
"connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}{
"type": "https://docs.payven.com.tr/errors/bad_request",
"title": "Geçersiz istek",
"status": 400,
"code": "bad_request",
"detail": "amount.amount alanı zorunlu.",
"correlation_id": "9f1c8e76-2a3b-4f12-9c8d-12cb24a8a8a8"
}{
"type": "https://docs.payven.com.tr/errors/invalid_token",
"title": "Geçersiz token",
"status": 401,
"code": "invalid_token",
"detail": "Access token geçersiz veya süresi dolmuş — refresh edin."
}{
"type": "https://docs.payven.com.tr/errors/forbidden",
"title": "Yetki yok",
"status": 403,
"code": "forbidden",
"detail": "Bu rol bu kaynağı göremez."
}{
"type": "https://docs.payven.com.tr/errors/idempotency_key_in_use",
"title": "Idempotency-Key çakışması",
"status": 409,
"code": "idempotency_key_in_use",
"detail": "Bu Idempotency-Key daha önce farklı bir istek gövdesi ile kullanıldı."
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "https://docs.payven.com.tr/errors/rate_limit_exceeded",
"title": "İstek limiti aşıldı",
"status": 429,
"code": "rate_limit_exceeded"
}{
"type": "https://docs.payven.com.tr/errors/internal_server_error",
"title": "Sunucu hatası",
"status": 500,
"code": "internal_server_error"
}{
"type": "https://docs.payven.com.tr/errors/connector_unavailable",
"title": "Konnektör erişilemez",
"status": 503,
"code": "connector_unavailable"
}BulkTransfers
Bulktransfers oluştur
POST
/
api
/
v1
/
bulk-transfers
Bulktransfers oluştur
curl --request POST \
--url https://paratransferi.payven.com.tr/api/v1/bulk-transfers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"description": "<string>",
"default_connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"append_split_suffix": true,
"source_file_name": "<string>",
"source_file_hash": "<string>",
"rows": [
{
"row_index": 123,
"external_id": "<string>",
"holder_name": "<string>",
"iban": "<string>",
"account_number": "<string>",
"amount": 123,
"split_count": 123,
"description": "<string>",
"connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"skip_invalid_rows": true
}
'import requests
url = "https://paratransferi.payven.com.tr/api/v1/bulk-transfers"
payload = {
"title": "<string>",
"description": "<string>",
"default_connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"append_split_suffix": True,
"source_file_name": "<string>",
"source_file_hash": "<string>",
"rows": [
{
"row_index": 123,
"external_id": "<string>",
"holder_name": "<string>",
"iban": "<string>",
"account_number": "<string>",
"amount": 123,
"split_count": 123,
"description": "<string>",
"connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"skip_invalid_rows": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
description: '<string>',
default_connector_account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
append_split_suffix: true,
source_file_name: '<string>',
source_file_hash: '<string>',
rows: [
{
row_index: 123,
external_id: '<string>',
holder_name: '<string>',
iban: '<string>',
account_number: '<string>',
amount: 123,
split_count: 123,
description: '<string>',
connector_account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'
}
],
skip_invalid_rows: true
})
};
fetch('https://paratransferi.payven.com.tr/api/v1/bulk-transfers', 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://paratransferi.payven.com.tr/api/v1/bulk-transfers",
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([
'title' => '<string>',
'description' => '<string>',
'default_connector_account_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'append_split_suffix' => true,
'source_file_name' => '<string>',
'source_file_hash' => '<string>',
'rows' => [
[
'row_index' => 123,
'external_id' => '<string>',
'holder_name' => '<string>',
'iban' => '<string>',
'account_number' => '<string>',
'amount' => 123,
'split_count' => 123,
'description' => '<string>',
'connector_account_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a'
]
],
'skip_invalid_rows' => true
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://paratransferi.payven.com.tr/api/v1/bulk-transfers"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"default_connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"append_split_suffix\": true,\n \"source_file_name\": \"<string>\",\n \"source_file_hash\": \"<string>\",\n \"rows\": [\n {\n \"row_index\": 123,\n \"external_id\": \"<string>\",\n \"holder_name\": \"<string>\",\n \"iban\": \"<string>\",\n \"account_number\": \"<string>\",\n \"amount\": 123,\n \"split_count\": 123,\n \"description\": \"<string>\",\n \"connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"skip_invalid_rows\": true\n}")
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))
}HttpResponse<String> response = Unirest.post("https://paratransferi.payven.com.tr/api/v1/bulk-transfers")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"default_connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"append_split_suffix\": true,\n \"source_file_name\": \"<string>\",\n \"source_file_hash\": \"<string>\",\n \"rows\": [\n {\n \"row_index\": 123,\n \"external_id\": \"<string>\",\n \"holder_name\": \"<string>\",\n \"iban\": \"<string>\",\n \"account_number\": \"<string>\",\n \"amount\": 123,\n \"split_count\": 123,\n \"description\": \"<string>\",\n \"connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"skip_invalid_rows\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://paratransferi.payven.com.tr/api/v1/bulk-transfers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"description\": \"<string>\",\n \"default_connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"append_split_suffix\": true,\n \"source_file_name\": \"<string>\",\n \"source_file_hash\": \"<string>\",\n \"rows\": [\n {\n \"row_index\": 123,\n \"external_id\": \"<string>\",\n \"holder_name\": \"<string>\",\n \"iban\": \"<string>\",\n \"account_number\": \"<string>\",\n \"amount\": 123,\n \"split_count\": 123,\n \"description\": \"<string>\",\n \"connector_account_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\"\n }\n ],\n \"skip_invalid_rows\": true\n}"
response = http.request(request)
puts response.read_body{
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_transfer_count": 123,
"skipped_row_count": 123,
"total_amount_kurus": 123,
"invalid_rows": [
{
"row_index": 123,
"split_index": 123,
"split_total": 123,
"external_id": "<string>",
"status": "Valid",
"errors": [
"<string>"
],
"warnings": [
"<string>"
],
"holder_name": "<string>",
"iban": "<string>",
"account_number": "<string>",
"bank_name": "<string>",
"bank_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"amount_kurus": 123,
"description": "<string>",
"connector_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}{
"type": "https://docs.payven.com.tr/errors/bad_request",
"title": "Geçersiz istek",
"status": 400,
"code": "bad_request",
"detail": "amount.amount alanı zorunlu.",
"correlation_id": "9f1c8e76-2a3b-4f12-9c8d-12cb24a8a8a8"
}{
"type": "https://docs.payven.com.tr/errors/invalid_token",
"title": "Geçersiz token",
"status": 401,
"code": "invalid_token",
"detail": "Access token geçersiz veya süresi dolmuş — refresh edin."
}{
"type": "https://docs.payven.com.tr/errors/forbidden",
"title": "Yetki yok",
"status": 403,
"code": "forbidden",
"detail": "Bu rol bu kaynağı göremez."
}{
"type": "https://docs.payven.com.tr/errors/idempotency_key_in_use",
"title": "Idempotency-Key çakışması",
"status": 409,
"code": "idempotency_key_in_use",
"detail": "Bu Idempotency-Key daha önce farklı bir istek gövdesi ile kullanıldı."
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "https://docs.payven.com.tr/errors/rate_limit_exceeded",
"title": "İstek limiti aşıldı",
"status": 429,
"code": "rate_limit_exceeded"
}{
"type": "https://docs.payven.com.tr/errors/internal_server_error",
"title": "Sunucu hatası",
"status": 500,
"code": "internal_server_error"
}{
"type": "https://docs.payven.com.tr/errors/connector_unavailable",
"title": "Konnektör erişilemez",
"status": 503,
"code": "connector_unavailable"
}Authorizations
bearerAuthoauth2
Body
application/json