How to store additional details with order in payments app

How can we store the additional details with the order in the Shopify app as Shopify only allows

write_payment_gateways, write_payment_sessions

scopes with payment apps? Is there any concept of custom fields?