记录下Ripple solution文档里的支付流程(英文)

QUOTING PROCESS


1. The originator of the payment starts the process by providing information about the payment through an interface in the financial institution's client application (which could be part of an existing online banking system). At a minimum, this information must include the following:
    a. Sender: The originator of the payment.
    b. Receiver: The beneficiary of the payment.
    c. The amount and currency of the payment, and whether this is a "sender" or "receiver" amount:
        • Sender Amount: The specified amount is debited from the sender's account. Ripple Connect calculates the fees and FX cost and debits them from the sender's account. The receiver's account is credited with the remaining amount.
        • Receiver Amount: The receiver's account is credited with the specified amount. The amount is debited from the sender's account in the sender's currency. Ripple Connect calculates the fees and FX cost and adds them to the amount debited from the sender's account. The originating bank uses the information provided by the originator to make a Get Quote request to its own Ripple Connect instance.

2. The originating bank’s Ripple Connect instance makes a Get Quote request to the Ripple Connect instance at the beneficiary bank to get its portion of the payment, which includes its fees (€5 in the example above) and empty fields that indicate any additional information the beneficiary bank requires to process the payment.

3. The Ripple Connect instance at the originating bank gets the FX rate posted by the Liquidity Provider from the FX Connector.

4. The originating bank aggregates the fees for its portion of the payment, which includes its fees($5 in the example above).

5. The originating bank receives a response to its Get Quote request and passes the quote to the initial sender to determine if the terms of the payment (which include the beneficiary and originating banks’ fees and the FX rate) are acceptable. If the terms are acceptable, the originating bank makes an Accept Quote request.
If the configuration of the beneficiary bank's Ripple Connect has requested additional information about the payment, the originating bank provides that information in the Accept Quote request. (Additional payment information is not technically required, but for regulatory reasons institutions often require information similar to fields in pacs.008 or MT 103 messages to process payments.) Ripple Connect generates a payment ID, which is included in the Accept Quote response.
The beneficiary bank reviews the quote and performs compliance checks to ensure that:
    a. The payment terms are acceptable.
    b. The additional payment information requested from the originating bank is present and sufficient to process the payment.

6. If the terms and additional payment information are acceptable, the beneficiary bank makes a Lock Quote request. A locked quote indicates that both parties intend to process the payment and deliver the funds as described in the contract fields of the payment. The contract fields cannot be changed after the quote is locked.

7. The Ripple Connect instance at the originating bank receives a notification that the payment is now locked, and updates the payment state in its own database to reflect the new state.

Both institutions now have an identical payment object in a locked state, with all the information that both institutions need to execute the payment.


PAYMENT PROCESS

After both banks accept the quote, the originating bank can initiate the end-to-end payment, which is comprised of three sub-payments:
• Sending payment: The internal book transfer at the originating bank. The originating bank debits the originator's account and credits its own segregated account. Any fees charged by the originating bank are deducted from the originator's account in this transfer.
• Settlement payment: The transfers executed over the Interledger Protocol. The funds are transferred from the originating bank's transactional account (on its ILP Ledger) to the beneficiary bank's transactional account (on its ILP Ledger). This transfer is triggered automatically when the originating bank makes the Submit Sub-Payment request.
Executing the settlement payment doesn't require any additional action on the part of the originating bank.
• Receiving payment: The internal book transfer at the beneficiary bank. The beneficiary bank debits its own segregated account and credits the beneficiary's account. Any fees charged by the beneficiary bank are deducted from the beneficiary's account in this transfer.
Executing the end-to-end payment involves the following steps:
    1. The originating bank makes an internal book transfer debiting the funds from the sender's account. In the example above, $125 is deducted: $120 for the payment and $5 for the originating bank’s fee.
    
    2. The originating bank makes a Submit Sending Payment request to Ripple Connect to acknowledge that the funds have been debited from the sender's account in the bank's internal systems. The request to Ripple Connect does not affect the bank's internal systems. Typically,integration logic coordinates the transfer in the internal systems with executing the Submit Sending Payment request.
    
    3. The originating bank’s Ripple Connect instance notifies the beneficiary bank’s Ripple Connect instance that the funds have been debited from the sender’s account.
    
    4. The Submit Sending Payment request triggers the settlement payment, which transfers the funds through the Interledger Protocol (ILP) from the originating bank's ILP Ledger to the beneficiary bank's ILP Ledger.
    
    5. The originating bank’s Ripple Connect instance notifies the beneficiary bank’s Ripple Connect instance that the settlement payment has been sent.
    
    6. The beneficiary bank sees that the ILP transfers have been validated by the ILP Validator and makes an internal book transfer to deliver the funds to the beneficiary's account.
    
    7. The beneficiary bank makes a Submit Receiving Payment request to its Ripple Connect instance, which changes the state of the payment to succeeded in its database.
    
    8. The beneficiary bank's instance notifies the originating bank's Ripple Connect instance that the funds have been delivered to the beneficiary’s account.
    
    9. After receiving the notification, the originating bank's Ripple Connect instance changes the state of the payment to succeeded in its database.
    
    10. At this point, both parties consider the payment complete.

The payment is now complete. Alpha Corp. sent 125 USD and 100 EUR was delivered to Beta Corp’s account.
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值