Skip to main content

Booking Payment Methods

Every paid booking on Sportra goes through one of three payment flows. This page explains what each one does, what gets recorded, and what happens if something goes wrong.


Method 1 — SkipCash​

The customer pays the full booking price through the SkipCash payment gateway (card, QR code, or digital wallet).

What happens step by step​

  1. The customer taps Book and chooses SkipCash at checkout.
  2. Sportra immediately creates a booking record with status Pending and reserves the spot for up to 15 minutes.
  3. The customer is sent to the SkipCash payment page to complete their payment.
  4. Once the customer pays, SkipCash notifies Sportra automatically.
  5. Sportra updates the booking status to Success and notifies the coach or venue.

What is stored on the booking​

FieldWhat it holds
amount_centsTotal price the customer paid
booking_fee_centsPlatform commission deducted from the price
base_rate_centsNet amount the coach or venue earns
wallet_amount_cents0 — nothing taken from the wallet
skipcash_amount_centsEqual to amount_cents — the full price went via SkipCash
methodskipcash
statuspending → success (or failed if payment does not complete)
processed_atTimestamp when payment was confirmed

Important rules​

  • The spot is held for 15 minutes. If the customer does not pay within that window, the booking automatically expires and the spot is released.
  • Returning to checkout within 15 minutes shows the same payment link — the customer is never charged twice for the same booking.
  • If payment fails or expires, nothing is charged and the spot is freed for other customers.

Method 2 — Wallet​

The customer pays the full booking price from their Sportra wallet balance. No card, no redirect — the booking is confirmed instantly.

What happens step by step​

  1. The customer taps Book and chooses Wallet at checkout.
  2. Sportra checks that the wallet balance covers the full price.
  3. The wallet is debited immediately and the booking is confirmed in a single step — status goes straight to Success.
  4. The coach or venue is notified right away.

What is stored on the booking​

FieldWhat it holds
amount_centsTotal price the customer paid
booking_fee_centsPlatform commission deducted from the price
base_rate_centsNet amount the coach or venue earns
wallet_amount_centsEqual to amount_cents — the full price came from the wallet
skipcash_amount_cents0 — nothing charged via SkipCash
methodwallet
statussuccess immediately
processed_atTimestamp of confirmation (same moment as booking)

What is stored in the wallet ledger​

A single entry is added to wallet_transactions:

FieldValue
typepayment
amount_centsNegative value (debit) equal to the full price
reference_idLinks back to this booking

Important rules​

  • If the wallet balance is lower than the price, the booking is rejected — the customer must top up or choose SkipCash.
  • No payment gateway is involved — the transaction is instant and cannot be redirected or cancelled mid-flow.
  • If anything goes wrong during the database write, the wallet debit is rolled back automatically — the customer's balance stays unchanged.

Method 3 — Hybrid​

The customer uses their wallet to cover part of the price. The remaining amount is charged through SkipCash.

What happens step by step​

  1. The customer taps Book, picks Hybrid, and sets how much they want to use from their wallet.
  2. Sportra adjusts the wallet amount if needed (cannot exceed the available balance or the total price).
  3. The wallet portion is debited immediately — before the customer visits the SkipCash page.
  4. Sportra sends only the remaining amount to SkipCash.
  5. The customer completes the SkipCash payment.
  6. Once SkipCash confirms, the booking status becomes Success and the coach or venue is notified.

If the SkipCash payment fails or the customer cancels: The wallet debit is automatically reversed — a refund entry is added to the wallet ledger and the customer's balance is restored.

What is stored on the booking​

FieldWhat it holds
amount_centsTotal price (wallet portion + SkipCash portion)
booking_fee_centsPlatform commission deducted from the total price
base_rate_centsNet amount the coach or venue earns
wallet_amount_centsThe portion the customer paid from their wallet
skipcash_amount_centsThe portion charged via SkipCash
methodhybrid
statuspending → success (or failed if SkipCash payment does not complete)
processed_atTimestamp when SkipCash payment was confirmed

What is stored in the wallet ledger​

ScenarioEntry typeAmount
Booking createdpaymentNegative — wallet portion debited upfront
SkipCash fails / cancelledrefundPositive — wallet portion returned

Important rules​

  • The wallet is charged the moment the booking is created — even before the customer finishes the SkipCash step.
  • If the wallet covers the full price after adjustment, the booking completes instantly as a pure Wallet payment (no SkipCash redirect).
  • The reversal is automatic and happens only once — even if Sportra receives duplicate failure notifications from SkipCash, the wallet is never refunded more than once.

How the Platform Fee Works (all methods)​

Every confirmed booking is split between the provider and the platform at the moment of payment. The split is never changed after the fact.

WhatColumn storedMeaning
Price paid by customeramount_centsFull booking price (after any promo discount)
Platform commissionbooking_fee_centsDeducted from the customer price
Coach / Venue earnsbase_rate_centsWhat remains after the platform commission

The platform commission percentage is set by Sportra admins and applies to all bookings equally. SkipCash gateway fees are an additional cost paid by the platform — they are deducted from the platform's own share and never reduce what the coach or venue earns.


Booking Status Reference​

StatusWhat it means
pendingBooking exists, payment is not yet confirmed
successPayment confirmed — booking is active
failedPayment failed or the 15-minute window expired — spot released
canceledCancelled by the customer, coach, venue, or an admin
refundedPayment was refunded after the booking was already confirmed