Get payment provider by cart

GET{{API_BASE_URL}}/shop/v1/cart/:cart/payment-providers

This endpoint retrieves the available payment providers for the specified cart.

Request

  • cartId: The ID of the cart

Response

The response will be a JSON object with the following properties:

  • payment_providers: An array of objects representing the available payment providers for the specified cart. Each object includes the following properties:

    • id: The unique identifier for the payment provider.

    • name: The name of the payment provider.

    • type: The type of the payment provider.

Authentication#auth

This endpoint does not require authentication.

Responses#responses

200OKGet payment provider by cart