(HyperApiClient) The client to use for the request
(string) The id of the payment to fetch
HyperApiResponse
HyperApiResponse
(HyperApiClient) The client to use for the request
(string) The id of the payment to refund
HyperApiResponse
Generated using TypeDoc
Retrieves a payment, given its id. Called asynchronously with
await
. All data is provided as-is from the server, with the addition of anok
boolean for error handling.https://docs.hyper.co/reference/retrieve-payment