get https://mediastoreapi-sandbox.cleeng.com/payment-methods
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.
Important!
Fetched
paymentMethodId
is required for successful purchase. Update created order with keypaymentMethodId
before making purchase. Those values are constant, so once created you can store those values and NOT call the endpoint every time.