Finalize a proposal (charge-only)
POST
/p/{token}/pay
const url = 'https://quikstik-core.fly.dev/p/example/pay';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"provider":"example","instrument_token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://quikstik-core.fly.dev/p/example/pay \ --header 'Content-Type: application/json' \ --data '{ "provider": "example", "instrument_token": "example" }'Token-based auth. Charge-only: capacity was committed at mint, so this charges the frozen server price and creates the booking. It never re-commits capacity and never trusts a client amount.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”token
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
provider
required
string
instrument_token
required
string
Example generated
{ "provider": "example", "instrument_token": "example"}Responses
Section titled “Responses”Charged and booked.
Media typeapplication/json
object
processor_ref
required
string
booking_id
required
string
amount_minor
required
integer format: int64
Example generated
{ "processor_ref": "example", "booking_id": "example", "amount_minor": 1}Unknown or expired token.
Backend or rail unavailable.