The id to look a payment up by: providerPaymentId when given, else reference. Throws INVALID_REQUEST when neither is set, so adapters never need a non-null assertion.
providerPaymentId
reference
INVALID_REQUEST
The id to look a payment up by:
providerPaymentIdwhen given, elsereference. ThrowsINVALID_REQUESTwhen neither is set, so adapters never need a non-null assertion.