# Checkout and Delivery ###### Authorization and Capture calls Online shops offering one or more Ratepay products as payment methods must implement the Ratepay operations Payment Initialization, Payment Query (optional), Payment Request, Payment Confirm and Confirmation Deliver in the shop system. ![Checkout and Delivery process flow](/assets/checkout_and_delivery_process_flow.a268f9ee13cf4cc6e273621f98422edb770f51b5d15246c3efe49a2db0ea162a.bfc50b8c.svg) **A Payment Init request should be called immediately before** the Payment Query or Payment Request. ## SECCI_REQUEST *Conditionally needed (if CCD2 compliance needs to be fulfilled in your checkout)* This operation is needed when a SECCI document should be provided to the buyer before the checkout. [Click here](/docs/legal/a_legal_requirements_for_the_integration/ccd2/what_is_ccd2) to learn more about CCD2. [SECCI request](/docs/developer/api_integration/payment_1.8/payment_api_documentation/the_ratepay_gateway_operations/place_order/secci_request) ## PAYMENT_INIT *Mandatory* Initialize the transaction and get a valid ``. [Payment Initialization](/docs/developer/api_integration/payment_1.8/payment_api_documentation/the_ratepay_gateway_operations/place_order/payment_initialization) ## PAYMENT_QUERY *Optional* The PAYMENT_QUERY can be only used after contractually agreement. Please get in touch with your Ratepay representative! Check the customer and order details, perform a configurable risk scoring, retrieve the payment products permitted in the given context. The PAYMENT_QUERY can be booked with a guaranteed acceptance. This means that all products given back will be accepted by a following PAYMENT_REQUEST. [Payment Query](/docs/developer/api_integration/payment_1.8/payment_api_documentation/the_ratepay_gateway_operations/place_order/payment_query) ## PAYMENT_REQUEST *Mandatory* Check the shopper details, purchase order details, perform risk scoring, return either customer acceptance or rejection. [Payment Request](/docs/developer/api_integration/payment_1.8/payment_api_documentation/the_ratepay_gateway_operations/place_order/payment_request) ## PAYMENT_CONFIRM *Optional* Finalize the payment process if response of the PAYMENT_REQUEST is positive. [Payment Confirmation](/docs/developer/api_integration/payment_1.8/payment_api_documentation/the_ratepay_gateway_operations/place_order/payment_confirmation) ## CONFIRMATION_DELIVER *Mandatory (if order has not been cancelled)* Immediately after the ordered goods have been delivered to the customer, the merchant must send a Confirmation Deliver call to the Ratepay gateway. [Confirmation Deliver](/docs/developer/api_integration/payment_1.8/payment_api_documentation/the_ratepay_gateway_operations/follow_up_operations/confirmation_deliver)