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-10-05T00:42:23.383Z","updated_at": "2024-10-05T00:42:23.383Z","moment": {},"value": {}}
id
Filter<>
Unique identifier
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
moment
Filter<>
Moment at which the payment should be made. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<>
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<>
Unique identifier
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
moment
Filter<>
Moment at which the payment should be made. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<>
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<>
Unique identifier
service_id
Filter<>
Identifier of the related service
created_at
Filter<>
Creation timestamp
updated_at
Filter<>
Last modification timestamp
moment
Filter<>
Moment at which the payment should be made. Formatted as { type: "check-in" | "checkout" | "confirmation" | "on-site" | "request", offset: integer }
value
Filter<>
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 '{}'