When trying to create a payment it doesn't register it because of Error "Error Field 'ref' doesn't have a default value"  