A computer-implemented method for a virtual code based on a sphere for proceeding with payment characterizing in comprising: a virtual code reception operation of receiving, by a virtual code verifying means, a virtual code from a virtual code generating means, the virtual code comprising a fixed code and a plurality of detailed codes; and a storage location search algorithm selection operation of determining, by the virtual code verifying means, a group, to which the virtual code generating means belongs, through the fixed code and selecting a storage location search algorithm for the group, a detailed code extraction operation of extracting, by the virtual code verifying means, the plurality of detailed codes included in the virtual code, a real code search operation of searching for, by the virtual code verifying means, a storage location of a real code by applying the storage location search algorithm to the extracted plurality of detailed codes, and extracting the real code included in the storage location, by the virtual code verifying means, wherein the virtual code is a code generated to be connected to a real code and the real code comprises a real card number; wherein: the storage location search algorithm is generated for each group and is included in the virtual code verifying means, each storage location search algorithm generated for each group has a cross-sectional shape, and each storage location search algorithm is gathered to form a single three-dimensional figure, and the virtual code verifying means selects the storage location search algorithm by extracting a cross section corresponding to the group to which the virtual code generating means belongs from the three-dimensional figure. a virtual code reception operation of receiving, by a virtual code verifying means, a virtual code from a virtual code generating means, the virtual code comprising a fixed code and a plurality of detailed codes; and a storage location search algorithm selection operation of determining, by the virtual code verifying means, a group, to which the virtual code generating means belongs, through the fixed code and selecting a storage location search algorithm for the group, a detailed code extraction operation of extracting, by the virtual code verifying means, the plurality of detailed codes included in the virtual code, a real code search operation of searching for, by the virtual code verifying means, a storage location of a real code by applying the storage location search algorithm to the extracted plurality of detailed codes, and extracting the real code included in the storage location, by the virtual code verifying means, wherein the virtual code is a code generated to be connected to a real code and the real code comprises a real card number; wherein: the storage location search algorithm is generated for each group and is included in the virtual code verifying means, each storage location search algorithm generated for each group has a cross-sectional shape, and each storage location search algorithm is gathered to form a single three-dimensional figure, and the virtual code verifying means selects the storage location search algorithm by extracting a cross section corresponding to the group to which the virtual code generating means belongs from the three-dimensional figure. the storage location search algorithm is generated for each group and is included in the virtual code verifying means, each storage location search algorithm generated for each group has a cross-sectional shape, and each storage location search algorithm is gathered to form a single three-dimensional figure, and the virtual code verifying means selects the storage location search algorithm by extracting a cross section corresponding to the group to which the virtual code generating means belongs from the three-dimensional figure. <EOS>