castomAPI
Odbierz klucz

Platforma · pay.castomapi.com

Pay

Płatności między ludźmi i firmami na platformie, ze Stripe pod spodem.

11 operacjiOpenAPI → castomocastomUIclickSomo

castomapi-pay przyjmuje płatność w imieniu sprzedawcy — rezerwację, zamówienie, usługę — przez Stripe Connect, więc pieniądze trafiają na własne konto sprzedawcy, a platforma zatrzymuje tylko prowizję. Zwroty, potwierdzenia i wypłaty idą według zasad sprzedawcy.

To dzięki niemu marketplace, strona rezerwacji albo sklep zbudowany na castomAPI może pobrać opłatę od klienta pierwszego dnia.

Operacje

MetodaŚcieżkaOpis
GET/public/v1/payments/{id}What a payer may see of a payment: amount, description, state.
POST/public/v1/payments/{id}/checkoutA checkout URL for an unpaid payment — the open session, or a fresh one when it has expired. `paid` when the read settled it; 409 once the payment is paid, refunded or canceled.
GET/v1/payments/Your payments, newest first
POST/v1/payments/Ask a customer for money and get a checkout link
GET/v1/payments/{id}One payment, and whether it is paid
POST/v1/payments/{id}/cancelCancel an unpaid payment and kill its checkout link
POST/v1/payments/{id}/refundRefund a payment in full or in part
POST/webhooks/stripeStripe Connect events, live mode
POST/webhooks/stripe/accountStripe events on the platform account (house sales), live mode
POST/webhooks/stripe/account/testStripe events on the platform account (house sales), test mode
POST/webhooks/stripe/testStripe Connect events, test mode

Adres bazowy: https://pay.castomapi.com · Otwórz dokumentację na żywo

Platforma