Palbase Payments
Palbase's core payments & closed-loop wallet module: unified, multi-provider financial processing (Stripe, iyzico, Masterpass) with deterministic channel routing, server-sealed PaymentIntents, 1:N PaymentAttempts, 3DS/hosted/embedded NextAction orchestration, auth/capture, original or instant-wallet refunds, dispute/chargeback handling, recurring subscriptions, and an immutable double-entry closed-loop wallet ledger (top-up, single-use QR spend tokens, two-phase holds, split wallet+card checkout, atomic transfers, and zero-drift audit). Zero raw PAN/CVV ever touches Palbase (PCI-DSS SAQ-A).
The contract itself: /openapi/payments.openapi.json
Audit
Callbacks
Checkout
Channels
GET
/payments/channelsList payment channelsPOST/payments/channelsConnect payment channelPOST/payments/channels/grantsCreate credential connect grantGET/payments/channels/{channel_key}Get payment channelDELETE/payments/channels/{channel_key}Disconnect payment channelPOST/payments/channels/{channel_key}/checkCheck channel healthPOST/payments/channels/{channel_key}/defaultSet default channelGET/payments/connectRender credential connect pagePOST/payments/connectSubmit credential connect formGET/payments/stripe/app/callbackHandle Stripe App OAuth callbackPOST/payments/stripe/app/grantsCreate Stripe App install grantGET/payments/stripe/app/installRender Stripe App install pagePOST/payments/stripe/app/installStart Stripe App OAuth flowDisputes
Intents
GET
/payments/intentsList payment intentsPOST/payments/intentsCreate payment intentGET/payments/intents/{intent_id}Get payment intentGET/payments/intents/{intent_id}/attemptsList payment attemptsPOST/payments/intents/{intent_id}/cancelCancel payment intentPOST/payments/intents/{intent_id}/captureCapture authorized paymentPOST/payments/intents/{intent_id}/confirmConfirm payment intentPOST/payments/intents/{intent_id}/otpSubmit payment OTPRefunds
Customer
GET
/payments/me/methodsList saved payment methodsPOST/payments/me/methodsAdd saved payment methodDELETE/payments/me/methods/{method_id}Delete saved payment methodPOST/payments/me/portalCreate billing portal sessionGET/payments/me/profileGet customer billing profilePUT/payments/me/profileUpdate customer billing profileGET/payments/me/subscriptionsList my subscriptionsPOST/payments/me/subscriptions/{subscription_id}/cancelCancel my subscriptionGET/payments/me/walletsList my wallet balancesPOST/payments/me/wallets/spend-tokensCreate single-use QR spend tokenPOST/payments/me/wallets/top-upTop up my walletGET/payments/customers/{customer_id}Get a payer's billing profilePUT/payments/customers/{customer_id}Update a payer's billing profileDELETE/payments/customers/{customer_id}Delete a payerGET/payments/customers/{customer_id}/methodsList a payer's saved payment methodsPOST/payments/customers/{customer_id}/methodsAdd a saved payment method for a payerDELETE/payments/customers/{customer_id}/methods/{method_id}Delete a payer's saved payment methodPOST/payments/customers/{customer_id}/methods/{method_id}/defaultMake a payer's saved payment method the defaultPOST/payments/customers/{customer_id}/portalCreate a payer's billing portal sessionPOST/payments/customers/{customer_id}/adoptBring over a customer the provider already hasRouting
Marketplace
GET
/payments/seller-accounts/{seller_ref}Get seller accounting balancesGET/payments/seller-accounts/{seller_ref}/ledgerList seller double-entry ledgerGET/payments/splitsList marketplace payment splitsPUT/payments/splits/{split_id}Update held payment splitPOST/payments/splits/{split_id}/approveApprove payment split for seller payoutPOST/payments/splits/{split_id}/disapproveDisapprove approved payment splitPOST/payments/splits/{split_id}/refundRefund marketplace payment splitGET/payments/sub-merchantsList marketplace sub-merchantsPOST/payments/sub-merchantsCreate or update marketplace sub-merchantGET/payments/sub-merchants/{sub_merchant_id}Get marketplace sub-merchantPOST/payments/sub-merchants/{sub_merchant_id}/onboarding-linkCreate sub-merchant onboarding linkPOST/payments/sub-merchants/{sub_merchant_id}/syncSync sub-merchant status from providerPOST/payments/splits/{split_id}/closeClose a payment split its buyer paid nothing ofSettings
Subscriptions
GET
/payments/subscriptionsList subscriptionsPOST/payments/subscriptionsCreate subscriptionPOST/payments/subscriptions/{subscription_id}/cancelCancel subscriptionPOST/payments/subscriptions/{subscription_id}/extendExtend subscriptionPOST/payments/subscriptions/{subscription_id}/quantityChange a subscription's quantityWallets
GET
/payments/walletsList wallet definitionsPOST/payments/walletsCreate or update wallet definitionPOST/payments/wallets/chargeCharge customer walletPOST/payments/wallets/creditCredit customer walletGET/payments/wallets/customers/{customer_id}Get customer wallet balancesPUT/payments/wallets/customers/{customer_id}/{wallet_key}/freezeFreeze or unfreeze customer walletPOST/payments/wallets/holdsCreate two-phase wallet holdPOST/payments/wallets/holds/{hold_id}/commitCommit wallet holdPOST/payments/wallets/holds/{hold_id}/releaseRelease wallet holdPOST/payments/wallets/pending/voidVoid pending wallet creditsPOST/payments/wallets/test-balances/closeClose test balancesPOST/payments/wallets/transferTransfer wallet balanceWebhooks
Invoices
GET
/payments/customers/{customer_id}/invoicesList a payer's invoicesPOST/payments/customers/{customer_id}/invoicesInvoice a payerGET/payments/invoices/{invoice_id}Get an invoicePOST/payments/invoices/{invoice_id}/payPay an invoice againPOST/payments/invoices/{invoice_id}/voidVoid an invoicePOST/payments/invoices/{invoice_id}/uncollectibleMark an invoice uncollectiblePOST/payments/invoices/{invoice_id}/sendE-mail an invoice