The type of a Payment, based primarily on implementing type.
Only use this field if you have processed detached credits. The payment is a Refund, and represents a refund of a transaction not processed through your Braintree account.
The payment is a Refund, and represents a refund of a transaction present in this Braintree account. Unless you have processed any detached credits, this type encompasses all refunds.
enum PaymentSearchType {
DETACHED_REFUND
REFUND
TRANSACTION
}