1 operation. Every schema and example on this page is generated from the platform contract.
Internal-admin. For every paid order in the window, the application fee Membber should have taken against the one Stripe recorded, with each mismatch listed, and Membber fee revenue by day and lane. Read-only: writes nothing, refunds nothing, charges nothing.
How many days back, ending now. 7 when left out.
Stripe mode of the payments read. live when left out.
livetestlivetestPayments compared.
More payments were in the window than one run reads.
dropinstagramdownloadcollectUK calendar day of the payment, YYYY-MM-DD.
What the order(s) say Membber takes; null when not recorded.
The application fee Stripe recorded; null when Stripe could not answer.
matchstripe_differsparts_disagreenot_recordedstripe_missingread_failedNewest day first.
dropinstagramdownloadcollectStripe's fee less what went back and the card-fee pad Stripe bills Membber.
Kinds of payment this check does not read yet.
curl -G "https://www.membber.com/api/v1/admin-fee-reconcile" \
-H "Authorization: Bearer $MEMBBER_TOKEN"import { createMembberClient } from "@membber/sdk-ts";
const membber = createMembberClient({
getAccessToken: () => process.env.MEMBBER_TOKEN,
});
const { data, error } = await membber.raw.GET("/api/v1/admin-fee-reconcile");
if (error) {
// Typed error envelope: { error: { code, message, requestId } }
throw new Error(`${error.error.code}: ${error.error.message}`);
}
console.log(data);import MembberSwift
let client = MembberClient(
serverURL: MembberClient.productionServerURL,
tokenProvider: { session.accessToken }
)
let response = try await client.api.adminFeeReconcile().ok.body.json
print(response){
"mode": "live",
"from": "<from>",
"to": "<to>",
"checked": -9007199254740991,
"matched": -9007199254740991,
"truncated": true,
"mismatches": [
{
"payment_intent_id": "0b6642a5-0000-4000-8000-d0c50000000b",
"store_id": "6659c139-0000-4000-8000-d0c500000066",
"store_name": "<store_name>",
"order_ids": [
"4991ffac-0000-4000-8000-d0c500000049"
],
"order_numbers": [
"<order_number>"
],
"lane": "drop",
"paid_day": "<paid_day>",
"recorded_pence": 1500,
"buyer_fee_pence": 1500,
"card_fee_pence": 1500,
"stripe_pence": 1500,
"stripe_refunded_pence": 1500,
"status": "match",
"detail": "<detail>"
}
],
"revenue": [
{
"day": "<day>",
"lane": "drop",
"orders": -9007199254740991,
"recorded_pence": 1500,
"stripe_pence": 1500,
"returned_pence": 1500,
"card_fee_pence": 1500,
"kept_pence": 1500
}
],
"not_covered": [
"<not_covered>"
]
}