getPayment

public final Payment getPayment(String id)

Fetches the payment details for the provided id.

Return

the Payment object containing the payment details

Parameters

id

the id of the payment request to retrieve the payment details

Throws

if the request fails or is cancelled, with the error message