Booking - Payments

Charge saved card

Changed on

Create a payment request and immediately charge the customer's saved card. This is a collection action — it creates a new payment request and settles it in one step.

post/bookings/{code}/payment_requests/charge

Request

  • Base URL
    https://api.jammed.app/api/v2
  • Auth
    none declared. Required headers: Authorization

Path parameters

codestring required

Booking code

Headers

Authorizationstring required

Request body

priceinteger required

Amount in minor currency units (pence/cents). Must be an integer.

use_payment_methodstring

Response

Payment taken

status'ok' | 'error'
messagestring

Changes