Search
K

빌링키 발급 API

Deprecated
이 문서는 더 이상 관리되지 않습니다.
PortOne 개발자센터를 이용해주세요.

카드정보를 이용하여 빌링키를 발급할수 있는 API 입니다.

post
https://api.iamport.kr
/subscribe/customers/{customer_uid}
빌링키 발급 API

주요 요청 파라미터 상세 설명

pg * string
PG 구분코드
한 PG사에 복수개 MID 를 이용중인 경우 PG구분코드.MID 형태로 기입하시면 됩니다.
ex) NHN KCP를 사용하고 사이트 코드가 IPXC 인 경우
kcp.IPXC
birth * string
생년월일
일부 PG사에 한하여 생략 가능(PG사 협의 필요)
customer_id string
구매자 ID
빌링키를 발급한 고객의 고유 ID 토스페이먼츠 전용
해당 빌링키 발급 API 는 PG사와 협의가 완료된 경우 이용 가능한 서비스입니다.
  • PG사 협의를 통해 카드정보 필수 조건 값 조정이 가능합니다.
  • 민감한 카드정보를 이용하기 때문에 보안에 특히 유의하셔야 합니다.
  • customer_uid 값은 고객 & 카드번호 단위별로 고유하게 발급 관리되어야 합니다
Response Model Schema
{
"code": 0,
"message": "string",
"response": {
"customer_uid": "string",
"pg_provider": "string",
"pg_id": "string",
"card_name": "string",
"card_code": "string",
"card_number": "string",
"card_type": "null",
"customer_name": "string",
"customer_tel": "string",
"customer_email": "string",
"customer_addr": "string",
"customer_postcode": "string",
"inserted": 0,
"updated": 0
}