Core resources
Administration
Booking flow
Payment schedule per service
id
uuid
Unique identifier
created_at
timestamp with time zone
Creation timestamp
updated_at
timestamp with time zone
Last modification timestamp
moment
jsonb
Moment at which the payment should be made. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
jsonb
Value of the payment
{"id": "00000000-0000-0000-0000-000000000000","service_id": "00000000-0000-0000-0000-000000000000","created_at": "2024-09-08T01:29:38.941Z","updated_at": "2024-09-08T01:29:38.941Z","moment": {},"value": {}}
id
Filter<uuid>
Unique identifier
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
moment
Filter<jsonb>
Moment at which the payment should be made. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<jsonb>
Value of the payment
200
A list of service payment moments with the selected columns
206
Partial Content
GET
/service_payment_moments
curl -X GET "https://api.bookingmood.com/v1/service_payment_moments?select=*" \ -H "Authorization: Bearer YOUR_API_KEY"
Partial<ServicePaymentMoment>
| Array<Partial<ServicePaymentMoment>>
201
The newly created service payment moments with the selected columns
POST
/service_payment_moments
curl -X POST "https://api.bookingmood.com/v1/service_payment_moments" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '[]'
id
Filter<uuid>
Unique identifier
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
moment
Filter<jsonb>
Moment at which the payment should be made. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<jsonb>
Value of the payment
204
The deleted service payment moments with the selected columns
DELETE
/service_payment_moments
curl -X DELETE "https://api.bookingmood.com/v1/service_payment_moments" \ -H "Authorization: Bearer YOUR_API_KEY"
id
Filter<uuid>
Unique identifier
service_id
Filter<uuid>
Identifier of the related service
created_at
Filter<timestamp with time zone>
Creation timestamp
updated_at
Filter<timestamp with time zone>
Last modification timestamp
moment
Filter<jsonb>
Moment at which the payment should be made. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<jsonb>
Value of the payment
Partial<ServicePaymentMoment>
204
The updated service payment moments with the selected columns
PATCH
/service_payment_moments
curl -X PATCH "https://api.bookingmood.com/v1/service_payment_moments" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{}'