Send a partner statement
curl --request POST \
--url https://api.panoqore.example/v1/recon/statements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"partner": "safehaven",
"currency": "NGN",
"businessDate": "2026-10-31",
"format": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk="
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
partner: 'safehaven',
currency: 'NGN',
businessDate: '2026-10-31',
format: '<string>',
content: 'aSDinaTvuI8gbWludGxpZnk='
})
};
fetch('https://api.panoqore.example/v1/recon/statements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.panoqore.example/v1/recon/statements"
payload = {
"partner": "safehaven",
"currency": "NGN",
"businessDate": "2026-10-31",
"format": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk="
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.panoqore.example/v1/recon/statements"
payload := strings.NewReader("{\n \"partner\": \"safehaven\",\n \"currency\": \"NGN\",\n \"businessDate\": \"2026-10-31\",\n \"format\": \"<string>\",\n \"content\": \"aSDinaTvuI8gbWludGxpZnk=\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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))
}{
"id": "<string>",
"partner": "<string>",
"partnerName": "<string>",
"currency": "<string>",
"businessDate": "<string>",
"source": "API",
"uploadedBy": {
"kind": "PERSON",
"id": "<string>",
"displayName": "<string>"
},
"status": "INGESTED",
"lines": 123,
"matched": 123,
"breaks": 123,
"closingBalance": "<string>",
"difference": "<string>",
"receivedAt": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}Reconciliation
Send a partner statement
CSV or JSON lines, uploaded by a ledger-only tenant or pulled by an adapter. Idempotent on statement id.
content is the file, base64 encoded, 50 MB at most. Matching runs at once. A partner, currency and day can be sent once.
Scope: recon:write.
POST
/
v1
/
recon
/
statements
Send a partner statement
curl --request POST \
--url https://api.panoqore.example/v1/recon/statements \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"partner": "safehaven",
"currency": "NGN",
"businessDate": "2026-10-31",
"format": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk="
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
partner: 'safehaven',
currency: 'NGN',
businessDate: '2026-10-31',
format: '<string>',
content: 'aSDinaTvuI8gbWludGxpZnk='
})
};
fetch('https://api.panoqore.example/v1/recon/statements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.panoqore.example/v1/recon/statements"
payload = {
"partner": "safehaven",
"currency": "NGN",
"businessDate": "2026-10-31",
"format": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk="
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.panoqore.example/v1/recon/statements"
payload := strings.NewReader("{\n \"partner\": \"safehaven\",\n \"currency\": \"NGN\",\n \"businessDate\": \"2026-10-31\",\n \"format\": \"<string>\",\n \"content\": \"aSDinaTvuI8gbWludGxpZnk=\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Idempotency-Key", "<idempotency-key>")
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))
}{
"id": "<string>",
"partner": "<string>",
"partnerName": "<string>",
"currency": "<string>",
"businessDate": "<string>",
"source": "API",
"uploadedBy": {
"kind": "PERSON",
"id": "<string>",
"displayName": "<string>"
},
"status": "INGESTED",
"lines": 123,
"matched": 123,
"breaks": 123,
"closingBalance": "<string>",
"difference": "<string>",
"receivedAt": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}{
"error": {
"code": "INSUFFICIENT_FUNDS",
"message": "<string>",
"details": {},
"request_id": "<string>"
}
}Authorizations
An API key, pk_live_… or pk_test_….
Headers
Your unique key for this write, at most 255 characters. A retry with the same key and body gets the first answer back.
Maximum string length:
255Body
application/json
Response
OK
stm_
Available options:
API, UPLOAD Who did something: a person signed in to the console, or an API key.
Show child attributes
Show child attributes
MATCHED: every line matched
LATE: expected, not received by the partner's cut-off
Available options:
INGESTED, MATCHED, HAS_BREAKS, LATE as the partner reports it Minor units, as a string.
statement closing balance minus the settlement account Minor units, as a string.