Display the payment vehicle (cash, check,...) of a contribution in a receipt
I think you can use Smarty to retrieve the payment instrument in your template. You can play with API explorer to return this value -



Copy the contents in smarty section and add it to your template. Eg -

{crmAPI var='result' entity='Contribution' action='get' id=&lt;contribution_id_variable&gt;}
{foreach from=$result.values item=contribution}
  {$contribution.payment_instrument}
{/foreach}


In the above statement $contribution.payment_instrument should hold a value of the payment vehicle.