Private
Get Payment
POST /api/v1/payment/private/payment/{payment_id}/update
Response
Payment
{
"status": "awaiting",
"price": 55.12,
"currency": "string",
"methodId": 1234,
"coachId": "a344da16-c4a3-46ea-85b8-67cb58853973",
"clientId": "26ccf2ad-87e8-4c04-86d6-9ddf6f1bc140",
"serviceId": "8f3cb0ed-fdd3-4ddf-92ff-9e9472bb23b9",
"clientSecret": "string",
"checkout": "object"
}
Payment:
{'title': 'Payment', 'required': ['price', 'currency', 'methodId', 'coachId', 'clientId', 'serviceId'], 'type': 'object', 'properties': {'status': {'title': 'Status', 'maxLength': 40, 'type': 'string', 'description': 'awaiting: awaiting
checkout: checkout
review: review
received: received
canceled: canceled
failed: failed
refund: refund
delivered: delivered
deleted: deleted', 'default': 'awaiting'}, 'price': {'title': 'Price', 'type': 'number'}, 'currency': {'title': 'Currency', 'maxLength': 10, 'type': 'string'}, 'methodId': {'title': 'Methodid', 'type': 'integer'}, 'coachId': {'title': 'Coachid', 'type': 'string', 'format': 'uuid'}, 'clientId': {'title': 'Clientid', 'type': 'string', 'format': 'uuid'}, 'serviceId': {'title': 'Serviceid', 'type': 'string', 'format': 'uuid'}, 'clientSecret': {'title': 'Clientsecret', 'type': 'string'}, 'checkout': {'title': 'Checkout', 'type': 'object'}}, 'additionalProperties': False, 'description': 'The Session model', 'json': ' {\n "status": "awaiting",\n "price": 55.12,\n "currency": "string",\n "methodId": 1234,\n "coachId": "a344da16-c4a3-46ea-85b8-67cb58853973",\n "clientId": "26ccf2ad-87e8-4c04-86d6-9ddf6f1bc140",\n "serviceId": "8f3cb0ed-fdd3-4ddf-92ff-9e9472bb23b9",\n "clientSecret": "string",\n "checkout": "object"\n }'}
status string default: awaiting
awaiting: awaiting
checkout: checkout
review: review
received: received
canceled: canceled
failed: failed
refund: refund
delivered: delivered
deleted: deleted
price number
currency string
methodId integer
coachId string (uuid)
clientId string (uuid)
serviceId string (uuid)
clientSecret string
checkout object
Code sample
Cancel Payment
POST /api/v1/payment/private/payment/{payment_id}/cancel
Response
Payment
{
"status": "awaiting",
"price": 55.12,
"currency": "string",
"methodId": 1234,
"coachId": "fbebd1f2-4faf-4e18-886c-065e28604948",
"clientId": "1568648c-10ba-4ead-b19a-8f711282907d",
"serviceId": "8b9625e6-a3bb-45e8-9f1a-69acec3ae286",
"clientSecret": "string",
"checkout": "object"
}
Payment:
{'title': 'Payment', 'required': ['price', 'currency', 'methodId', 'coachId', 'clientId', 'serviceId'], 'type': 'object', 'properties': {'status': {'title': 'Status', 'maxLength': 40, 'type': 'string', 'description': 'awaiting: awaiting
checkout: checkout
review: review
received: received
canceled: canceled
failed: failed
refund: refund
delivered: delivered
deleted: deleted', 'default': 'awaiting'}, 'price': {'title': 'Price', 'type': 'number'}, 'currency': {'title': 'Currency', 'maxLength': 10, 'type': 'string'}, 'methodId': {'title': 'Methodid', 'type': 'integer'}, 'coachId': {'title': 'Coachid', 'type': 'string', 'format': 'uuid'}, 'clientId': {'title': 'Clientid', 'type': 'string', 'format': 'uuid'}, 'serviceId': {'title': 'Serviceid', 'type': 'string', 'format': 'uuid'}, 'clientSecret': {'title': 'Clientsecret', 'type': 'string'}, 'checkout': {'title': 'Checkout', 'type': 'object'}}, 'additionalProperties': False, 'description': 'The Session model', 'json': ' {\n "status": "awaiting",\n "price": 55.12,\n "currency": "string",\n "methodId": 1234,\n "coachId": "fbebd1f2-4faf-4e18-886c-065e28604948",\n "clientId": "1568648c-10ba-4ead-b19a-8f711282907d",\n "serviceId": "8b9625e6-a3bb-45e8-9f1a-69acec3ae286",\n "clientSecret": "string",\n "checkout": "object"\n }'}
status string default: awaiting
awaiting: awaiting
checkout: checkout
review: review
received: received
canceled: canceled
failed: failed
refund: refund
delivered: delivered
deleted: deleted
price number
currency string
methodId integer
coachId string (uuid)
clientId string (uuid)
serviceId string (uuid)
clientSecret string
checkout object
Code sample
Update User
POST /api/v1/payment/private/user/{user_id}/update
Response
Payment
{
"status": "awaiting",
"price": 55.12,
"currency": "string",
"methodId": 1234,
"coachId": "06bb2e33-83b8-4184-a513-a22923dbe378",
"clientId": "86dffe5f-c9ba-4895-9e8d-6805ecbffbac",
"serviceId": "bb3be41e-28d3-4b2e-bb19-9045cb988696",
"clientSecret": "string",
"checkout": "object"
}
Payment:
{'title': 'Payment', 'required': ['price', 'currency', 'methodId', 'coachId', 'clientId', 'serviceId'], 'type': 'object', 'properties': {'status': {'title': 'Status', 'maxLength': 40, 'type': 'string', 'description': 'awaiting: awaiting
checkout: checkout
review: review
received: received
canceled: canceled
failed: failed
refund: refund
delivered: delivered
deleted: deleted', 'default': 'awaiting'}, 'price': {'title': 'Price', 'type': 'number'}, 'currency': {'title': 'Currency', 'maxLength': 10, 'type': 'string'}, 'methodId': {'title': 'Methodid', 'type': 'integer'}, 'coachId': {'title': 'Coachid', 'type': 'string', 'format': 'uuid'}, 'clientId': {'title': 'Clientid', 'type': 'string', 'format': 'uuid'}, 'serviceId': {'title': 'Serviceid', 'type': 'string', 'format': 'uuid'}, 'clientSecret': {'title': 'Clientsecret', 'type': 'string'}, 'checkout': {'title': 'Checkout', 'type': 'object'}}, 'additionalProperties': False, 'description': 'The Session model', 'json': ' {\n "status": "awaiting",\n "price": 55.12,\n "currency": "string",\n "methodId": 1234,\n "coachId": "06bb2e33-83b8-4184-a513-a22923dbe378",\n "clientId": "86dffe5f-c9ba-4895-9e8d-6805ecbffbac",\n "serviceId": "bb3be41e-28d3-4b2e-bb19-9045cb988696",\n "clientSecret": "string",\n "checkout": "object"\n }'}
status string default: awaiting
awaiting: awaiting
checkout: checkout
review: review
received: received
canceled: canceled
failed: failed
refund: refund
delivered: delivered
deleted: deleted
price number
currency string
methodId integer
coachId string (uuid)
clientId string (uuid)
serviceId string (uuid)
clientSecret string
checkout object
Code sample
Send User Email
POST /api/v1/notification/private/email/{user_id}/verification
Response
Code sample
Send User Email
POST /api/v1/notification/private/email/{user_id}/session/{group_id}/booking
Response
Code sample
Send Session Approve Email Url
POST /api/v1/notification/private/email/{user_id}/session/{session_id}/approve
Response
Code sample
Send Session Cancel Email Url
POST /api/v1/notification/private/email/{user_id}/session/{session_id}/cancel
Response
Code sample
Send Session Decline Email Url
POST /api/v1/notification/private/email/{user_id}/session/{session_id}/decline
Response
Code sample
Send Session Dispute Coach Email Url
POST /api/v1/notification/private/email/{user_id}/session/{session_id}/dispute
Response
Code sample