A resource transfer method, performed by a terminal, the method comprising: receiving, through near field communication by a terminal that is located within an identification range of a resource transfer interaction device, an application identifier, AID, selection request from the resource transfer interaction device; in response to the AID selection request, obtaining a target resource transfer AID, obtaining resource transfer data corresponding to the target resource transfer AID, and generating an AID selection response message to include the target resource transfer AID and the resource transfer data, the resource transfer data being located in a custom field of the AID selection response message; and transmitting the AID selection response message to the resource transfer interaction device, a resource transfer being performed based on the target resource transfer AID and the resource transfer data; wherein the custom field comprises a first custom field and a second custom field, and the generating the AID selection response message comprises: based on a length of the resource transfer data being greater than a preset length, dividing (S206B) the resource transfer data into first segment data and remaining data; adding (S206B) the first segment data to the first custom field; and determining (S206B) a data length corresponding to the remaining data, and adding (S206B) the data length to the second custom field; and based on the length of the resource transfer data being not greater than the preset length, adding (S206C) the resource transfer data to the first custom field; and the method further comprises: after transmitting the AID selection response message to the resource transfer interaction device, in response to that the data length added in the second custom field is not equal to zero, receiving a remaining data reading request from the resource transfer interaction device, and transmitting the remaining data to the resource transfer interaction device. receiving, through near field communication by a terminal that is located within an identification range of a resource transfer interaction device, an application identifier, AID, selection request from the resource transfer interaction device; in response to the AID selection request, obtaining a target resource transfer AID, obtaining resource transfer data corresponding to the target resource transfer AID, and generating an AID selection response message to include the target resource transfer AID and the resource transfer data, the resource transfer data being located in a custom field of the AID selection response message; and transmitting the AID selection response message to the resource transfer interaction device, a resource transfer being performed based on the target resource transfer AID and the resource transfer data; wherein the custom field comprises a first custom field and a second custom field, and the generating the AID selection response message comprises: based on a length of the resource transfer data being greater than a preset length, dividing (S206B) the resource transfer data into first segment data and remaining data; adding (S206B) the first segment data to the first custom field; and determining (S206B) a data length corresponding to the remaining data, and adding (S206B) the data length to the second custom field; and based on the length of the resource transfer data being not greater than the preset length, adding (S206C) the resource transfer data to the first custom field; and the method further comprises: after transmitting the AID selection response message to the resource transfer interaction device, in response to that the data length added in the second custom field is not equal to zero, receiving a remaining data reading request from the resource transfer interaction device, and transmitting the remaining data to the resource transfer interaction device. based on a length of the resource transfer data being greater than a preset length, dividing (S206B) the resource transfer data into first segment data and remaining data; adding (S206B) the first segment data to the first custom field; and determining (S206B) a data length corresponding to the remaining data, and adding (S206B) the data length to the second custom field; and based on the length of the resource transfer data being not greater than the preset length, adding (S206C) the resource transfer data to the first custom field; and the method further comprises: after transmitting the AID selection response message to the resource transfer interaction device, in response to that the data length added in the second custom field is not equal to zero, receiving a remaining data reading request from the resource transfer interaction device, and transmitting the remaining data to the resource transfer interaction device.