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, with error codes, status code, message, and request ID