Create a reconciliation rule
curl --request POST \
--url https://api.reconlayer.com/v1/reconciliation-rules \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"isActive": true,
"allowProviderIdMatch": true,
"allowTxHashMatch": true,
"allowReferenceExactMatch": true,
"allowAmountAndTimeWindowMatch": true,
"requireAllRequiredLegs": true,
"amountTolerance": "<string>",
"timeWindowMinutes": 4503599627370495,
"expectedCompletionMinutes": 4503599627370495,
"delayedSettlementThresholdMinutes": 4503599627370495,
"sourceSlaMinutes": 4503599627370495,
"intermediaryInSlaMinutes": 4503599627370495,
"transferSlaMinutes": 4503599627370495,
"intermediaryOutSlaMinutes": 4503599627370495,
"destinationSlaMinutes": 4503599627370495,
"metadata": {}
}
'import requests
url = "https://api.reconlayer.com/v1/reconciliation-rules"
payload = {
"name": "<string>",
"isActive": True,
"allowProviderIdMatch": True,
"allowTxHashMatch": True,
"allowReferenceExactMatch": True,
"allowAmountAndTimeWindowMatch": True,
"requireAllRequiredLegs": True,
"amountTolerance": "<string>",
"timeWindowMinutes": 4503599627370495,
"expectedCompletionMinutes": 4503599627370495,
"delayedSettlementThresholdMinutes": 4503599627370495,
"sourceSlaMinutes": 4503599627370495,
"intermediaryInSlaMinutes": 4503599627370495,
"transferSlaMinutes": 4503599627370495,
"intermediaryOutSlaMinutes": 4503599627370495,
"destinationSlaMinutes": 4503599627370495,
"metadata": {}
}
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({
name: '<string>',
isActive: true,
allowProviderIdMatch: true,
allowTxHashMatch: true,
allowReferenceExactMatch: true,
allowAmountAndTimeWindowMatch: true,
requireAllRequiredLegs: true,
amountTolerance: '<string>',
timeWindowMinutes: 4503599627370495,
expectedCompletionMinutes: 4503599627370495,
delayedSettlementThresholdMinutes: 4503599627370495,
sourceSlaMinutes: 4503599627370495,
intermediaryInSlaMinutes: 4503599627370495,
transferSlaMinutes: 4503599627370495,
intermediaryOutSlaMinutes: 4503599627370495,
destinationSlaMinutes: 4503599627370495,
metadata: {}
})
};
fetch('https://api.reconlayer.com/v1/reconciliation-rules', 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.reconlayer.com/v1/reconciliation-rules",
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([
'name' => '<string>',
'isActive' => true,
'allowProviderIdMatch' => true,
'allowTxHashMatch' => true,
'allowReferenceExactMatch' => true,
'allowAmountAndTimeWindowMatch' => true,
'requireAllRequiredLegs' => true,
'amountTolerance' => '<string>',
'timeWindowMinutes' => 4503599627370495,
'expectedCompletionMinutes' => 4503599627370495,
'delayedSettlementThresholdMinutes' => 4503599627370495,
'sourceSlaMinutes' => 4503599627370495,
'intermediaryInSlaMinutes' => 4503599627370495,
'transferSlaMinutes' => 4503599627370495,
'intermediaryOutSlaMinutes' => 4503599627370495,
'destinationSlaMinutes' => 4503599627370495,
'metadata' => [
]
]),
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.reconlayer.com/v1/reconciliation-rules"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"isActive\": true,\n \"allowProviderIdMatch\": true,\n \"allowTxHashMatch\": true,\n \"allowReferenceExactMatch\": true,\n \"allowAmountAndTimeWindowMatch\": true,\n \"requireAllRequiredLegs\": true,\n \"amountTolerance\": \"<string>\",\n \"timeWindowMinutes\": 4503599627370495,\n \"expectedCompletionMinutes\": 4503599627370495,\n \"delayedSettlementThresholdMinutes\": 4503599627370495,\n \"sourceSlaMinutes\": 4503599627370495,\n \"intermediaryInSlaMinutes\": 4503599627370495,\n \"transferSlaMinutes\": 4503599627370495,\n \"intermediaryOutSlaMinutes\": 4503599627370495,\n \"destinationSlaMinutes\": 4503599627370495,\n \"metadata\": {}\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.reconlayer.com/v1/reconciliation-rules")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"isActive\": true,\n \"allowProviderIdMatch\": true,\n \"allowTxHashMatch\": true,\n \"allowReferenceExactMatch\": true,\n \"allowAmountAndTimeWindowMatch\": true,\n \"requireAllRequiredLegs\": true,\n \"amountTolerance\": \"<string>\",\n \"timeWindowMinutes\": 4503599627370495,\n \"expectedCompletionMinutes\": 4503599627370495,\n \"delayedSettlementThresholdMinutes\": 4503599627370495,\n \"sourceSlaMinutes\": 4503599627370495,\n \"intermediaryInSlaMinutes\": 4503599627370495,\n \"transferSlaMinutes\": 4503599627370495,\n \"intermediaryOutSlaMinutes\": 4503599627370495,\n \"destinationSlaMinutes\": 4503599627370495,\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reconlayer.com/v1/reconciliation-rules")
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 \"name\": \"<string>\",\n \"isActive\": true,\n \"allowProviderIdMatch\": true,\n \"allowTxHashMatch\": true,\n \"allowReferenceExactMatch\": true,\n \"allowAmountAndTimeWindowMatch\": true,\n \"requireAllRequiredLegs\": true,\n \"amountTolerance\": \"<string>\",\n \"timeWindowMinutes\": 4503599627370495,\n \"expectedCompletionMinutes\": 4503599627370495,\n \"delayedSettlementThresholdMinutes\": 4503599627370495,\n \"sourceSlaMinutes\": 4503599627370495,\n \"intermediaryInSlaMinutes\": 4503599627370495,\n \"transferSlaMinutes\": 4503599627370495,\n \"intermediaryOutSlaMinutes\": 4503599627370495,\n \"destinationSlaMinutes\": 4503599627370495,\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"paymentType": "<string>",
"sourceType": "<string>",
"isActive": true,
"amountTolerance": "<string>",
"timeWindowMinutes": 123,
"expectedCompletionMinutes": 123,
"delayedSettlementThresholdMinutes": 123,
"sourceSlaMinutes": 123,
"intermediaryInSlaMinutes": 123,
"transferSlaMinutes": 123,
"intermediaryOutSlaMinutes": 123,
"destinationSlaMinutes": 123,
"allowProviderIdMatch": true,
"allowTxHashMatch": true,
"allowReferenceExactMatch": true,
"allowAmountAndTimeWindowMatch": true,
"requireAllRequiredLegs": true,
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"message": "<string>",
"issues": [
{}
],
"details": {},
"upstreamStatus": 123
}๐งพ Reconciliation Cases
Create a reconciliation rule
POST
/
v1
/
reconciliation-rules
Create a reconciliation rule
curl --request POST \
--url https://api.reconlayer.com/v1/reconciliation-rules \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"isActive": true,
"allowProviderIdMatch": true,
"allowTxHashMatch": true,
"allowReferenceExactMatch": true,
"allowAmountAndTimeWindowMatch": true,
"requireAllRequiredLegs": true,
"amountTolerance": "<string>",
"timeWindowMinutes": 4503599627370495,
"expectedCompletionMinutes": 4503599627370495,
"delayedSettlementThresholdMinutes": 4503599627370495,
"sourceSlaMinutes": 4503599627370495,
"intermediaryInSlaMinutes": 4503599627370495,
"transferSlaMinutes": 4503599627370495,
"intermediaryOutSlaMinutes": 4503599627370495,
"destinationSlaMinutes": 4503599627370495,
"metadata": {}
}
'import requests
url = "https://api.reconlayer.com/v1/reconciliation-rules"
payload = {
"name": "<string>",
"isActive": True,
"allowProviderIdMatch": True,
"allowTxHashMatch": True,
"allowReferenceExactMatch": True,
"allowAmountAndTimeWindowMatch": True,
"requireAllRequiredLegs": True,
"amountTolerance": "<string>",
"timeWindowMinutes": 4503599627370495,
"expectedCompletionMinutes": 4503599627370495,
"delayedSettlementThresholdMinutes": 4503599627370495,
"sourceSlaMinutes": 4503599627370495,
"intermediaryInSlaMinutes": 4503599627370495,
"transferSlaMinutes": 4503599627370495,
"intermediaryOutSlaMinutes": 4503599627370495,
"destinationSlaMinutes": 4503599627370495,
"metadata": {}
}
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({
name: '<string>',
isActive: true,
allowProviderIdMatch: true,
allowTxHashMatch: true,
allowReferenceExactMatch: true,
allowAmountAndTimeWindowMatch: true,
requireAllRequiredLegs: true,
amountTolerance: '<string>',
timeWindowMinutes: 4503599627370495,
expectedCompletionMinutes: 4503599627370495,
delayedSettlementThresholdMinutes: 4503599627370495,
sourceSlaMinutes: 4503599627370495,
intermediaryInSlaMinutes: 4503599627370495,
transferSlaMinutes: 4503599627370495,
intermediaryOutSlaMinutes: 4503599627370495,
destinationSlaMinutes: 4503599627370495,
metadata: {}
})
};
fetch('https://api.reconlayer.com/v1/reconciliation-rules', 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.reconlayer.com/v1/reconciliation-rules",
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([
'name' => '<string>',
'isActive' => true,
'allowProviderIdMatch' => true,
'allowTxHashMatch' => true,
'allowReferenceExactMatch' => true,
'allowAmountAndTimeWindowMatch' => true,
'requireAllRequiredLegs' => true,
'amountTolerance' => '<string>',
'timeWindowMinutes' => 4503599627370495,
'expectedCompletionMinutes' => 4503599627370495,
'delayedSettlementThresholdMinutes' => 4503599627370495,
'sourceSlaMinutes' => 4503599627370495,
'intermediaryInSlaMinutes' => 4503599627370495,
'transferSlaMinutes' => 4503599627370495,
'intermediaryOutSlaMinutes' => 4503599627370495,
'destinationSlaMinutes' => 4503599627370495,
'metadata' => [
]
]),
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.reconlayer.com/v1/reconciliation-rules"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"isActive\": true,\n \"allowProviderIdMatch\": true,\n \"allowTxHashMatch\": true,\n \"allowReferenceExactMatch\": true,\n \"allowAmountAndTimeWindowMatch\": true,\n \"requireAllRequiredLegs\": true,\n \"amountTolerance\": \"<string>\",\n \"timeWindowMinutes\": 4503599627370495,\n \"expectedCompletionMinutes\": 4503599627370495,\n \"delayedSettlementThresholdMinutes\": 4503599627370495,\n \"sourceSlaMinutes\": 4503599627370495,\n \"intermediaryInSlaMinutes\": 4503599627370495,\n \"transferSlaMinutes\": 4503599627370495,\n \"intermediaryOutSlaMinutes\": 4503599627370495,\n \"destinationSlaMinutes\": 4503599627370495,\n \"metadata\": {}\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.reconlayer.com/v1/reconciliation-rules")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"isActive\": true,\n \"allowProviderIdMatch\": true,\n \"allowTxHashMatch\": true,\n \"allowReferenceExactMatch\": true,\n \"allowAmountAndTimeWindowMatch\": true,\n \"requireAllRequiredLegs\": true,\n \"amountTolerance\": \"<string>\",\n \"timeWindowMinutes\": 4503599627370495,\n \"expectedCompletionMinutes\": 4503599627370495,\n \"delayedSettlementThresholdMinutes\": 4503599627370495,\n \"sourceSlaMinutes\": 4503599627370495,\n \"intermediaryInSlaMinutes\": 4503599627370495,\n \"transferSlaMinutes\": 4503599627370495,\n \"intermediaryOutSlaMinutes\": 4503599627370495,\n \"destinationSlaMinutes\": 4503599627370495,\n \"metadata\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.reconlayer.com/v1/reconciliation-rules")
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 \"name\": \"<string>\",\n \"isActive\": true,\n \"allowProviderIdMatch\": true,\n \"allowTxHashMatch\": true,\n \"allowReferenceExactMatch\": true,\n \"allowAmountAndTimeWindowMatch\": true,\n \"requireAllRequiredLegs\": true,\n \"amountTolerance\": \"<string>\",\n \"timeWindowMinutes\": 4503599627370495,\n \"expectedCompletionMinutes\": 4503599627370495,\n \"delayedSettlementThresholdMinutes\": 4503599627370495,\n \"sourceSlaMinutes\": 4503599627370495,\n \"intermediaryInSlaMinutes\": 4503599627370495,\n \"transferSlaMinutes\": 4503599627370495,\n \"intermediaryOutSlaMinutes\": 4503599627370495,\n \"destinationSlaMinutes\": 4503599627370495,\n \"metadata\": {}\n}"
response = http.request(request)
puts response.read_body{
"id": "<string>",
"organizationId": "<string>",
"name": "<string>",
"paymentType": "<string>",
"sourceType": "<string>",
"isActive": true,
"amountTolerance": "<string>",
"timeWindowMinutes": 123,
"expectedCompletionMinutes": 123,
"delayedSettlementThresholdMinutes": 123,
"sourceSlaMinutes": 123,
"intermediaryInSlaMinutes": 123,
"transferSlaMinutes": 123,
"intermediaryOutSlaMinutes": 123,
"destinationSlaMinutes": 123,
"allowProviderIdMatch": true,
"allowTxHashMatch": true,
"allowReferenceExactMatch": true,
"allowAmountAndTimeWindowMatch": true,
"requireAllRequiredLegs": true,
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>",
"message": "<string>",
"issues": [
{}
],
"details": {},
"upstreamStatus": 123
}Headers
Minimum string length:
1Minimum string length:
1Body
application/json
Minimum string length:
1Available options:
stablecoin, bank, cross_border, other Available options:
client_transfer_report, client_internal_ledger, bank_statement, onchain_report, psp_report, manual Pattern:
^-?\d+(\.\d+)?$Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Required range:
0 <= x <= 9007199254740991Show child attributes
Show child attributes
Response
Default Response
โI
