Fetch payment method ids

Changed on

Use /payment-methods endpoint to fetch payment method ids. Payment method ids are defined for all available payments method of publisher. You can fetch it once and use them for all your orders.

get/payment-methods

Request

  • Base URL
    https://mediastoreapi-sandbox.cleeng.com
  • URL
    https://mediastoreapi-sandbox.cleeng.com/payment-methods
  • Auth
    API key in header Authorization

Response

200

Example response

{
  "responseData": {
    "paymentMethods": [
      {
        "id": 607799465,
        "methodName": "card",
        "paymentGateway": "adyen"
      }
    ],
    "message": "Payment method settings for publisher publisherId",
    "status": 200
  }
}

Changes