I'm not absolutely sure about the last parameter. Are there other attributes whose type will be 'payment/paypal/txn' afterwards and which shouldn't have this type?