Payment with Flex.API