پرش به مطلب اصلی

Pay post promotion from user wallet

POST 

/experimental/open-platform/post/:post_token/pay-promotion

Pays a post's promotion price (publish / reorder / renew) directly from the user's BazaarPay wallet. The provider supplies only the post token and the operation; Kenar resolves pricing and charges the user's wallet.

Important Notes:

  • This API is experimental and limited to approved apps only
  • is_personal=true charges the user's personal wallet; false charges the business/panel wallet
  • id is a UUID v4 idempotency key; reuse it to safely retry without double-charging
  • On ambiguous charge failures the response returns status=RECONCILING with the order_id for reconciliation
  • Read prices first via GetPostPricing

دسترسی‌ها:

مجوزهای API Key مورد نیاز:
  • PAY_POST_PROMOTION
OAuth اسکوپ موردنیاز:
  • PAY_USER_POST_PROMOTION

Request

Responses

پاسخ موفقیت‌آمیز.