v1

latestOpenAPI 3.1.02026-07-2422707.0 MB

Collect payment for a class booking by using a new credit/debit card

This API helps you to save the new credit/debit card details of the guest and then collect payment for the class booking.

You must specify appropriate details for the parameters in the API request body. For more information, refer to the Request Body Parameters table.

get/Catalog/Payments/Invoice/IntializePayment

Query parameters

transactionDetailsobject

Object that contains various transaction-related elements. For more information, refer to the transactionDetails Object table.

billingInfoobject

Object that contains various billing-related elements. For more information, refer to the billingInfo Object table.

shippingInfoobject

Object that contains various shipping-related elements. For more information, refer to the shippingInfo Object table.

paymentDetailsobject

Object that contains various payment-related elements. For more information, refer to the paymentDetails Object table.

Response

200

{"stackTrail":"paths:/Catalog/Payments/Invoice/IntializePayment:get:responses:200:content:application/json:schema:properties:ProcessorId","oasType":"schema","type":"unknown"}
TokenFKstring
HostedPaymentURLstring
Modeinteger
{"stackTrail":"paths:/Catalog/Payments/Invoice/IntializePayment:get:responses:200:content:application/json:schema:properties:TokenDetails","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/Catalog/Payments/Invoice/IntializePayment:get:responses:200:content:application/json:schema:properties:MetaData","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/Catalog/Payments/Invoice/IntializePayment:get:responses:200:content:application/json:schema:properties:Error","oasType":"schema","type":"unknown"}

Example response

{
  "TokenFK": "55546105",
  "HostedPaymentURL": "https://cpykdev.zenotibeta.com/OnlinePayments/AdyentHPP.aspx?TokenFK=55546105&Mode=test&ProcessorId=Adyen&SubscriberId=d51712b1-6040-4dd4-abff-cffc9d36f89e&Source=WebStore&TransactionType=Sale&FirstRecurringCharge=0&AvsSource=Client"
}