Contents

confirmPeerPullDebit#

Accept an incoming peer pull payment (i.e. pay the other party), after reviewing the request with preparePeerPullDebit.

Request:

The request body must be a ConfirmPeerPullDebitRequest object.

Response:

On success, the result is an AcceptPeerPullPaymentResponse object. Confirmation is idempotent: confirming a transaction that already left the review state returns the same transactionId.

Side effects:

Pays the requested peer pull payment to the other wallet over the network.

Expected errors:

The caller can handle the following errors inline: WALLET_PEER_PULL_PAYMENT_INSUFFICIENT_BALANCE, WALLET_TRANSACTION_NOT_FOUND.

interface ConfirmPeerPullDebitRequest {
  transactionId: TransactionIdStr;
}
interface AcceptPeerPullPaymentResponse {
  transactionId: TransactionIdStr;
}