crypto payment backend mechanics