인보이스
인보이스 생성
POST/api/v1/partner/merchants/{merchantId}/invoices
템플릿을 기반으로 새로운 인보이스(결제 링크)를 생성하고 발송합니다.merchantId string
필수templateId string
필수currency string
필수invoiceNumber string
expiryDays int
options object* 옵션 설정입니다.
themeColor string
isDomestic boolean
includeTax boolean
items array* 상품 목록입니다.
name string
필수quantity int
필수unitPrice string
필수description string
recipient object* 수신자 정보입니다.
email object* 이메일 수신자입니다.
address string
필수name string
필수send boolean
sms object* SMS 수신자입니다.
address string
필수name string
필수countryCode string
필수send boolean
{
"templateId": "ptmp_abc123",
"currency": "KRW",
"invoiceNumber": "INV-20240204-001",
"items": [
{
"name": "프리미엄 서비스 구독",
"quantity": 1,
"unitPrice": "15000",
"description": "1개월 이용권"
}
],
"recipient": {
"email": {
"address": "customer@example.com",
"name": "홍길동",
"send": true
},
"sms": {
"address": "01012345678",
"name": "홍길동",
"countryCode": "82",
"send": true
}
}
}
invoiceId string
필수invoiceNumber string
필수status string
필수paymentUrl string
필수totalAmount string
필수currency string
필수expiresAt string (ISO 8601)
필수createdAt string (ISO 8601)
필수delivery object* 발송 결과입니다.
email object* 이메일 발송 결과입니다.
recipient string
필수status string
필수sms array* SMS 발송 결과입니다.
recipient string
필수status string
필수
{
"code": "CMN_0000",
"data": {
"invoiceId": "pinv_987654",
"invoiceNumber": "INV-20240204-001",
"status": "PENDING",
"paymentUrl": "https://linkpay.eximbay.com/pay/...",
"totalAmount": "15000",
"currency": "KRW",
"expiresAt": "2024-02-11T23:59:59",
"createdAt": "2024-02-04T10:00:00",
"delivery": {
"email": [{"recipient": "customer@...", "status": "SENT"}],
"sms": [{"recipient": "0101234...", "status": "SENT"}]
}
}
}
인보이스 상세 조회
GET/api/v1/partner/merchants/{merchantId}/invoices/{invoiceId}
생성된 인보이스의 상세 정보를 조회합니다.merchantId string
필수invoiceId string
필수
curl -X GET https://link.eximbay.com/api/v1/partner/merchants/{merchantId}/invoices/{invoiceId} \
-H "Authorization: Bearer eyJhbGciOi..."
invoiceId string
필수invoiceNumber string
필수templateId string
필수status string
필수paymentUrl string
필수totalAmount string
필수currency string
필수expiresAt string (ISO 8601)
필수createdAt string (ISO 8601)
필수items array* 상품 목록입니다.
name string
필수quantity int
필수unitPrice string
필수amount string
필수delivery object* 발송 결과입니다.
email object* 이메일 발송 결과입니다.
recipient string
필수status string
필수sms array* SMS 발송 결과입니다.
recipient string
필수status string
필수
{
"code": "CMN_0000",
"data": {
"invoiceId": "pinv_987654",
"invoiceNumber": "INV-20240204-001",
"templateId": "ptmp_abc123",
"status": "COMPLETED",
"paymentUrl": "https://linkpay.eximbay.com/pay/...",
"totalAmount": "15000",
"currency": "KRW",
"expiresAt": "2026-02-11T23:59:59",
"createdAt": "2026-02-04T10:00:00",
"items": [
{
"name": "프리미엄 서비스 구독",
"description": "1개월 이용권",
"quantity": 1,
"unitPrice": "15000",
"amount": "15000"
}
],
"delivery": {
"email": [{ "recipient": "customer@example.com", "status": "SENT" }],
"sms": []
}
}
}