I'm not sure if this will be helpful, but I thought I'd share it just in case it may apply.

Here are 2 examples of how gateways are capturing a few things in the authorization:
https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/cyber_source.rb#L599
https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/hdfc.rb#L189

and then later parsing them apart when they're needed:

https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/cyber_source.rb#L254-L255
https://github.com/Shopify/active_merchant/blob/master/lib/active_merchant/billing/gateways/hdfc.rb#L192-L195