Paddle credentials#
คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้ได้:
Prerequisites#
สร้าง Paddle account
Supported authentication methods#
- API access token (Classic)
Paddle Classic API
credential นี้ทำงานร่วมกับ API ของ Paddle Classic หากคุณเข้าร่วม Paddle หลังเดือนสิงหาคม 2023 คุณกำลังใช้ Paddle Billing API และ credential นี้อาจไม่ทำงานสำหรับคุณ
Related resources#
ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ Paddle Classic's API documentation
Using API access token (Classic)#
สำหรับการตั้งค่า credentials นี้ คุณจะต้องมี:
- Vendor Auth Code: สร้างขึ้นเมื่อคุณสร้าง API key
- Vendor ID: แสดงเมื่อคุณสร้าง API key
- Use Sandbox Environment API: เมื่อเปิดใช้งาน node ที่ใช้ credential นี้จะเรียกใช้ Sandbox API endpoint แทน live API endpoint
หากต้องการสร้าง auth code และดู Vendor ID ของคุณ ให้ไปที่ Paddle > Developer Tools > Authentication > Generate Auth Code เลือก Reveal Auth Code เพื่อแสดง Auth Code ดูข้อมูลเพิ่มเติมที่ API Authentication