العودة للمرجع
GET/payment-services/{provider}
Payment services

تفاصيل خدمة الدفع

يعيد خدمة دفع مسجلة مع حالة الإتاحة وإمكانية الاختيار.

مستوى الوصولauthenticatedالحدpay_apiمنع التكرارnoneالمصادقةBearerAuth
المصدرLuxApi/Modules/PayAPI/Controllers/PaymentServiceController.php::showLuxPayProjects @ 146e98baa44e

المعاملات

X-Request-IDheader
stringاختياري

Client correlation identifier. LuxPay may generate one when omitted.

Example: req_01J...
providerpath
stringإلزامي

Provider code registered by LuxPay.

Example: wallet

أمثلة الكود

العنوان المعروض Sandbox Placeholder حتى يتم تزويد النطاق الرسمي. لا تلصق رمز Production في متصفح عام.
curl --request GET \
  --url 'https://sandbox-api.luxpay.example/v1/payment-services/wallet' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer <token>'

الاستجابات

200Successful response.
success
boolean
Example: true
data
object
{
  "success": true,
  "data": {
    "service": {
      "provider": "wallet",
      "display_name": "LuxPay Wallet",
      "enabled": true,
      "can_select": true,
      "currencies": [
        "string"
      ],
      "methods": [
        "string"
      ],
      "channels": [
        "string"
      ]
    }
  }
}
400
401
403
404
409
422
429
500
OpenAPI JSONOpenAPI YAMLPostman collection