🔑 개발자 대시보드
API 키를 발급하여 외부 서비스에서 젤리카드 결제를 연동하세요
활성 API 키
-
최대 5개
총 결제 수신
-
건
수신 총액
-
G (완료 기준)
🗝️ API 키
키는 생성 직후 한 번만 전체 값이 표시됩니다
로딩 중...
📖 사용 방법
API 키를 사용하면
결제 금액은 자동으로 내 계좌로 입금됩니다.
Authorization 헤더만으로 결제 요청을 생성할 수 있습니다.결제 금액은 자동으로 내 계좌로 입금됩니다.
Linux / macOS
Windows CMD
PowerShell
Node.js
Python
curl -X POST https://pe-bank.xyz/api/pay/create \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"amount": 5000,
"description": "아이템 구매",
"return_url": "https://your-site.com/callback"
}'
curl -X POST https://pe-bank.xyz/api/pay/create ^
-H "Content-Type: application/json" ^
-H "Authorization: Bearer YOUR_API_KEY" ^
-d "{\"amount\":5000,\"description\":\"아이템 구매\",\"return_url\":\"https://your-site.com/callback\"}"
Invoke-RestMethod -Uri "https://pe-bank.xyz/api/pay/create" `
-Method POST `
-Headers @{ Authorization = "Bearer YOUR_API_KEY" } `
-ContentType "application/json" `
-Body '{"amount":5000,"description":"아이템 구매","return_url":"https://your-site.com/callback"}'
const res = await fetch('https://pe-bank.xyz/api/pay/create', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_KEY',
},
body: JSON.stringify({
amount: 5000,
description: '아이템 구매',
return_url: 'https://your-site.com/callback',
}),
});
const { payment_url, token, order_id } = await res.json();
// 사용자를 payment_url로 리다이렉트
window.location.href = payment_url;
import requests
res = requests.post('https://pe-bank.xyz/api/pay/create', json={
'amount': 5000,
'description': '아이템 구매',
'return_url': 'https://your-site.com/callback',
}, headers={
'Authorization': 'Bearer YOUR_API_KEY',
})
data = res.json()
payment_url = data['payment_url'] # 사용자를 이 URL로 리다이렉트
token = data['token'] # 결제 검증에 사용
💡 결제 검증: 콜백 수신 후 반드시 서버에서
GET /api/pay/status/<token> 를 호출하여
status == "completed" 인지 확인하세요.
📊 수신 결제 내역
| 주문 ID | 설명 | 가맹점 | 금액 | 상태 | 일시 |
|---|---|---|---|---|---|
| 로딩 중... | |||||