Accept payments
Reconciliation
Match C2B payments that arrived without a clear reference to the right checkout session. Built for POS and back-office tools.
Base URL
https://api.paysasa.com/api/v1Authx-api-keyFormatJSONC2B reconciliation endpoints are API-key accessible and scoped to the key's business, enabling POS and third-party backoffice workflows.
List unmatched callback items and candidate checkout sessions.
curl "https://api.paysasa.com/api/v1/mp/c2b/reconciliation?business_id=biz_xxxxxxxxxxxxxxxx&status=pending_review" -H "x-api-key: apk_live_a1b2c3d4.7f9e0a..."Resolve one unmatched callback by matching it to a checkout session.
const res = await fetch(
"https://api.paysasa.com/api/v1/mp/c2b/reconciliation/trx_01hx.../match",
{
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "apk_live_a1b2c3d4.7f9e0a...",
},
body: JSON.stringify({
checkout_session_id: "ses_01hx...",
force: false,
}),
}
);
const data = await res.json();
console.log(data.ok);