청구서
청구서를 발송하고 관리하는 API를 안내합니다.
발송방식 sendType
TALK : 생성된 청구서를 결제선생이 발송하는 방식
URL : 생성된 청구서의 URL을 전달하는 방식Body
청구서 생성 요청 (sendType=TALK: 카카오톡 발송 / sendType=URL: URL만 응답)
apiKeystring · max: 32RequiredExample:
파트너 연동을 위한 고유키
partner-api-keymemberstring · max: 60RequiredExample:
파트너 사용자 코드
partner-user-1merchantstring · max: 60RequiredExample:
파트너 매장 코드
partner-merchant-1Responses
200
성공
application/json
공통 API 응답 포맷 (api.spec: code/message/data)
codestringOptionalExample:
응답 코드
0000messagestringOptionalExample:
응답 메시지
성공하였습니다.post/bill
POST /bill HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 429
{
"apiKey": "partner-api-key",
"member": "partner-user-1",
"merchant": "partner-merchant-1",
"bill": {
"billId": "사업자번호-100000001",
"sendType": "TALK",
"billIssuer": "text",
"productName": "text",
"price": 10000,
"supplyPrice": "text",
"tax": "text",
"memberName": "text",
"phone": "text",
"message": "text",
"expireDt": "text",
"hash": "a0213f3f9e45e8540e91a1339e0c5deee2dd27c4cb6b039436538c316bb45fa6",
"callbackUrl": "text",
"pageRedirectUrl": "text"
}
}200
성공
{
"code": "0000",
"message": "성공하였습니다.",
"data": {
"apiKey": "partner-api-key",
"member": "partner-user-1",
"merchant": "partner-merchant-1",
"billId": "BILL20260420001",
"hash": "text",
"shortUrl": "https://bill.payssam.kr/abc1234DE"
}
}사용 시나리오
- 고객이 핸드폰을 분실한경우
- 기존 알림톡을 삭제하여 청구서 링크를 찾을 수 없는 경우Body
apiKeystring · max: 32RequiredExample:
파트너 연동을 위한 고유키
partner-api-keymemberstring · max: 60RequiredExample:
파트너 사용자 코드
partner-user-1merchantstring · max: 60RequiredExample:
파트너 매장 코드
partner-merchant-1Responses
200
성공
application/json
공통 API 응답 포맷 (api.spec: code/message/data)
codestringOptionalExample:
응답 코드
0000messagestringOptionalExample:
응답 메시지
성공하였습니다.post/bill/resend
POST /bill/resend HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 132
{
"apiKey": "partner-api-key",
"member": "partner-user-1",
"merchant": "partner-merchant-1",
"bill": {
"billId": "사업자번호-100000001"
}
}200
성공
{
"code": "0000",
"message": "성공하였습니다.",
"data": {
"apiKey": "abcd1234efgh5678",
"billId": "BILL20260420001"
}
}appr_state : F(결제완료), W(미결제), C(취소), D(파기)
각 상태는 다음과 같이 변경될 수 있습니다.
1. W(미결제) -> F(결제완료) -> C(취소)
2. W(미결제) -> D(파기)Body
apiKeystring · max: 32RequiredExample:
파트너 연동을 위한 고유키
partner-api-keymemberstring · max: 60RequiredExample:
파트너 사용자 코드
partner-user-1merchantstring · max: 60RequiredExample:
파트너 매장 코드
partner-merchant-1Responses
200
성공
application/json
공통 API 응답 포맷 (api.spec: code/message/data)
codestringOptionalExample:
응답 코드
0000messagestringOptionalExample:
응답 메시지
성공하였습니다.post/bill/read
POST /bill/read HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 132
{
"apiKey": "partner-api-key",
"member": "partner-user-1",
"merchant": "partner-merchant-1",
"bill": {
"billId": "사업자번호-100000001"
}
}200
성공
{
"code": "0000",
"message": "성공하였습니다.",
"data": {
"apiKey": "abcd1234efgh5678",
"billId": "BILL20260420001",
"apprPayType": 0,
"apprCardType": "신용",
"apprDt": 20260420153012,
"apprOriginDt": 20260419120000,
"apprPrice": 22000,
"apprIssuer": "신한카드",
"apprIssuerCd": "04",
"apprIssuerNum": "123456******1234",
"apprAcquirerCd": "04",
"apprAcquirerNm": "신한카드",
"apprNum": 30012345,
"apprOriginNum": 30012300,
"apprResCd": "0000",
"apprMonthly": 0,
"apprState": "F",
"apprCashNum": 1234567890,
"apprCashTrader": "personal",
"apprCashIssuanceNumber": "01012345678",
"apprCardMerchantNum": "text",
"catId": "text",
"dscTxNum": "text",
"cardType": "text",
"apprSign": "text",
"udItem": null
}
}- 청구서를 잘못 보낸경우 사용합니다.Body
apiKeystring · max: 32RequiredExample:
파트너 연동을 위한 고유키
partner-api-keymemberstring · max: 60RequiredExample:
파트너 사용자 코드
partner-user-1merchantstring · max: 60RequiredExample:
파트너 매장 코드
partner-merchant-1Responses
200
성공
application/json
공통 API 응답 포맷 (api.spec: code/message/data)
codestringOptionalExample:
응답 코드
0000messagestringOptionalExample:
응답 메시지
성공하였습니다.post/bill/destroy
POST /bill/destroy HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 220
{
"apiKey": "partner-api-key",
"member": "partner-user-1",
"merchant": "partner-merchant-1",
"bill": {
"billId": "사업자번호-100000001",
"price": 10000,
"hash": "a0213f3f9e45e8540e91a1339e0c5deee2dd27c4cb6b039436538c316bb45fa6"
}
}200
성공
{
"code": "0000",
"message": "성공하였습니다.",
"data": {
"apiKey": "abcd1234efgh5678",
"billId": "BILL20260420001"
}
}Body
apiKeystring · max: 32RequiredExample:
파트너 연동을 위한 고유키
partner-api-keymemberstring · max: 60RequiredExample:
파트너 사용자 코드
partner-user-1merchantstring · max: 60RequiredExample:
파트너 매장 코드
partner-merchant-1Responses
200
성공
application/json
공통 API 응답 포맷 (api.spec: code/message/data)
codestringOptionalExample:
응답 코드
0000messagestringOptionalExample:
응답 메시지
성공하였습니다.post/bill/cancel
POST /bill/cancel HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 242
{
"apiKey": "partner-api-key",
"member": "partner-user-1",
"merchant": "partner-merchant-1",
"bill": {
"billId": "사업자번호-100000001",
"price": 10000,
"cancelReason": "text",
"hash": "a0213f3f9e45e8540e91a1339e0c5deee2dd27c4cb6b039436538c316bb45fa6"
}
}200
성공
{
"code": "0000",
"message": "성공하였습니다.",
"data": {
"apiKey": "abcd1234efgh5678",
"member": "M0001",
"merchant": "U0001",
"billId": "BILL20260420001",
"hash": "text",
"apprNum": 30012345,
"apprOriginNum": 30012300,
"apprCancelDt": 20260420153012
}
}마지막 업데이트
도움이 되었나요?

