# Payments **Create checkout session** This endpoint generates a URL for a hosted payment page where customers can securely select their preferred payment method and complete their transaction. **Create payment** This endpoint is used to initiate a payment for a specific payment method. You can choose between two integration types: * HOSTED: Returns a URL for a payment method-specific hosted form, where the customer is redirected to securely complete the payment. * DIRECT: Enables server-to-server communication, where you manage the payment UI and directly interacts with the API to process payments. Note that not all payment methods support both HOSTED and DIRECT integration types. Some support only one of these options, while others support both. For detailed information about the supported integration types for each payment method, refer to the payment method-specific documentation in our product guide. **Confirm payment** This endpoint is used for payment methods that require a multi-step payment flow. It allows you to confirm a previously created payment instance (initiated via the Create Payment endpoint) to complete the transaction. This step is essential for certain payment methods to finalize the payment process. **Incremental authorization** This endpoint allows you to increase the authorized amount for an existing card transaction when the initial authorization is insufficient. The additional amount is appended to the original authorization, and the total authorized amount reflects both. **Reverse payment** This endpoint is used to reverse a payment that has not yet been captured, effectively canceling the authorization. **Capture payment** This endpoint is used to capture an existing authorized payment. **Refund payment** This endpoint is used to refund a captured payment. **Refund payment without reference** This endpoint is used to refund a payment without reference. **Retrieve payment details by Payment ID** This endpoint is used to retrieve payment details with the Payment ID (payId) **Retrieve payment details by Transaction ID** This endpoint is used to retrieve payment details with the Transaction ID (transId) **Update payment details** This endpoint is used to update payment details **Create payment link** This endpoint allows you to generate a payment link that can be shared with customers via email, SMS, or other channels. When customers click the link, they are redirected to a hosted payment page where they can select their preferred payment method and complete the transaction. ## Create checkout session - [POST /payments/sessions](https://axeptabnpparibas-docs.redocly.app/payments/createsession.md): This endpoint generates a URL for a hosted payment page where customers can securely select their preferred payment method and complete their transaction. ## Create payment - [POST /payments](https://axeptabnpparibas-docs.redocly.app/payments/createpayment.md): This endpoint is used to initiate a payment for a specific payment method. You can choose between two integration types: HOSTED: Returns a URL for a payment method-specific hosted form, where the customer is redirected to securely complete the payment. DIRECT: Enables server-to-server communication, where you manage the payment UI and directly interacts with the API to process payments. Note that not all payment methods support both HOSTED and DIRECT integration types. Some support only one of these options, while others support both. For detailed information about the supported integration types for each payment method, refer to the payment method-specific documentation in our product guide. ## Confirm payment - [POST /payments/{id}/confirms](https://axeptabnpparibas-docs.redocly.app/payments/confirmpayment.md): This endpoint is used for payment methods that require a multi-step payment flow. It allows you to confirm a previously created payment instance (initiated via the Create Payment endpoint) to complete the transaction. This step is essential for certain payment methods to finalize the payment process. ## Incremental authorization - [POST /payments/{id}/incrementals](https://axeptabnpparibas-docs.redocly.app/payments/incrementauthorization.md): This endpoint allows you to increase the authorized amount for an existing card transaction when the initial authorization is insufficient. The additional amount is appended to the original authorization, and the total authorized amount reflects both. ## Reverse payment - [POST /payments/{id}/reversals](https://axeptabnpparibas-docs.redocly.app/payments/reversepayment.md): This endpoint is used to reverse a payment that has not yet been captured, effectively canceling the authorization. ## Capture payment - [POST /payments/{id}/captures](https://axeptabnpparibas-docs.redocly.app/payments/capturepayment.md): This endpoint is used to capture an existing authorized payment. ## Refund payment with reference - [POST /payments/{id}/refunds](https://axeptabnpparibas-docs.redocly.app/payments/refundpayment.md): This endpoint is used to refund a captured payment. ## Refund payment without reference - [POST /payments/refunds](https://axeptabnpparibas-docs.redocly.app/payments/refundexternalpayment.md): This endpoint is used to refund a payment without reference. ## Retrieve payment details by Payment ID - [GET /payments/getByPayId/{id}](https://axeptabnpparibas-docs.redocly.app/payments/getpaymentdetailsbypaymentid.md): Returns all details about existing payment. ## Retrieve payment details by Transaction ID - [GET /payments/getByTransId/{id}](https://axeptabnpparibas-docs.redocly.app/payments/getpaymentdetailsbytransactionid.md): This endpoint is used to retrieve payment details with the Transaction ID (transId). ## Update payment details - [PATCH /payments/{id}](https://axeptabnpparibas-docs.redocly.app/payments/updatepaymentdetails.md): Update details about existing payment. ## Create payment link - [POST /payments/links](https://axeptabnpparibas-docs.redocly.app/payments/createpaymentlink.md): This endpoint allows you to generate a payment link that can be shared with customers via email, SMS, or other channels. When customers click the link, they are redirected to a hosted payment page where they can select their preferred payment method and complete the transaction.