[payment-factory] add apis before actions.
Merge pull request #41 from Payum/add-apis-before-actions

Add apis before actions