- confirmPeerPushCredit#
Accept an incoming peer push payment, after reviewing it with preparePeerPushCredit.
Request:
The request body must be a ConfirmPeerPushCreditRequest object.
Response:
On success, the result is an AcceptPeerPushPaymentResponse object. Confirmation is idempotent: confirming a transaction that already left the review state returns the same
transactionId.Side effects:
Confirms an incoming peer push payment; the wallet withdraws the funds from the purse over the network.
Expected errors:
The caller can handle the following errors inline:
WALLET_KYC_LIMIT_EXCEEDED,WALLET_EXCHANGE_TOS_NOT_ACCEPTED,WALLET_TRANSACTION_NOT_FOUND,WALLET_EXCHANGE_KEYS_NOT_ACCEPTED.
interface ConfirmPeerPushCreditRequest {
transactionId: string;
progressToken?: string;
}
interface AcceptPeerPushPaymentResponse {
transactionId: TransactionIdStr;
}