> For the complete documentation index, see [llms.txt](https://ofin.gitbook.io/document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ofin.gitbook.io/document/contract/callback.md).

# 계약 결과 Callback

계약 완료 시, 구매자의 계약 정보 및 한도 정보를 플랫폼 서버로 전달합니다.

* 전달받은 정보를 저장 및 내부 로직에 반영해 주세요.
* 계약에 실패하는 경우 failCallbackUrl로 리다이렉트되며 Callback은 전송하지 않습니다.
* Callback 요청은  `POST` 방식으로 전송됩니다.
* 사전에 **방화벽 정보**를 확인해 주세요.
* 전송에 실패하는 경우 3분 간격으로 최대 4회 재시도 합니다.
* Callback을 받지 못한 최종 실패 건은 구매자 정보 조회로 확인해 주세요.

## Response

* **businessNumber (String) (maxLen:10)**
  * 사업자등록번호
* **companyName (String) (maxLen:50)**
  * 상호명
* **representativeName (String) (maxLen:50)**
  * 대표자명
* **bankName (String) (maxLen:10)**
  * 은행명
* **withdrawalAccountNumber (String) (maxLen:50)**
  * 일부 마스킹된 계좌번호
* **withdrawalAccountHolder (String) (maxLen:20)**
  * 일부 마스킹된 예금주
* **maxLimit (Integer) (maxLen:16)**
  * 유저 최대 한도
* **usedAmount (Integer) (maxLen:16)**
  * (재계약을 고려한) 유저 현재 이용중인 금액
* **remainingLimit (Integer) (maxLen:16)**
  * 유저 남은 한도
* **contractToken (String) (maxLen:25)**
  * 계약 토큰
* **receivableAssignmentAgreedAt (String) (maxLen:20)**
  * 후불대금채권 포괄양도 승낙계약 및 통지서 동의 일시&#x20;
* **cmsWithdrawalAgreedAt (String) (maxLen:20)**
  * CMS 출금동의 계약서 동의 일시
* **completionStatus (String) (maxLen:10)**
  * SUCCESS / FAILED
* **redirectUrl (String) (maxLen:500)**
  * 계약 완료 후 redirect 한 URL
* **completedAt (String) (maxLen:20)**
  * 계약 완료 일시

#### **Response Example**

```json
{
  "businessNumber": "5098601645",
  "companyName": "올라핀테크",
  "representativeName": "김올라",
  "bankName": "국민은행",
  "withdrawalAccountNumber": "123****5678",
  "withdrawalAccountHolder": "올라**크",
  "maxLimit": 10000000,
  "usedAmount": 0,
  "remainingLimit": 10000000,
  "contractToken": "example-contractToken",
  "receivableAssignmentAgreedAt": "2025-09-01 15:35:10",
  "cmsWithdrawalAgreedAt": "2025-09-01 15:35:40",
  "completionStatus": "SUCCESS",
  "redirectUrl": "https://ofin.co.kr/demo/success",
  "completedAt": "2025-08-31 15:37:00"
}

```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ofin.gitbook.io/document/contract/callback.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
