Payment Providers API Routes
Each region has a set of payment providers enabled.
During checkout, you retrieve the available payment providers in the customer's region to show them to the customer. Customers then choose their preferred provider to authorize their payment and place their order.
These API routes allow customers to view available payment providers in their region.
GET /store/payment-providers#
List Payment Providers
Retrieve a list of payment providers. You must provide the region_id query parameter to retrieve the payment providers enabled in that region.
Authentication: none.
Header parameters
x-publishable-api-keystringx-medusa-localestringOptionalExample:
en-USQuery parameters
fieldsstringOptional+ it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.offsetnumberOptionallimitnumberOptionalorderstringOptional-.region_idstringwith_deletedbooleanOptionallocalestringOptionalExample:
en-USRequest examples
Responses
200 OK
limitnumberoffsetnumbercountnumberpayment_providersobject[]The list of payment providers.
payment_providersobject[]400, 401, 404, 409, 422, 500: an error response is returned.