JP7022108B2 - Payment processing method and payment processing device - Google Patents
Payment processing method and payment processing device Download PDFInfo
- Publication number
- JP7022108B2 JP7022108B2 JP2019214153A JP2019214153A JP7022108B2 JP 7022108 B2 JP7022108 B2 JP 7022108B2 JP 2019214153 A JP2019214153 A JP 2019214153A JP 2019214153 A JP2019214153 A JP 2019214153A JP 7022108 B2 JP7022108 B2 JP 7022108B2
- Authority
- JP
- Japan
- Prior art keywords
- payment
- user
- account
- balance
- code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Description
本発明は、決済処理方法及び決済処理装置に関する。 The present invention relates to a payment processing method and a payment processing device.
QRコード(登録商標)等の二次元バーコードを用いたコード決済が普及している(例えば、特許文献1、特許文献2を参照)。コード決済は、店舗側が表示した二次元バーコードをユーザ端末により読み取るか、ユーザ端末が表示した二次元バーコードを店舗側が読み取ることにより決済が行われる。 Code payment using a two-dimensional bar code such as a QR code (registered trademark) has become widespread (see, for example, Patent Document 1 and Patent Document 2). In the code payment, the payment is made by reading the two-dimensional bar code displayed by the store side by the user terminal or by reading the two-dimensional bar code displayed by the user terminal by the store side.
従来のコード決済では、二次元バーコードが読み取られた後に、コード決済に対応する口座の残高が支払金額よりも少ないと判定すると、エラーメッセージ等を表示し、決済を中断することから、決済が中断されるまでに時間がかかるという問題があった。 In the conventional code payment, if it is determined that the balance of the account corresponding to the code payment is less than the payment amount after the two-dimensional bar code is read, an error message etc. is displayed and the payment is interrupted, so that the payment is completed. There was a problem that it took time to be interrupted.
そこで、本発明はこれらの点に鑑みてなされたものであり、決済を開始する前に口座の残高が不足する可能性が高いと判断される場合に、決済を速やかに中断することができる決済処理方法及び決済処理装置を提供することを目的とする。 Therefore, the present invention has been made in view of these points, and if it is determined that there is a high possibility that the balance of the account will be insufficient before the settlement is started, the settlement can be promptly interrupted. It is an object of the present invention to provide a processing method and a payment processing device.
本発明の第1の態様に係る決済処理方法は、コンピュータが実行する、コードを利用した決済手段に関連して前記コードの発行要求を行ったユーザを識別するユーザ識別情報を前記ユーザの端末から取得するステップと、取得された前記ユーザ識別情報に対応するユーザの前記決済手段に関連付けられている口座が決済可能な状態を示す所定条件を満たすか否かを判定するステップと、前記口座が前記所定条件を満たすと判定された場合に、前記ユーザの端末に表示される前記ユーザに対応する前記コードに関するトークンを生成するステップと、を備える。 In the payment processing method according to the first aspect of the present invention, user identification information for identifying a user who has made a request for issuance of the code in relation to a payment means using a code executed by a computer is transmitted from the terminal of the user. The step of acquiring, the step of determining whether or not the account associated with the payment means of the user corresponding to the acquired user identification information satisfies a predetermined condition indicating a state in which payment is possible, and the step that the account is said to be said. The present invention comprises a step of generating a token relating to the code corresponding to the user displayed on the terminal of the user when it is determined that a predetermined condition is satisfied.
本発明の第2の態様に係る決済処理装置は、コードを利用した決済手段に関連して前記コードの発行要求を行ったユーザを識別するユーザ識別情報を前記ユーザの端末から取得する取得部と、前記取得部が取得した前記ユーザ識別情報に対応するユーザの前記決済手段に関連付けられている口座が決済可能な状態を示す所定条件を満たすか否かを判定する判定部と、前記口座が前記所定条件を満たすと前記判定部が判定した場合に、前記ユーザの端末に表示される前記ユーザに対応する前記コードに関するトークンを生成するトークン生成部と、を備える。 The payment processing device according to the second aspect of the present invention includes an acquisition unit that acquires user identification information that identifies a user who has made a request for issuance of the code in relation to a payment means using the code from the terminal of the user. A determination unit for determining whether or not the account associated with the payment means of the user corresponding to the user identification information acquired by the acquisition unit satisfies a predetermined condition indicating a state in which payment is possible, and the account. It includes a token generation unit that generates a token related to the code corresponding to the user displayed on the terminal of the user when the determination unit determines that a predetermined condition is satisfied.
本発明によれば、決済時に口座の残高が不足する可能性が高い場合に決済を速やかに中断することができるという効果を奏する。 According to the present invention, there is an effect that the settlement can be promptly interrupted when there is a high possibility that the balance of the account will be insufficient at the time of settlement.
[決済処理装置1の概要]
図1は、決済処理装置1の概要を示す図である。決済処理装置1は、ユーザが商品を購入する場合に、商品の支払金額に対応する決済用コードをユーザ端末2又は店舗端末3から受信したことに応じて決済を行うコンピュータである。決済用コードは、ユーザ端末2又は店舗端末3において読み取れるテキスト又は画像であり、決済時に用いられるコードである。
[Overview of payment processing device 1]
FIG. 1 is a diagram showing an outline of the payment processing device 1. The payment processing device 1 is a computer that makes a payment when a user purchases a product, in response to receiving a payment code corresponding to the payment amount of the product from the user terminal 2 or the
決済処理装置1は、携帯電話網及びインターネット等の通信ネットワークを介して、ユーザ端末2と、店舗端末3とに接続されている。ユーザ端末2は、ユーザが使用する携帯端末であり、例えばスマートフォン、ウェアラブルデバイス、タブレット又はパーソナルコンピュータである。店舗端末3は、例えば、POS端末である。
The payment processing device 1 is connected to the user terminal 2 and the
以下、コード決済により決済が行われる例を参照しながら、商品の代金の決済が行われるまでの流れを説明する。図1は、店舗端末3が決済用コードを読み取ったことを決済処理装置1で特定したことに応じて決済を行う例を示している。なお、本実施形態において、第1の決済手段としてのコード決済には、金額を支払うための支払手段が決済処理装置1において関連付けられている。本実施形態では、第1の決済手段に関連付けられた支払手段として、プリペイド式の口座で残高が管理され、支払金額が残高から支払われるプリペイド口座支払い手段が関連付けられているものとする。プリペイド口座は、ユーザが保有するプリペイドカードに関連付けられていてもよい。
Hereinafter, the flow until the payment of the product price is made will be described with reference to an example in which the payment is made by the code payment. FIG. 1 shows an example in which payment is performed according to the fact that the
まず、ユーザは、店舗において商品を購入する場合に、決済用コードをユーザ端末2に表示させるための操作を行う。ユーザ端末2は、決済用コードの取得要求と、ユーザIDとを決済処理装置1に送信する(図1における(1))。 First, the user performs an operation for displaying the payment code on the user terminal 2 when purchasing a product at a store. The user terminal 2 transmits a payment code acquisition request and a user ID to the payment processing device 1 ((1) in FIG. 1).
決済処理装置1は、ユーザ端末2から、決済用コードの取得要求と、ユーザIDとを受信すると、ユーザIDに関連付けられている第1の決済手段としてのコード決済に関連付けられているユーザの口座が決済可能な状態を示す第1の条件(所定条件)を満たすか否かを判定する。ここで、第1の条件は、口座の残高が所定金額以上であることである。すなわち、決済処理装置1は、ユーザの口座の残高が所定金額以上であるか否かを判定する(図1における(2))。 When the payment processing device 1 receives the payment code acquisition request and the user ID from the user terminal 2, the user's account associated with the code payment as the first payment means associated with the user ID. Determines whether or not the first condition (predetermined condition) indicating the state in which settlement is possible is satisfied. Here, the first condition is that the balance of the account is equal to or greater than the predetermined amount. That is, the payment processing device 1 determines whether or not the balance of the user's account is equal to or greater than a predetermined amount ((2) in FIG. 1).
決済処理装置1は、ユーザの口座の残高が所定金額以上であると判定すると、決済用トークンを生成する(図1における(3))。ここで、所定金額は、例えば0円である。決済用トークンは、コードの取得要求に対してワンタイムに発行され、ユーザが店舗に提示する決済用コードをユーザ端末2が生成する際に用いるデータ列である。決済処理装置1は、生成した決済用トークンと、ユーザIDとを関連付けて記憶媒体に記憶する。決済用トークンには、決済処理装置1を保有している決済事業者を識別する決済事業者情報、決済用トークンの有効期限を示す期限情報の少なくともいずれかが含まれていてもよい。また、決済処理装置1は、決済用トークンを生成した時間と決済用トークンを関連付けて記憶してもよい。 When the payment processing device 1 determines that the balance of the user's account is equal to or greater than a predetermined amount, the payment processing device 1 generates a payment token ((3) in FIG. 1). Here, the predetermined amount is, for example, 0 yen. The payment token is a data string that is issued one-time in response to a code acquisition request and is used when the user terminal 2 generates a payment code presented by the user to the store. The payment processing device 1 stores the generated payment token in association with the user ID in the storage medium. The payment token may include at least one of payment business information that identifies the payment business operator that owns the payment processing device 1 and expiration date information that indicates the expiration date of the payment token. Further, the payment processing device 1 may store the time when the payment token is generated in association with the payment token.
決済処理装置1は、生成した決済用トークンをユーザ端末2に送信する(図1における(4))。決済処理装置1は、決済用トークンを暗号化した後に、暗号化した決済用トークンをユーザ端末2に送信してもよい。 The payment processing device 1 transmits the generated payment token to the user terminal 2 ((4) in FIG. 1). The payment processing device 1 may transmit the encrypted payment token to the user terminal 2 after encrypting the payment token.
ユーザ端末2は、受信した決済用トークンに基づいて決済用コードを生成して表示させる(図1における(5))。
店舗端末3は、例えば店員の撮像操作により、ユーザ端末2に表示された決済用コードを読み取る(図1における(6))。店舗端末3は、店舗IDと、ユーザが支払う支払金額を含む決済情報と、読み取った決済用コードが示す決済用トークンとを含む決済要求を決済処理装置1に送信する(図1における(7))。決済情報には、支払い対象商品に関する情報が含まれていてもよい。また、店舗IDは、または店舗内に設置された個々の端末を識別可能な情報であってもよい。また、店舗IDには、店舗の名称やブランドを識別する店舗ブランド情報が含まれていてもよい。
The user terminal 2 generates and displays a payment code based on the received payment token ((5) in FIG. 1).
The
決済処理装置1は、店舗端末3から決済要求を取得すると、受信した決済要求に含まれる店舗IDにより識別される店舗が、コード決済の利用が可能な店舗(コード決済の加盟店)として決済処理装置1が登録しているか否かを判定し、登録されていると判定した場合に、決済用トークンに関連付けられている第1の決済手段としてのコード決済に対応するユーザの口座の残高を特定する。そして、決済処理装置1は、決済要求に含まれる決済用トークンに関連付けられている第1の決済手段としてのコード決済に対応するユーザの口座の残高が、支払金額以上であるかを判定する(図1における(8))。決済処理装置1は、この判定に用いられる支払金額として、受信した決済要求に含まれる決済情報が示す支払金額を利用する。
When the payment processing device 1 acquires a payment request from the
決済処理装置1は、コード決済に対応するユーザの口座の残高が支払金額以上である場合には、支払金額の決済を行い、口座の残高が支払金額未満の場合には、ユーザに関連付けられた第2の決済手段が第2の条件を満たすかを判定する(図1における(9))。 The payment processing device 1 settles the payment amount when the balance of the user's account corresponding to the code payment is equal to or greater than the payment amount, and when the balance of the account is less than the payment amount, the payment processing device 1 is associated with the user. It is determined whether the second payment means satisfies the second condition ((9) in FIG. 1).
決済処理装置1は、第2の決済手段が第2の条件を満たすと判定すると、コード決済におけるユーザの口座の残高が不足することを許容して、コード決済により支払金額の決済を行う(図1の(10))。ここで決済処理装置1は、決済を実行する際、ユーザの口座への入金は行わない。これにより、ユーザの口座の残高は0円未満となる。なお、本実施形態では、ユーザの口座の残高が0円未満となる例について説明するが、これに限らない。ユーザの口座の残高を0円とするとともに、ユーザの債務の残高を管理するとともに、ユーザに債務があることを示す情報を関連付けるようにしてもよい。 When the payment processing device 1 determines that the second payment means satisfies the second condition, the payment processing device 1 allows the balance of the user's account in the code payment to be insufficient, and setstle the payment amount by the code payment (FIG. 1 (10)). Here, the payment processing device 1 does not deposit money into the user's account when executing payment. As a result, the balance of the user's account becomes less than 0 yen. In this embodiment, an example in which the balance of the user's account is less than 0 yen will be described, but the present invention is not limited to this. The balance of the user's account may be set to 0 yen, the balance of the user's debt may be managed, and information indicating that the user has debt may be associated.
その後、ユーザの口座の残高が0円未満の状態で商品の購入を行い、ユーザが決済用コードをユーザ端末2に表示させるための操作を行うと、ユーザ端末2は、決済用コードの取得要求と、ユーザIDとを決済処理装置1に送信する(図1における(1))。 After that, when the product is purchased with the balance of the user's account being less than 0 yen and the user performs an operation for displaying the payment code on the user terminal 2, the user terminal 2 requests acquisition of the payment code. And the user ID are transmitted to the payment processing device 1 ((1) in FIG. 1).
決済処理装置1は、ユーザ端末2から、決済用コードの取得要求と、ユーザIDとを受信すると、ユーザIDに関連付けられている第1の決済手段としてのコード決済に関連付けられているユーザの口座の残高が所定金額以上であるか否かを判定する(図1における(2))。ここでは、ユーザの口座の残高は0円未満であることから、決済処理装置1は、決済用トークンを生成せずに、決済用コードが表示できない旨を示すエラーメッセージをユーザ端末2に送信する。ユーザ端末2は、受信したエラーメッセージを表示させる。 When the payment processing device 1 receives the payment code acquisition request and the user ID from the user terminal 2, the user's account associated with the code payment as the first payment means associated with the user ID. It is determined whether or not the balance of is equal to or greater than the predetermined amount ((2) in FIG. 1). Here, since the balance of the user's account is less than 0 yen, the payment processing device 1 sends an error message indicating that the payment code cannot be displayed to the user terminal 2 without generating the payment token. .. The user terminal 2 displays the received error message.
決済処理装置1は、以上のように動作することで、決済時に口座の残高が不足する可能性が高い場合に決済を速やかに中断することができる。これにより、ユーザは現金による支払に切り替えたり、口座に入金を行う等の対応を速やかに行うことができる。 By operating as described above, the payment processing device 1 can promptly suspend the payment when there is a high possibility that the balance of the account will be insufficient at the time of payment. As a result, the user can promptly take measures such as switching to cash payment or depositing money in the account.
また、一般的に行われているオートチャージは、残高が不足するような決済では、自動的に口座に入金されるため、金銭をどの程度消費したのかユーザが把握しにくく、金銭の消費上限を管理しようとするユーザには不向きの場合がある。これに対し、決済処理装置1は、決済時に残高不足が生じても口座に自動的に入金することなく、残高が不足することを許容して、コード決済により支払金額の決済を行い、次回以降の支払時に、決済用コードが表示できない旨を示すエラーメッセージを表示する。これにより、金銭消費の管理を求めるプリペイド式口座を利用するユーザに対して、口座の残高が不足していることを認識させることができる。これにより、ユーザは、金銭消費を管理し易くなる。
以下、決済処理装置1、ユーザ端末2及び店舗端末3の構成の詳細を説明する。
In addition, since auto-charging, which is generally performed, is automatically credited to the account when the balance is insufficient, it is difficult for the user to grasp how much money has been consumed, and the upper limit of money consumption is set. It may not be suitable for users who want to manage it. On the other hand, the payment processing device 1 allows the balance to be insufficient without automatically depositing to the account even if the balance is insufficient at the time of payment, and the payment amount is settled by code payment, and the payment amount is settled from the next time onward. At the time of payment, an error message indicating that the payment code cannot be displayed is displayed. This makes it possible for a user who uses a prepaid account that seeks management of money consumption to recognize that the balance of the account is insufficient. This makes it easier for the user to manage money consumption.
Hereinafter, the details of the configuration of the payment processing device 1, the user terminal 2, and the
[決済処理装置1の機能構成]
図2は、決済処理装置1の機能構成を示す図である。決済処理装置1は、通信部11と、記憶部12と、制御部13とを有する。
[Functional configuration of payment processing device 1]
FIG. 2 is a diagram showing a functional configuration of the payment processing device 1. The payment processing device 1 has a communication unit 11, a
通信部11は、インターネット等のネットワークを介してユーザ端末2及び店舗端末3とデータを送受信するための通信インターフェースである。
The communication unit 11 is a communication interface for transmitting and receiving data to and from the user terminal 2 and the
記憶部12は、各種のデータを記憶する記憶媒体であり、ROM(Read Only Memory)、RAM(Random Access Memory)、及びハードディスク等を有する。記憶部12は、制御部13が実行するプログラムを記憶する。記憶部12は、制御部13を、設定部131、発行要求取得部132、第1判定部133、トークン生成部134、送信部135、決済要求取得部136、第2判定部137、決済部138、及び通知部139として機能させる決済処理用プログラムを記憶する。
The
また、記憶部12は、ユーザのユーザIDと、コード決済に関連付けられている当該ユーザのプリペイド式口座とを関連付けた口座情報を記憶する。また、記憶部12は、ユーザのユーザIDと、当該ユーザの第2の決済手段を特定するための情報とを関連付けて記憶する。
Further, the
第2の決済手段は、例えば、通信サービスを提供する事業者が携帯電話網の利用に係る通信料金と併せて、各種サービスの利用料金を請求する決済方法であるキャリア決済、又はクレジットカード決済等の後払い決済である。ここで、コード決済の決済要求を受ける事業者と、コード決済とは異なるサービスを提供する事業者(通信サービスを提供する事業者、第2の決済手段を提供する事業者)とは同一の事業者である。 The second payment method is, for example, carrier payment, credit card payment, etc., which is a payment method in which a business operator providing a communication service charges a usage fee for various services together with a communication fee related to the use of a mobile phone network. It is a postpaid settlement. Here, the business operator that receives the payment request for code payment and the business operator that provides a service different from the code payment (the business operator that provides the communication service, the business operator that provides the second payment method) are the same business. Is a person.
また、第2の決済手段を特定するための情報は、例えば、キャリア決済に関する契約を識別する契約ID、クレジットカードのカード番号である。なお、第2の決済手段を特定するための情報は、ユーザにより任意で決済処理装置1に登録されるものであり、ユーザの中には、第2の決済手段を特定するための情報が関連付けられていないユーザが存在するものとする。 The information for specifying the second payment means is, for example, a contract ID for identifying a contract related to carrier payment, and a credit card card number. The information for specifying the second payment means is arbitrarily registered in the payment processing device 1 by the user, and the information for specifying the second payment means is associated with the user. It is assumed that there is a user who has not been.
制御部13は、例えばCPU(Central Processing Unit)である。制御部13は、記憶部12に記憶された決済処理用プログラムを実行することにより、設定部131、発行要求取得部132、第1判定部133、トークン生成部134、送信部135、決済要求取得部136、第2判定部137、決済部138、及び通知部139として機能する。制御部13の各部の動作の詳細については後述する。
The
[ユーザ端末2の機能構成]
図3は、ユーザ端末2の機能構成を示す図である。ユーザ端末2は、操作部21と、通信部22と、表示部23と、記憶部24と、制御部25とを有する。制御部25は、操作受付部251と、要求送信部252と、コード生成部253とを有する。
[Functional configuration of user terminal 2]
FIG. 3 is a diagram showing a functional configuration of the user terminal 2. The user terminal 2 has an
操作部21は、ユーザの操作を受け付ける操作デバイスであり、例えば表示部23の表面に設けられたタッチパネルである。操作部21は、ユーザがタッチした位置を示す信号を操作受付部251に通知する。
The
通信部22は、例えば携帯電話網の基地局との間でデータを送受信するための無線通信インターフェースである。通信部22は、決済処理装置1から受信した決済用トークン等をコード生成部253に入力する。
The
表示部23は、各種の情報を表示するディスプレイである。表示部23は、コード生成部253の制御に基づいて、決済用コードを表示する。
The
記憶部24は、ROM及びRAM等を含む記憶媒体である。記憶部24は、制御部25が実行するプログラムを記憶している。記憶部24は、制御部25を、操作受付部251、要求送信部252、及びコード生成部253として機能させるプログラムを記憶する。また、記憶部24は、決済処理装置1から受信した決済用トークン、及び決済用トークンに基づいて生成された決済用コード等を記憶する。
The
制御部25は、例えばCPUであり、記憶部24に記憶されたプログラムを実行することにより、操作受付部251、要求送信部252及びコード生成部253として機能する。
The
操作受付部251は、操作部21から入力された信号に基づいて、ユーザの操作内容を特定する。操作受付部251は、特定した操作内容が、決済用コードをユーザ端末2に表示させるための操作である場合に、操作内容を要求送信部252に通知する。要求送信部252は、操作受付部251が、決済用コードをユーザ端末2に表示させるための操作を受け付けた場合に、通信部22を介して、ユーザIDと、決済用コードの取得要求とを決済処理装置1に送信する。
The
コード生成部253は、決済処理装置1が送信した決済用トークンを受信すると、決済用トークンに基づく決済用コードを生成する。コード生成部253は、例えば、予め定められた規則に基づいて決済用コードを生成する。コード生成部253は、生成した決済用コードを表示部23に表示させる。
Upon receiving the payment token transmitted by the payment processing device 1, the
[店舗端末3の機能構成]
図4は、店舗端末3の機能構成を示す図である。店舗端末3は、例えばPOS端末であり、操作部31と、読取部32と、通信部33と、表示部34と、記憶部35と、制御部36とを有する。
[Functional configuration of store terminal 3]
FIG. 4 is a diagram showing a functional configuration of the
操作部31は、ユーザの操作を受け付ける操作デバイスであり、例えばユーザが購入する商品を選択するためのボタンや、表示部34の表面に設けられたタッチパネルである。
The operation unit 31 is an operation device that accepts the user's operation, for example, a button for selecting a product to be purchased by the user, or a touch panel provided on the surface of the
読取部32は、例えば、バーコードリーダ及びカメラであり、ユーザが購入する商品に付されているバーコードや、ユーザ端末2が表示した決済用コードを読み取る。読取部32は、読み取ったバーコード及び決済用コードが示す情報を制御部36に出力する。
The
通信部33は、例えば決済処理装置1との間でデータを送受信するための通信インターフェースである。通信部33は、制御部36の制御に応じて、決済用トークン、決済情報、店舗IDを含む決済要求を決済処理装置1に送信する。
The communication unit 33 is, for example, a communication interface for transmitting / receiving data to / from the payment processing device 1. The communication unit 33 transmits a payment request including a payment token, payment information, and a store ID to the payment processing device 1 under the control of the
表示部34は、各種の情報を表示するディスプレイである。表示部34は、例えば、決済金額を表示する。
The
記憶部35は、ROM及びRAM等を含む記憶媒体である。記憶部35は、制御部36が実行するプログラムを記憶している。記憶部35は、制御部36を、決済情報生成部361、トークン取得部362、及び決済情報送信部363として機能させるプログラムを記憶する。また、記憶部35は、商品IDと、商品の価格とを関連付けた商品DBを記憶する。
The
制御部36は、例えばCPUであり、記憶部35に記憶されたプログラムを実行することにより、決済情報生成部361、トークン取得部362、及び決済情報送信部363として機能する。
The
決済情報生成部361は、決済対象の一以上の商品を特定し、決済情報を生成する。具体的には、決済情報生成部361は、操作部31において店員が入力した商品ID又は読取部32が商品に付されたバーコードから読み取った商品IDを取得することにより、取得した商品IDの商品を決済対象の商品と特定する。決済情報生成部361は、記憶部35に記憶されている商品DBを参照し、取得した商品IDに関連付けられている商品の価格を特定する。決済情報生成部361は、操作部31において店員が入力した商品ID又は読取部32が商品に付されたバーコードから読み取った商品IDを一以上取得し、当該商品IDから特定した商品の価格を集計する。決済情報生成部361は、操作部31において精算操作を受け付けると、集計した商品の価格を決済金額に決定する。決済情報生成部361は、決定した決済金額を含む決済情報を生成する。決済情報には、商品IDで特定される商品に関する情報、例えば、商品の属性、名称、製造者、販売者、が含まれていてもよい。
The payment
トークン取得部362は、読取部32が、ユーザ端末2に表示された決済用コードを読み取ることにより、決済用コードから抽出した情報を、決済用トークンとして取得する。
The
決済情報送信部363は、決済情報生成部361が決済情報を生成し、トークン取得部362が決済用トークンを取得すると、通信部33を介して、決済用トークンと、決済情報と、店舗IDとを決済処理装置1に送信する。
In the payment
[制御部13の各部の動作]
続いて、制御部13の各部の動作について説明する。
設定部131は、コード決済の決済用コードをユーザ端末2に表示させるか否かの判定に用いる所定金額を設定する。例えば、設定部131は、コード決済に関するサービスを提供する事業者から所定金額を設定する情報を取得し、当該情報に基づいて所定金額を設定する。設定部131は、所定金額を示す情報を記憶部12に記憶させる。
[Operation of each part of control unit 13]
Subsequently, the operation of each unit of the
The
なお、設定部131は、予め定められた金額を上限として所定金額を設定してもよい。このようにすることで、決済処理装置1は、口座の残高が支払金額を超えているにもかかわらず、決済コードが表示できなくなることを抑制することができる。
The
また、所定金額は、複数のユーザにおいて共通であるものとするが、これに限らず、複数のユーザのそれぞれで異なっていてもよい。この場合、設定部131は、通信部11を介して、ユーザ端末2から、ユーザIDと、所定金額を設定する情報とを取得し、当該情報に基づいて所定金額を設定してもよい。そして、設定部131は、ユーザIDと、所定金額を設定する情報とを取得すると、ユーザIDと、所定金額を示す情報とを関連付けて記憶部12に記憶させるようにしてもよい。この場合、設定部131は、所定金額の設定を行っていないユーザに対応する所定金額を、コード決済に関するサービスを提供する事業者が設定した所定金額としてもよい。
Further, the predetermined amount is common to a plurality of users, but is not limited to this, and may be different for each of the plurality of users. In this case, the
発行要求取得部132は、コード決済に関連して決済用コードの発行要求を行ったユーザを識別するユーザIDをユーザ端末2から取得する。具体的には、発行要求取得部132は、ユーザ端末2から、ユーザIDを含む決済用コードの発行要求を取得することにより、ユーザIDを取得する。
The issuance
第1判定部133は、発行要求取得部132が取得したユーザIDに対応するユーザのコード決済に関連付けられている口座が決済可能な状態を示す第1の条件を満たすか否かを判定する。第1の条件は、口座の残高が、設定部131が設定した所定金額以上であることである。第1判定部133は、発行要求取得部132が取得したユーザIDに対応するユーザのコード決済に関連付けられている口座の残高が、設定部131が設定した所定金額以上か否かを判定する。
The
具体的には、まず、第1判定部133は、発行要求取得部132が取得したユーザIDに関連付けられて記憶部12に記憶されているユーザの口座の残高を特定する。また、第1判定部133は、発行要求取得部132が取得したユーザIDに対応する所定金額を特定する。例えば、第1判定部133は、発行要求取得部132が取得したユーザIDに関連付けられて所定金額を示す情報が記憶部12に記憶されているか否かを判定する。第1判定部133は、ユーザIDに関連付けられて所定金額を示す情報が記憶部12に記憶されている場合、当該情報に基づいて所定金額を特定する。第1判定部133は、ユーザIDに関連付けられて所定金額を示す情報が記憶部12に記憶されていない場合、コード決済に関するサービスを提供する事業者が設定した所定金額を特定する。そして、第1判定部133は、特定した口座の残高が、特定した所定金額以上であるか否かを判定する。
Specifically, first, the
トークン生成部134は、ユーザの口座が第1の条件を満たさないと第1判定部133が判定した場合に、ユーザ端末2に表示されるユーザに対応するコードに関する決済用トークンを生成せず、ユーザの口座が第1の条件を満たすと第1判定部133が判定した場合に、決済用トークンを生成する。具体的には、トークン生成部134は、ユーザの口座の残高が所定金額未満と第1判定部133が判定した場合に、ユーザ端末2にユーザに対応する決済用コードを表示させず、所定金額以上と判定された場合に、ユーザ端末2にユーザに対応する決済用コードを表示させる。また、トークン生成部134及び送信部135は、通知部として機能し、ユーザの口座の残高が所定金額未満と第1判定部133が判定した場合に、残高が不足していることをユーザに通知する。
When the
より具体的には、まず、トークン生成部134は、ユーザの口座の残高が所定金額以上と判定された場合に、決済用コードを生成するための決済用トークンを生成する。そして、トークン生成部134は、生成した決済用トークンと、ユーザIDとを関連付けて記憶部12に記憶させる。送信部135は、トークン生成部134が決済用トークンを生成すると、当該決済用トークンを、決済用コードの発行要求を送信したユーザ端末2に送信し、ユーザ端末2に決済用コードを表示させる。
More specifically, first, the
また、トークン生成部134は、ユーザの口座の残高が所定金額未満と判定された場合に、残高が不足していることを示す残高不足情報を生成する。残高不足情報には、現在の口座の残高と、残高が不足していることにより決済用コードを表示しないことを示すメッセージとが含まれている。
Further, the
送信部135は、トークン生成部134が残高不足情報を生成すると、当該残高不足情報を決済用コードの発行要求を送信したユーザ端末2に送信することにより、ユーザ端末2に決済用コードを表示させずに、残高不足情報を表示させる。このようにすることで、ユーザは、残高が不足していることにより決済用コードが表示されないことを認識し、現金等の他の決済手段により決済を行ったり、口座に入金したりする等の対応をとることができる。
When the
なお、トークン生成部134及び送信部135は、ユーザの口座の残高が所定金額未満と第1判定部133が判定した場合に、残高が不足していることをユーザに通知したが、これに限らない。トークン生成部134及び送信部135は、ユーザの口座の残高が所定金額未満と第1判定部133が判定した場合に、口座への入金を促す情報をユーザに通知してもよい。この場合、トークン生成部134は、残高不足情報に口座への入金を促す情報を含め、送信部135は、当該残高不足情報をユーザ端末2に送信する。
The
また、トークン生成部134及び送信部135は、ユーザの口座の残高が所定金額未満と第1判定部133が判定した場合に、ユーザ端末2にユーザに対応する決済用コードを表示させないようにしたが、これに限らない。トークン生成部134及び送信部135は、ユーザが、口座の残高が所定金額よりも低い設定金額となった場合に当該口座に自動的に入金を行うように設定がされているときには、ユーザ端末2にユーザに対応する決済用コードを表示させるようにしてもよい。
Further, the
例えば、ユーザが、所定金額を2000円に設定しているとともに、口座の残高が1000円未満となった場合に自動的に入金を行うオートチャージの設定を行っている場合、トークン生成部134は、口座の残高が所定金額よりも低い場合であっても、決済用トークンを生成する。そして、送信部135は、トークン生成部134が決済用トークンを生成すると、当該決済用トークンをユーザ端末2に送信して、決済用コードを表示させる。このようにすることで、決済処理装置1は、ユーザがオートチャージを設定している場合に、オートチャージにより残高の不足が解消される可能性が高いにもかかわらず、決済用コードが表示されずコード決済ができなくなることを防止することができる。
For example, if the user has set the predetermined amount to 2000 yen and has set the auto charge to automatically deposit when the balance of the account is less than 1000 yen, the
決済要求取得部136は、決済用トークンに基づいてユーザ端末2が表示した決済用コードを読み取った店舗端末3から、店舗IDと、ユーザが支払う支払金額を含む決済情報と、決済用コードが示す決済用トークンとを含む決済要求であって、第1の決済手段としてのコード決済に対応する決済要求を取得する。
The payment
第2判定部137は、決済要求に含まれる決済用トークンに関連付けられて記憶部12に記憶されている、コード決済に対応するユーザの口座の残高が支払金額よりも少ないか否かを判定する。具体的には、第2判定部137は、決済要求取得部136が取得した決済要求に含まれる店舗IDが、コード決済の加盟店の店舗IDとして登録されているか否かを判定する。例えば、記憶部12には、コード決済の利用な可能な店舗、すなわち、コード決済の加盟店の店舗IDが記憶されている。第2判定部137は、記憶部12を参照し、決済要求に含まれる店舗IDがコード決済の加盟店の店舗IDとして登録されているか否かを判定する。第2判定部137は、加盟店の店舗IDとして登録されていると判定した場合に、決済要求に含まれる決済用トークンに関連付けられて記憶部12に記憶されている、コード決済に対応するユーザの口座の残高を特定する。そして、第2判定部137は、ユーザの口座の残高が支払金額よりも少ない場合に、ユーザに関連付けられた第2の決済手段が第2の条件を満たすか否かを判定する。
The
第2の条件は、例えば、支払金額とユーザの口座の残高との差額を第2の決済手段により決済可能であることである。すなわち、第2判定部137は、コード決済に関連付けられているユーザの口座の残高が支払金額よりも少ない場合に、第2の決済手段の利用可否を判定する判定装置に、決済枠の割当要求(オーソリの要求)を行う。判定装置は、決済枠の割当要求を受け付けると、第2の決済手段の有効性や利用限度額に到達しないか等の判定を行い、決済枠の割当が可能と判定すると、決済枠の割当要求の承認(オーソリの承認)を示す承認情報を決済処理装置1に送信する。第2判定部137は、判定装置から承認情報を取得したか否かを判定することにより、ユーザに関連付けられた第2の決済手段により、支払金額とユーザの口座の残高との差額を決済可能であるか否かを判定する。
The second condition is that, for example, the difference between the payment amount and the balance of the user's account can be settled by the second payment means. That is, the
なお、第2の条件は、支払金額とユーザの口座の残高との差額を第2の決済手段により決済可能であることとしたが、これに限らない。第2の条件は、ユーザに第2の決済手段が関連付けられていることであってもよい。 The second condition is that the difference between the payment amount and the balance of the user's account can be settled by the second payment means, but the present invention is not limited to this. The second condition may be that the user is associated with a second payment instrument.
決済部138は、決済要求に基づいて支払金額の決済を行う。具体的には、決済部138は、ユーザの口座の残高が支払金額以上である場合に、コード決済に対応するユーザの口座の残高から、決済要求に含まれる決済情報が示す支払金額を減算して決済を行う。
The
また、決済部138は、ユーザの口座の残高が支払金額よりも少ない場合に、第2の決済手段が第2の条件を満たすと第2判定部137が判定すると、コード決済におけるユーザの口座の残高が不足することを許容して、コード決済により支払金額の決済を行う。
Further, when the
具体的には、決済部138は、第2判定部137が判定装置から決済枠の割当要求の承認(オーソリの承認)を示す承認情報を取得すると、決済要求取得部136が取得した決済要求に含まれる決済用トークンに関連付けられて記憶部12に記憶されているユーザIDのユーザの口座の残高から、決済要求に含まれる決済情報が示す支払金額を減算する。口座の残高は、支払金額よりも少ないことから、支払金額の減算後の口座の残高は0円よりも少なくなる。また、決済部138は、決済処理装置1が、当該判定装置から、決済枠の割当要求の承認を取得したことに応じて支払金額の減算を行うので、コード決済を運営する事業者は、割当が行われた決済枠を担保として、ユーザの口座の残高が不足することを許容することができる。
Specifically, when the
その後、決済部138は、決済要求に含まれている店舗IDで特定される店舗の口座に支払金額を入金する処理を実行する。ここで、決済部138は、支払金額から、決済処理装置1における決済手数料を差し引いた金額を、店舗の口座に入金してもよい。
After that, the
通知部139は、決済金額の決済が完了した場合、決済が完了したことを示す決済完了情報を店舗端末3に通知する。また、通知部139は、決済金額の決済が完了した場合、支払いが完了したことを示す支払完了情報をユーザ端末2に通知する。
When the settlement of the settlement amount is completed, the
通知部139は、コード決済に対応するユーザの口座の残高が不足している場合、決済部138により支払金額の決済が行われた後に、コード決済に対応するユーザの口座の残高が不足していることを示す情報を含む支払完了情報をユーザに通知する。例えば、通知部139は、決済用トークンの送信元のユーザ端末2に、コード決済に対応するユーザの口座の残高が不足していることを示す情報を含む支払完了情報を送信することにより、当該情報をユーザに通知する。
When the balance of the user's account corresponding to the code payment is insufficient, the
通知部139は、コード決済に関連付けられているユーザの口座の残高が支払金額よりも少ない場合に、ユーザに関連付けられた第2の決済手段により、支払金額とユーザの口座の残高との差額を決済可能と判定されると、第1の決済手段に対応する支払手段として第2の決済手段を設定することを促す情報をユーザに通知してもよい。このようにすることで、ユーザは、第1の決済手段に対応する支払手段を決済可能な決済手段の支払手段に切り替えて、決済を滞りなく進めることができる。
When the balance of the user's account associated with the code payment is less than the payment amount, the
通知部139は、コード決済に対応するユーザの口座の残高が不足していることを示す情報として、例えば、支払金額の決済が行われる前の残高と、支払金額との差額、すなわち、支払金額の支払いを行う場合における不足額をユーザに通知する。また、通知部139は、コード決済に対応するユーザの口座の残高が不足していることを示す情報とともに、コード決済に関連付けられているユーザの口座への入金を促す情報をユーザに通知する。このようにすることで、ユーザは、ユーザの口座の残高が不足していること及び不足額を認識し、口座への入金を行うことができる。
The
なお、決済部138は、第2の決済手段に、支払金額を減算する前の残高と支払金額との差額に対応する決済枠の割当を要求した後に、コード決済に関連付けられているユーザの口座に、当該残高と支払金額との差額以上の金額が入金されると、第2の決済手段に、決済枠の割当の取消を要求する。ここで、金額の入金は、商品購入時の支払い対価として利用可能なポイントから換算された金額の入金であってもよい。
The
また、決済部138は、第2の決済手段に、支払金額を減算する前の残高と支払金額との差額に対応する決済枠の割当を要求した後に、コード決済に関連付けられているユーザの口座の残高が所定期間にわたって不足した場合、第2の決済手段に、決済枠に対応する金額を請求する。この場合、決済部138は、第2の決済手段が支払手段とされたユーザが利用するサービスの利用額の請求と合わせて、決済枠に対応する金額をユーザに請求するとともに、口座の残高を0円とすることにより、口座の残高の不足分を解消させる。
Further, the
ここで、通知部139は、当該サービスの利用額の請求と合わせて、決済枠に対応する金額がユーザに請求されたことを、ユーザに通知するようにしてもよい。また、通知部139は、決済枠に対応する金額がユーザに請求されたことに伴い、口座残高の不足状態が解消されたことをユーザに通知するようにしてもよい。
Here, the
図5は、コード決済におけるユーザの口座の残高が不足しているときの口座残高、支払金額、第2の決済手段の決済枠、口座への入金額、第2の決済手段の請求額の関係を示す図である。図5(a)は、コード決済におけるユーザの口座の残高が不足してから所定期間内に口座への入金が行われた例を示し、図5(b)は、コード決済におけるユーザの口座の残高が不足してから所定期間内に口座への入金が行われなかった例を示している。なお、図5に示される金額の単位は円であるものとする。 FIG. 5 shows the relationship between the account balance, the payment amount, the payment limit of the second payment method, the deposit amount to the account, and the billing amount of the second payment method when the balance of the user's account in the code payment is insufficient. It is a figure which shows. FIG. 5 (a) shows an example in which the balance of the user's account in the code payment is insufficient and the payment is made to the account within a predetermined period, and FIG. 5 (b) shows the example of the user's account in the code payment. It shows an example in which payment to the account was not made within a predetermined period after the balance was insufficient. The unit of the amount shown in FIG. 5 is assumed to be yen.
例えば、図5(a)、(b)に示すように、ユーザが商品を購入する前のコード決済におけるユーザの口座の残高が300円であったものとし、商品の購入時の支払金額が700円であったものとする。この場合、決済部138は、コード決済におけるユーザの口座の残高が不足することを許容して、コード決済により支払金額の決済を行うとともに、第2の決済手段に、支払金額を減算する前の残高と支払金額との差額に対応する金額の決済枠の割当を要求する。これにより、口座の残高が-400円になるとともに、決済枠として、400円が割り当てられる。
For example, as shown in FIGS. 5A and 5B, it is assumed that the balance of the user's account in the code payment before the user purchases the product is 300 yen, and the payment amount at the time of purchasing the product is 700. It is assumed that it was a circle. In this case, the
その後、図5(a)に示すように、所定期間内にコード決済におけるユーザの口座に1000円の入金があると、口座の残高は600円となり、不足状態が解消されるとともに、決済枠の割当の取消が行われ、割り当てられている決済枠の金額は0円となる。 After that, as shown in FIG. 5A, if the user's account for code payment has a deposit of 1000 yen within a predetermined period, the balance of the account becomes 600 yen, the shortage state is resolved, and the payment limit is set. The allocation will be canceled and the amount of the allocated settlement limit will be 0 yen.
他方、図5(b)に示すように、所定期間内にコード決済におけるユーザの口座に入金がなかった場合、口座の残高における不足額分(400円)が第2の決済手段に請求される。また、第2の決済手段に請求されたことに応じて、口座の残高は、0円に変更される。 On the other hand, as shown in FIG. 5 (b), if there is no deposit in the user's account in the code payment within a predetermined period, the shortage amount (400 yen) in the balance of the account is charged to the second payment means. .. In addition, the balance of the account is changed to 0 yen in response to the request to the second payment means.
[決済処理装置1における処理の流れ]
続いて、決済処理装置1における処理の流れについて説明する。まず、決済処理装置1が決済を行うまでの処理の流れについて説明する。図6は、決済処理装置1が決済を行うまでの処理の流れを示すフローチャートである。
[Processing flow in payment processing device 1]
Subsequently, the flow of processing in the payment processing device 1 will be described. First, the flow of processing until the payment processing device 1 makes a payment will be described. FIG. 6 is a flowchart showing a processing flow until the payment processing device 1 makes a payment.
まず、発行要求取得部132は、ユーザ端末2から、決済用コードの発行要求を取得する(S1)。発行要求には、ユーザ端末2のユーザのユーザIDが含まれている。
続いて、第1判定部133は、発行要求取得部132が取得した発行要求に含まれているユーザIDに対応するユーザのコード決済に関連付けられている口座の残高が、設定部131が設定した所定金額以上か否かを判定する(S2)。第1判定部133は、口座の残高が所定金額以上と判定すると、S3に処理を移し、口座の残高が所定金額未満と判定すると、S6に処理を移す。
First, the issuance
Subsequently, in the
S3において、トークン生成部134は、決済用トークンを生成する。そして、トークン生成部134は、生成した決済用トークンと、発行要求に含まれているユーザIDとを関連付けて記憶部12に記憶させる(S4)。
送信部135は、決済用コードの発行要求を送信したユーザ端末2に決済用トークンを送信する(S5)。これにより、ユーザ端末2において決済用コードが表示される。
In S3, the
The
S6において、トークン生成部134は、ユーザの口座の残高が不足していることを示す残高不足情報を生成する。
送信部135は、決済用コードの発行要求を送信したユーザ端末2に残高不足情報を送信する(S7)。
In S6, the
The
S5において決済用トークンが送信された後、決済要求取得部136は、決済情報と、店舗IDと、決済用トークンとを含む決済要求を店舗端末3から取得したか否かを判定する(S8)。決済要求取得部136は、決済要求を取得したと判定すると、S9に処理を移し、決済要求を取得していないと判定すると、S8を再実行する。
After the payment token is transmitted in S5, the payment
S9において、第2判定部137は、決済要求に含まれている決済用トークンに関連付けられているユーザIDのユーザのコード決済における口座の残高が支払金額以上か否かを判定する。第2判定部137は、口座の残高が支払金額以上と判定すると、S11に処理を移し、口座の残高が支払金額未満と判定すると、S10に処理を移す。
In S9, the
S10において、第2判定部137は、第2の決済手段の利用可否を判定する判定装置に、支払金額とユーザの口座の残高との差額に対応する決済枠の割当を要求することにより、ユーザに関連付けられた第2の決済手段により当該差額を決済可能であるか否かを判定する。第2判定部137は、第2の決済手段により差額を決済可能であると判定すると、S11に処理を移し、第2の決済手段により差額を決済可能ではないと判定すると、S14に処理を移す。
In S10, the
S11において、決済部138は、コード決済により支払金額の決済を行う。ここで、決済部138は、S9において、コード決済に関連付けられている口座の残高が支払金額よりも少ないと判定された場合には、コード決済におけるユーザの口座の残高が不足することを許容して、口座の残高から支払金額を減算する。
続いて、決済部138は、決済要求に含まれている店舗IDで特定される店舗の口座に支払金額を入金する処理を実行する(S12)。
In S11, the
Subsequently, the
続いて、通知部139は、支払いが完了したことを示す支払完了情報をユーザ端末2に通知する(S13)。ここで、通知部139は、コード決済に対応するユーザの口座の残高が不足している場合には、当該口座の残高が不足していることを示す情報を含む支払完了情報をユーザ端末2に通知する。
Subsequently, the
一方、S10において、第2の決済手段により差額を決済可能ではないと判定された場合、通知部139は、コード決済により支払金額の決済が行えない旨を示すエラー情報をユーザ端末2に通知する(S14)。
On the other hand, when it is determined in S10 that the difference cannot be settled by the second payment means, the
続いて、決済処理装置1における、コード決済に関連付けられている口座の残高が不足状態となっている場合の処理の流れについて説明する。図7は、決済処理装置1における、コード決済に関連付けられている口座の残高が不足状態となっている場合の処理の流れを示すフローチャートである。なお、本フローチャートは、所定時間(例えば1日)おきに実行されるものとする。 Next, the flow of processing in the payment processing device 1 when the balance of the account associated with the code payment is insufficient will be described. FIG. 7 is a flowchart showing a processing flow in the payment processing device 1 when the balance of the account associated with the code payment is in a shortage state. In addition, this flowchart shall be executed every predetermined time (for example, one day).
決済部138は、残高が不足状態となっている口座にチャージが行われることにより、当該口座の残高の不足状態が解消したか否かを判定する(S21)。決済部138は、不足状態が解消したと判定すると、S22に処理を移し、不足状態が解消されていないと判定すると、S23に処理を移す。
The
S22において、決済部138は、図6のS10において割当が行われた決済枠について、割当の取消を第2の決済手段に要求する。
S23において、決済部138は、コード決済に関連付けられている口座の残高が所定期間にわたって不足しているか否かを判定する。決済部138は、口座の残高が所定期間にわたって不足していると判定すると、S24に処理を移し、口座の残高が所定期間にわたって不足していないと判定すると、本フローチャートに係る処理を終了する。
In S22, the
In S23, the
S24において、決済部138は、第2の決済手段に、図6のS10において割当が行われた決済枠に対応する金額を請求する。
続いて、決済部138は、口座の残高の不足分を解消させる(S25)。
In S24, the
Subsequently, the
[変形例1]
以上の説明においては、ユーザ端末2が決済用コードを表示し、店舗端末3がユーザ端末2に表示された決済用コードを読み取り、決済要求を決済処理装置1に送信したが、これに限らない。例えば、店舗端末3が決済用コードを表示し、ユーザ端末2が決済用コードを読み取り、決済要求を決済処理装置1に送信してもよい。
[Modification 1]
In the above description, the user terminal 2 displays the payment code, the
図8は、ユーザ端末2が決済要求を決済処理装置1に送信する場合の処理の流れを説明する図である。まず、店舗における店員は、ユーザが店舗において会計を行う場合に、店舗端末3においてユーザが購入する商品に付されたバーコードを読み取り、ユーザの支払金額を示す決済情報を店舗端末3に生成させる。また、店員は、店舗端末3において、決済用コードを店舗端末3に表示させるための操作を行う。店舗端末3は、決済用コードの取得要求と、決済情報と、店舗IDとを決済処理装置1に送信する(図8における(1))。
FIG. 8 is a diagram illustrating a processing flow when the user terminal 2 transmits a payment request to the payment processing device 1. First, the clerk at the store reads the barcode attached to the product purchased by the user on the
決済処理装置1は、店舗端末3から、決済用コードの取得要求と、決済情報と、店舗IDとを受信すると、決済用トークンを生成する。決済処理装置1は、生成した決済用トークンと、店舗IDとを関連付けて記憶媒体に記憶する。決済処理装置1は、生成した決済用トークンを店舗端末3に送信する(図8における(2))。
When the payment processing device 1 receives the payment code acquisition request, the payment information, and the store ID from the
店舗端末3は、受信した決済用トークンに基づいて決済用コードを生成して表示させる(図8における(3))。
ユーザ端末2は、例えばユーザの操作により、店舗端末3に表示された決済用コードを読み取る(図8における(4))。ユーザ端末2は、ユーザIDと、読み取った決済用コードが示す決済用トークンとを含む決済要求を決済処理装置1に送信する(図8における(5))。
The
The user terminal 2 reads the payment code displayed on the
決済処理装置1は、ユーザ端末2から決済要求を取得すると、コード決済に関連付けられているユーザの口座の残高が、所定金額以上であるかを判定する(図8における(6))。決済処理装置1は、ユーザの口座の残高が、所定金額未満である場合には、上述したように、残高不足情報を生成してユーザ端末2に通知する。ここで、決済処理装置1は、口座への入金を促す情報をユーザに通知してもよい。このようにすることで、決済処理装置1は、口座の残高が所定金額未満である場合にコード決済が行われ、口座の残高の不足額が増加することを防止することができる。 When the payment processing device 1 acquires a payment request from the user terminal 2, it determines whether the balance of the user's account associated with the code payment is equal to or greater than a predetermined amount ((6) in FIG. 8). When the balance of the user's account is less than the predetermined amount, the payment processing device 1 generates balance shortage information and notifies the user terminal 2 as described above. Here, the payment processing device 1 may notify the user of information prompting the payment to the account. By doing so, the payment processing device 1 can prevent the code payment from being performed when the balance of the account is less than the predetermined amount and the shortage of the balance of the account from increasing.
決済処理装置1は、口座の残高が、所定金額以上であると判定した場合、コード決済に関連付けられているユーザの口座の残高が、支払金額以上であるかを判定する(図8における(7))。 When the payment processing device 1 determines that the balance of the account is equal to or greater than the predetermined amount, it determines whether the balance of the user's account associated with the code payment is equal to or greater than the payment amount ((7 in FIG. 8). )).
決済処理装置1は、コード決済に関連付けられているユーザの口座の残高が支払金額以上である場合には、支払金額の決済を行い、口座の残高が支払金額未満の場合には、ユーザに関連付けられた第2の決済手段が第2の条件を満たすかを判定する(図8における(8))。 The payment processing device 1 setstles the payment amount when the balance of the user's account associated with the code payment is equal to or greater than the payment amount, and associates it with the user when the balance of the account is less than the payment amount. It is determined whether or not the second payment means is satisfied with the second condition ((8) in FIG. 8).
決済処理装置1は、第2の決済手段が第2の条件を満たすと判定すると、コード決済におけるユーザの口座の残高が不足することを許容して、コード決済により支払金額の決済を行う(図8の(9))。 When the payment processing device 1 determines that the second payment means satisfies the second condition, the payment processing device 1 allows the balance of the user's account in the code payment to be insufficient, and setstle the payment amount by the code payment (FIG. 8 (9)).
[変形例2]
また、上述の説明では、第1の決済手段は、コード決済であることとしたが、これに限らない。第1の決済手段は、決済処理装置1等のサーバ側で残高を管理するプリペイド式の決済手段、又は銀行口座から支払金額を引き落とす方式(デビット方式)の決済手段であってもよい。この場合、決済部138は、第1の決済手段に対応する口座の残高が不足することを許容して、第1の決済手段により支払金額の決済を行ってもよい。
[Modification 2]
Further, in the above description, the first payment means is code payment, but the present invention is not limited to this. The first payment method may be a prepaid payment method that manages the balance on the server side such as the payment processing device 1, or a payment method that debits the payment amount from the bank account (debit method). In this case, the
[変形例3]
また、上述の説明では、所定金額が0円であり、決済処理装置1が、ユーザの口座の残高が0円未満であると判定した場合に、決済用トークンを生成せずに、決済用コードが表示できない旨を示すエラーメッセージをユーザ端末2に送信したが、これに限らない。所定金額は、1円以上の金額、例えば、10円であってもよい。10円未満で購入できる商品は、限られていることから、ユーザの口座の残高が10円未満であると判定した場合に、決済用トークンを生成しないようにすることにより、決済時に口座の残高が不足する可能性が高いものとして決済を速やかに中断することができる。
[Modification 3]
Further, in the above description, when the predetermined amount is 0 yen and the payment processing device 1 determines that the balance of the user's account is less than 0 yen, the payment code is not generated and the payment code is not generated. An error message indicating that the message cannot be displayed is sent to the user terminal 2, but the present invention is not limited to this. The predetermined amount may be an amount of 1 yen or more, for example, 10 yen. Since the number of products that can be purchased for less than 10 yen is limited, if it is determined that the balance of the user's account is less than 10 yen, by not generating a payment token, the balance of the account at the time of payment Payment can be interrupted promptly as there is a high possibility that there will be a shortage.
[決済システムSによる効果]
以上説明したように、決済処理装置1は、コード決済に関連して決済用コードの発行要求を行ったユーザを識別するユーザIDをユーザ端末2から取得すると、当該ユーザIDに対応するユーザのコード決済に関連付けられている口座が決済可能な状態を示す所定条件を満たすか否かを判定する。決済処理装置1は、口座の所定条件を満たさないと判定した場合に、ユーザ端末2にユーザに対応する決済用コードに関する決済用トークンを生成せず、所定条件を満たすと判定した場合に決済用トークンを生成する。このようにすることで、決済処理装置1は、決済時に口座の残高が不足する可能性が高い場合に決済を速やかに中断することができる。
[Effect of payment system S]
As described above, when the payment processing device 1 acquires the user ID that identifies the user who has requested the issuance of the payment code in connection with the code payment from the user terminal 2, the code of the user corresponding to the user ID is obtained. It is determined whether or not the account associated with the payment satisfies a predetermined condition indicating the state in which the payment can be made. The payment processing device 1 does not generate a payment token for the payment code corresponding to the user on the user terminal 2 when it is determined that the predetermined condition of the account is not satisfied, and when it is determined that the predetermined condition is satisfied, the payment processing device 1 is used for payment. Generate a token. By doing so, the payment processing device 1 can promptly suspend the payment when there is a high possibility that the balance of the account will be insufficient at the time of payment.
以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されず、その要旨の範囲内で種々の変形及び変更が可能である。例えば、装置の分散・統合の具体的な実施の形態は、以上の実施の形態に限られず、その全部又は一部について、任意の単位で機能的又は物理的に分散・統合して構成することができる。また、複数の実施の形態の任意の組み合わせによって生じる新たな実施の形態も、本発明の実施の形態に含まれる。組み合わせによって生じる新たな実施の形態の効果は、もとの実施の形態の効果を合わせ持つ。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments, and various modifications and changes can be made within the scope of the gist. be. For example, the specific embodiment of the distribution / integration of the device is not limited to the above embodiment, and all or a part thereof may be functionally or physically distributed / integrated in any unit. Can be done. Also included in the embodiments of the present invention are new embodiments resulting from any combination of the plurality of embodiments. The effect of the new embodiment produced by the combination has the effect of the original embodiment together.
1 決済処理装置
2 ユーザ端末
3 店舗端末
11 通信部
12 記憶部
13 制御部
21 操作部
22 通信部
23 表示部
24 記憶部
25 制御部
31 操作部
32 読取部
33 通信部
34 表示部
35 記憶部
36 制御部
131 設定部
132 発行要求取得部
133 第1判定部
134 トークン生成部
135 送信部
136 決済要求取得部
137 第2判定部
138 決済部
139 通知部
251 操作受付部
252 要求送信部
253 コード生成部
361 決済情報生成部
362 トークン取得部
363 決済情報送信部
1 Payment processing device 2
Claims (14)
コードを利用した決済手段に関連して前記コードの発行要求を行ったユーザを識別するユーザ識別情報を前記ユーザの端末から取得するステップと、
取得された前記ユーザ識別情報に対応するユーザの前記決済手段に関連付けられている口座が、決済可能な状態を示す前記口座の残高が所定金額以上であるという所定条件を満たすか否かを、前記ユーザが前記決済手段を用いて支払う支払金額を使用することなく前記口座の残高を前記所定金額と比較することにより判定するステップと、
前記口座が前記所定条件を満たすと判定された場合に、前記ユーザの端末に表示される前記ユーザに対応する前記コードに関するトークンを生成するステップと、
生成された前記トークンを前記端末に送信するステップと、
前記端末に送信された前記トークンに基づいて前記端末が表示した前記コードを読み取った当該端末とは異なる端末から、前記トークンと、前記ユーザが支払う支払金額とを含む決済要求を取得するステップと、
取得された前記決済要求に含まれる前記トークンと前記支払金額とに基づいて決済を行うステップと、
を有する決済処理方法。 Computer runs,
A step of acquiring user identification information that identifies a user who has made a request for issuing the code in relation to a payment method using the code from the terminal of the user, and a step of acquiring the user identification information.
Whether or not the account associated with the payment means of the user corresponding to the acquired user identification information satisfies a predetermined condition that the balance of the account indicating a paymentable state is a predetermined amount or more. A step of determining by comparing the balance of the account with the predetermined amount without using the payment amount paid by the user using the payment means.
When it is determined that the account satisfies the predetermined condition, a step of generating a token related to the code corresponding to the user displayed on the terminal of the user, and a step of generating a token.
The step of transmitting the generated token to the terminal,
A step of acquiring a payment request including the token and the payment amount paid by the user from a terminal different from the terminal that has read the code displayed by the terminal based on the token transmitted to the terminal.
A step of making a payment based on the token included in the acquired payment request and the payment amount, and
Payment processing method with.
前記判定するステップにおいて、前記口座の残高が、前記設定するステップにおいて設定された前記所定金額以上か否かを判定する、
請求項1に記載の決済処理方法。 Further having a step of setting the predetermined amount performed by the computer,
In the determination step, it is determined whether or not the balance of the account is equal to or greater than the predetermined amount set in the setting step.
The payment processing method according to claim 1 .
請求項2に記載の決済処理方法。 In the setting step, information for setting the predetermined amount is acquired from the user, and the predetermined amount is set based on the information.
The payment processing method according to claim 2 .
請求項2に記載の決済処理方法。 In the setting step, information for setting the predetermined amount is acquired from the business operator that provides the payment means, and the predetermined amount is set based on the information.
The payment processing method according to claim 2 .
請求項2から4のいずれか1項に記載の決済処理方法。 In the setting step, the predetermined amount is set up to a predetermined amount.
The payment processing method according to any one of claims 2 to 4 .
請求項1から5のいずれか1項に記載の決済処理方法。 Further, the computer has a step of notifying the user of information regarding the balance when the determination amount is determined to be less than the predetermined amount in the determination step.
The payment processing method according to any one of claims 1 to 5 .
請求項6に記載の決済処理方法。 In the notification step, the user is notified of information prompting the payment to the account.
The payment processing method according to claim 6 .
請求項1から7のいずれか1項に記載の決済処理方法。 The predetermined amount is 0 yen.
The payment processing method according to any one of claims 1 to 7 .
請求項1から7のいずれか1項に記載の決済処理方法。 The predetermined amount is an amount of 1 yen or more.
The payment processing method according to any one of claims 1 to 7 .
請求項9に記載の決済処理方法。 Even if it is determined that the amount is less than the predetermined amount in the step of generating the code, if the balance of the account becomes a set amount lower than the predetermined amount, the money is automatically deposited in the account. When is set to, the terminal of the user is displayed with the code corresponding to the user.
The payment processing method according to claim 9 .
前記ユーザ識別情報と、生成された前記トークンとを関連付けて記憶部に記憶させるステップと、
受信した前記決済要求に含まれているトークンに関連付けられて前記記憶部に記憶されている前記ユーザ識別情報に対応する前記口座の残高が、受信した前記決済要求に含まれている支払金額よりも少ないか否かを判定するステップと、
をさらに有し、
前記決済を行うステップにおいて、前記コンピュータは、前記口座の残高が、受信した前記決済要求に含まれている支払金額よりも多いと判定すると、前記ユーザ識別情報に対応するユーザの前記決済手段を用いて決済を行う、
請求項1から10のいずれか1項に記載の決済処理方法。 The computer runs,
A step of associating the user identification information with the generated token and storing it in a storage unit.
The balance of the account corresponding to the user identification information stored in the storage unit associated with the token included in the received payment request is higher than the payment amount included in the received payment request. Steps to determine if there are few,
Have more
In the payment step, when the computer determines that the balance of the account is larger than the payment amount included in the received payment request, the computer uses the payment means of the user corresponding to the user identification information. To make a payment,
The payment processing method according to any one of claims 1 to 10 .
前記取得部が取得した前記ユーザ識別情報に対応するユーザの前記決済手段に関連付けられている口座が、決済可能な状態を示す前記口座の残高が所定金額以上であるという所定条件を満たすか否かを、前記ユーザが前記決済手段を用いて支払う支払金額を使用することなく前記口座の残高を前記所定金額と比較することにより判定する判定部と、
前記口座が前記所定条件を満たすと前記判定部が判定した場合に、前記ユーザの端末に表示される前記ユーザに対応する前記コードに関するトークンを生成するトークン生成部と、
生成された前記トークンを前記端末に送信する送信部と、
前記端末に送信された前記トークンに基づいて前記端末が表示した前記コードを読み取った当該端末とは異なる端末から、前記トークンと、前記ユーザが支払う支払金額とを含む決済要求を取得する決済要求取得部と、
取得された前記決済要求に含まれる前記トークンと前記支払金額とに基づいて決済を行う決済部と、
を備える決済処理装置。 An acquisition unit that acquires user identification information that identifies a user who has made a request to issue the code in relation to a payment method using the code from the terminal of the user.
Whether or not the account associated with the payment means of the user corresponding to the user identification information acquired by the acquisition unit satisfies a predetermined condition that the balance of the account indicating a paymentable state is a predetermined amount or more . With a determination unit that determines by comparing the balance of the account with the predetermined amount without using the payment amount paid by the user using the payment means.
When the determination unit determines that the account satisfies the predetermined condition, the token generation unit that generates a token related to the code corresponding to the user displayed on the terminal of the user, and a token generation unit.
A transmitter that transmits the generated token to the terminal,
Acquisition of a payment request including the token and the payment amount paid by the user from a terminal different from the terminal that has read the code displayed by the terminal based on the token transmitted to the terminal. Department and
A payment unit that makes a payment based on the token included in the acquired payment request and the payment amount.
Payment processing device.
請求項12に記載の決済処理装置。 The determination unit further includes a notification unit for notifying the user of information regarding the balance when the determination unit determines that the balance of the account is less than the predetermined amount.
The payment processing device according to claim 12 .
請求項12又は13に記載の決済処理装置。 It further includes a setting unit that acquires the information for setting the predetermined amount from the user and sets the predetermined amount based on the information.
The payment processing device according to claim 12 or 13 .
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019214153A JP7022108B2 (en) | 2019-11-27 | 2019-11-27 | Payment processing method and payment processing device |
US17/098,819 US20210158337A1 (en) | 2019-11-27 | 2020-11-16 | Payment processing method and payment processing device |
CN202011286233.4A CN112862473A (en) | 2019-11-27 | 2020-11-17 | Settlement processing method and settlement processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019214153A JP7022108B2 (en) | 2019-11-27 | 2019-11-27 | Payment processing method and payment processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021086353A JP2021086353A (en) | 2021-06-03 |
JP7022108B2 true JP7022108B2 (en) | 2022-02-17 |
Family
ID=76087751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019214153A Active JP7022108B2 (en) | 2019-11-27 | 2019-11-27 | Payment processing method and payment processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7022108B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002008981A1 (en) | 2000-07-25 | 2002-01-31 | Image Media Design Co., Ltd. | Business transacting method |
JP2018116435A (en) | 2017-01-17 | 2018-07-26 | 株式会社エヌ・ティ・ティ・データ | Authentication device, authentication system, authentication method, and program |
JP6585808B1 (en) | 2018-12-21 | 2019-10-02 | LINE Pay株式会社 | Generating method, program, information processing apparatus |
-
2019
- 2019-11-27 JP JP2019214153A patent/JP7022108B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002008981A1 (en) | 2000-07-25 | 2002-01-31 | Image Media Design Co., Ltd. | Business transacting method |
JP2018116435A (en) | 2017-01-17 | 2018-07-26 | 株式会社エヌ・ティ・ティ・データ | Authentication device, authentication system, authentication method, and program |
JP6585808B1 (en) | 2018-12-21 | 2019-10-02 | LINE Pay株式会社 | Generating method, program, information processing apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP2021086353A (en) | 2021-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6567261B2 (en) | Electronic currency management apparatus, electronic currency management method, and electronic currency management system | |
JP6667010B2 (en) | Mobile prepaid card service system, clone card storage device and service method thereof | |
JP6723680B2 (en) | Mobile terminal, information providing method, and program | |
JP6947795B2 (en) | Payment processing method and payment processing device | |
JP2019125018A (en) | Transaction management system and transaction management method | |
JP7077430B2 (en) | Benefit management device and privilege management method | |
JP6031073B2 (en) | Electronic currency management apparatus, electronic currency management method, and electronic currency management system | |
JP6910509B1 (en) | Payment processing method | |
JP6059694B2 (en) | Privilege grant device and privilege grant method | |
JP7022108B2 (en) | Payment processing method and payment processing device | |
JP2019125017A (en) | Transaction management system and transaction management method | |
JP6218707B2 (en) | Electronic currency management system and electronic currency management method | |
JP6324849B2 (en) | Management system and management method | |
JP6793686B2 (en) | Benefit granting device and privilege granting method | |
US20210158337A1 (en) | Payment processing method and payment processing device | |
JP6612286B2 (en) | Point management system and point management method | |
JP7144634B1 (en) | Information processing method | |
JP7123094B2 (en) | Information processing system, method and program | |
JP6924877B1 (en) | Payment processing method | |
JP6924876B1 (en) | Payment processing method | |
JP6059186B2 (en) | Point management apparatus and point management method | |
JP7223184B1 (en) | Information processing device and information processing method | |
JP7113153B1 (en) | Information processing method | |
JP6695388B2 (en) | Electronic currency management system and electronic currency management method | |
JP2019125016A (en) | Transaction management system and transaction management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201016 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20201016 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20201104 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210217 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210420 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210617 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210921 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20211013 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20220118 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220204 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7022108 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |