resolvePaymentRequest

public final ResolvedPayment resolvePaymentRequest(String requestId, ResolvePaymentInput resolvePaymentInput)

Marks the a PaymentRequest as paid.

Important: The amount string in the ResolvePaymentInput must be convertible to a Double. For ex. "12.39" is valid, but "12.39 €" or "12,39" are not valid.

Return

ResolvedPayment containing the payment details and the Uri used for returning to the Business app.

Parameters

requestId

id of PaymentRequest to be resolved.

resolvePaymentInput

the details used for the actual payment.

Throws

This method makes a network call which may fail, the resulting throwable is not caught and a type is not guaranteed.

If the amount string could not be parsed