Splits getir
curl --request GET \
--url https://vpos.payven.com.tr/api/v1/marketplace/splits/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}', 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://vpos.payven.com.tr/api/v1/marketplace/splits/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sub_merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sub_merchant_name": "<string>",
"sub_merchant_external_id": "<string>",
"parent_merchant_name": "<string>",
"parent_merchant_external_id": "<string>",
"amount": 123,
"parent_commission": 123,
"net_amount": 123,
"currency": "<string>",
"applied_commission_rate_pct": 123,
"applied_commission_fixed": 123,
"applied_commission_source": "None",
"approval_status": "Pending",
"approval_note": "<string>",
"approved_at": "2023-11-07T05:31:56Z",
"approved_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_release_at": "2023-11-07T05:31:56Z",
"released_at": "2023-11-07T05:31:56Z",
"released_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refunded_at": "2023-11-07T05:31:56Z",
"refunded_net_amount": 123,
"settlement_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wallet_entry_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"last_modified": "2023-11-07T05:31:56Z",
"tx_amount": 123,
"tx_external_id": "<string>",
"tx_basket_id": "<string>",
"tx_status": "Created",
"tx_masked_card_number": "<string>",
"tx_connector_code": "<string>",
"tx_buyer_email": "<string>",
"tx_created": "2023-11-07T05:31:56Z"
}{
"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": "<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"
}Splits
Splits getir
GET
/
api
/
v1
/
marketplace
/
splits
/
{id}
Splits getir
curl --request GET \
--url https://vpos.payven.com.tr/api/v1/marketplace/splits/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}', 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://vpos.payven.com.tr/api/v1/marketplace/splits/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://vpos.payven.com.tr/api/v1/marketplace/splits/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"parent_merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sub_merchant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"sub_merchant_name": "<string>",
"sub_merchant_external_id": "<string>",
"parent_merchant_name": "<string>",
"parent_merchant_external_id": "<string>",
"amount": 123,
"parent_commission": 123,
"net_amount": 123,
"currency": "<string>",
"applied_commission_rate_pct": 123,
"applied_commission_fixed": 123,
"applied_commission_source": "None",
"approval_status": "Pending",
"approval_note": "<string>",
"approved_at": "2023-11-07T05:31:56Z",
"approved_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"auto_release_at": "2023-11-07T05:31:56Z",
"released_at": "2023-11-07T05:31:56Z",
"released_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"refunded_at": "2023-11-07T05:31:56Z",
"refunded_net_amount": 123,
"settlement_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wallet_entry_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created": "2023-11-07T05:31:56Z",
"last_modified": "2023-11-07T05:31:56Z",
"tx_amount": 123,
"tx_external_id": "<string>",
"tx_basket_id": "<string>",
"tx_status": "Created",
"tx_masked_card_number": "<string>",
"tx_connector_code": "<string>",
"tx_buyer_email": "<string>",
"tx_created": "2023-11-07T05:31:56Z"
}{
"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": "<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"
}Authorizations
bearerAuthoauth2
Response
OK