Peru API Introduction
ประมาณ 1 นาที
เริ่มต้นใช้งาน
ใช้ Sandbox สำหรับทดสอบการเชื่อมต่อ แล้วเปลี่ยนเป็น Production เมื่อพร้อมให้บริการจริง ดู คู่มือการเชื่อมต่อ สำหรับข้อมูลร้านค้า และ การสร้างลายเซ็น สำหรับการลงนามคำขอ
เอกสารอ้างอิง API
| โมดูล | เอกสาร |
|---|---|
| ธุรกรรม | รับเงิน (Pay-in) · จ่ายเงิน (Pay-out) |
| การสอบถาม | สถานะธุรกรรม · ยอดเงิน |
| การชำระเงิน | Settlement · SLA การชำระเงิน |
| วิธีการชำระเงิน | วิธีการชำระเงิน |
การกำหนดค่าสภาพแวดล้อม
| สภาพแวดล้อม | โปรโตคอล | ประเภทสื่อ | URL ฐาน |
|---|---|---|---|
| Sandbox | HTTPS | application/json | https://sandbox-gateway.smilepayz.com |
| Production | HTTPS | application/json | https://gateway.smilepayz.com |
เริ่มต้นใช้งาน
ใช้ Sandbox สำหรับทดสอบการเชื่อมต่อ แล้วเปลี่ยนเป็น Production เมื่อพร้อมให้บริการจริง ดู คู่มือการเชื่อมต่อ สำหรับข้อมูลร้านค้า และ การสร้างลายเซ็น สำหรับการลงนามคำขอ
เอกสารอ้างอิง API
| โมดูล | เอกสาร |
|---|---|
| ธุรกรรม | รับเงิน (Pay-in) · จ่ายเงิน (Pay-out) |
| การสอบถาม | สถานะธุรกรรม · ยอดเงิน |
| การชำระเงิน | Settlement · SLA การชำระเงิน |
| วิธีการชำระเงิน | วิธีการชำระเงิน |
การกำหนดค่าสภาพแวดล้อม
| สภาพแวดล้อม | โปรโตคอล | ประเภทสื่อ | URL ฐาน |
API Overview
Peru represents a dynamic and rapidly evolving digital payment ecosystem characterized by innovation, financial inclusion, and robust growth. Our comprehensive API solutions are specifically designed to address the unique characteristics of the Peruvian market.
Key Features
- Comprehensive Payment Solutions: Support for multiple payment methods including cash payments through authorized payment centers (CASHIER_PE) and extensive bank network integration
- Local Market Adaptation: Tailored solutions for Peruvian banking regulations, currency (PEN), and local payment preferences
- Security and Compliance: Full compliance with Peruvian financial regulations and international security standards
- Real-Time Processing: Instant transaction processing and status updates for enhanced user experience
- Cross-Border Capabilities: Support for international transactions while maintaining local compliance
- Developer-Friendly: Comprehensive SDKs, detailed documentation, and extensive code examples
Peruvian Market Characteristics
- Currency: Peruvian Sol (PEN)
- Timezone: UTC-5 (Peru Standard Time)
- Banking System: Extensive network of commercial banks, savings banks, and specialized financial institutions
- Payment Preferences: Strong preference for cash payments and traditional banking methods
- Regulatory Framework: Compliance with SBS (Superintendencia de Banca, Seguros y AFP) regulations
ทรัพยากรสำหรับนักพัฒนา
ตัวอย่างโค้ด

PayInRequestDemo.java— รับเงิน (Pay-in)PayoutRequestDemo.java— จ่ายเงิน (Pay-out)InquiryBalanceDemo.java— สอบถามยอดเงินInquiryOrderStatusDemo.java— สถานะคำสั่ง / ธุรกรรมSignatureUtils.java— ตัวช่วยลงนาม (minify, RSA-SHA256)
pay_in_request_demo.py— รับเงิน (Pay-in)pay_out_request_demo.py— จ่ายเงิน (Pay-out)balance_inquiry.py— สอบถามยอดเงินstatus_inquiry.py— สถานะคำสั่ง / ธุรกรรมTool_Sign.py— ตัวช่วยลงนาม (minify, RSA-SHA256)
pay_in_request_demo.js— รับเงิน (Pay-in)pay_out_request_demo.js— จ่ายเงิน (Pay-out)inquiry_balance_demo.js— สอบถามยอดเงินinquiry_order_status.js— สถานะคำสั่ง / ธุรกรรมSignatureUtils.js— ตัวช่วยลงนาม (minify, RSA-SHA256)
PayInRequestDemo.php— รับเงิน (Pay-in)PayoutRequestDemo.php— จ่ายเงิน (Pay-out)InquiryBalanceDemo.php— สอบถามยอดเงินInquiryOrderStatusDemo.php— สถานะคำสั่ง / ธุรกรรมSignature.php— ตัวช่วยลงนาม (minify, RSA-SHA256)
PayInRequestDemo.cs— รับเงิน (Pay-in)PayOutRequestDemo.cs— จ่ายเงิน (Pay-out)BalanceInquiryDemo.cs— สอบถามยอดเงินOrderStatusInquiryDemo.cs— สถานะคำสั่ง / ธุรกรรมSignatureUtils.cs— ตัวช่วยลงนาม (minify, RSA-SHA256)
PayInRequestDemoV2.go— รับเงิน (Pay-in)PayoutRequestDemoV2.go— จ่ายเงิน (Pay-out)BalanceInquiryDemoV2.go— สอบถามยอดเงินOrderStatusInquiryDemoV2.go— สถานะคำสั่ง / ธุรกรรมSignatureUtils.go— ตัวช่วยลงนาม (minify, RSA-SHA256)
